we have following problem with Version 220.127.116.11. When we want Open a MemoryStream with Aspose we become the exception with unknown object.
With the version 18.104.22.168 thats done.
I already found some problems in v2.4.1 and fixed it. A new hotfix will be released within one or two days.
Sorry if I’m opening a old issue again. It seems that I have the same problem with v3.0.4
Object reference not set to an instance of an object.Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
in separate assembly I have the following code :
public void Load(byte datastream)
System.IO.MemoryStream memoryFile = new MemoryStream(datastream);
And I have an upload.asp which should load the uploaded file into the Excel object
The followig is just a small piece of the code
fileLength = uploadedFile.ContentLength;
byte dataStream = new byte[fileLength];
// load xls file as datastream
and I checked in debug mode, the datastream isn’t empty. I can save the object called memoryFile to a xls file again. (did that in another test.)
oeps… ignore this one.
I already found the error. Forgot to initialize the Aspose.Excel.Excel object