Free Support Forum - aspose.com

Excel in string Base64

Hi,

I have the next error in .Net: An exception of type ‘Aspose.Cells.CellsException’ occurred in Aspose.Cells.dll but was not handled in user code

Additional information: The file is corrupted.

This occur after:

byte[] fileAsBytes = System.Text.Encoding.UTF8.GetBytes(fileBase64);
Stream stream = new MemoryStream(fileAsBytes, 0, fileAsBytes.Length);
fileSource.Position = 0;
LoadOptions loadOptions = new LoadOptions(LoadFormat.Xlsx);
Workbook workbook = new Workbook(stream , loadOptions);

I appreciate your help. I need convert excel from base64 to aspose Worbook and then save it in my local device.

thanks.

@alejandrogarciao

Thanks for using Aspose APIs.

Please provide us your runnable sample code console application project which we could run at our end and replicate this issue. We will look into it and help you asap.

1 Like

@alejandrogarciao

Thanks for using Aspose APIs.

You need to use

Convert.FromBase64String()

instead of

System.Text.Encoding.UTF8.GetBytes()

Please see the following sample code that converts base 64 string to workbook successfully. Please also check the output Excel file generated by the code for your reference.

Download Link:
Output Excel File.zip (7.4 KB)

C#

//Base 64 string containing Excel file
string fileBase64 = "UEsDBBQABgAIAAAAIQBvEK+8fAEAAHwFAAATAAgCW0NvbnRlbnRfVHlwZXNdLnhtbCCiBAIooAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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bC90aGVtZS90aGVtZTEueG1sUEsBAi0AFAAGAAgAAAAhAKHZNovCAgAAvQYAAA0AAAAAAAAAAAAAAAAAmhQAAHhsL3N0eWxlcy54bWxQSwECLQAUAAYACAAAACEA1zcMV9IBAABOAwAAGAAAAAAAAAAAAAAAAACHFwAAeGwvd29ya3NoZWV0cy9zaGVldDEueG1sUEsBAi0AFAAGAAgAAAAhAO9A8XngAgAAKAkAABgAAAAAAAAAAAAAAAAAjxkAAHhsL2RyYXdpbmdzL2RyYXdpbmcxLnhtbFBLAQItABQABgAIAAAAIQAkjlWmQQEAAFECAAARAAAAAAAAAAAAAAAAAKUcAABkb2NQcm9wcy9jb3JlLnhtbFBLAQItABQABgAIAAAAIQClGrhFPwAAANwAAAAnAAAAAAAAAAAAAAAAAB0fAAB4bC9wcmludGVyU2V0dGluZ3MvcHJpbnRlclNldHRpbmdzMS5iaW5QSwECLQAUAAYACAAAACEAYUkJEIkBAAARAwAAEAAAAAAAAAAAAAAAAAChHwAAZG9jUHJvcHMvYXBwLnhtbFBLBQYAAAAADQANAGwDAABgIgAAAAA=";

//Convert base 64 string to byte[]
byte[] fileAsBytes = Convert.FromBase64String(fileBase64);

//Convert byte[] into stream
Stream stream = new MemoryStream(fileAsBytes, 0, fileAsBytes.Length);
        
//Specify load options.
LoadOptions loadOptions = new LoadOptions(LoadFormat.Xlsx);

//Create workbook from stream
Workbook workbook = new Workbook(stream, loadOptions);

//Save the workbook
workbook.Save("output.xlsx");