We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Using Aspose.Cells to work on Windows 2008 Server in .NET

Back in May, 2005, my company purchased Aspose Excel for the sole purpose of reading Excel spreadsheets for VB.NET data conversion programming. It is version 2.9.7. These program using Aspose Excel have been running find on a server running Windows 2003. We now have to move them to a server running Windows 2008.

When running them under Windows 2008, one of the programs gave me this error:

Unhandled Exception: System.Runtime.InteropServices.COMException (0x80030057): Invalid parameter error. (Exception from HRESULT: 0x80030057 (STG_E_INVALIDPARAMETER))
at Aspose.Excel.ab.a(MemoryStream A_0)
at Aspose.Excel.ab.a(String A_0)
at Aspose.Excel.Excel.Open(String fileName)
at DACtoIMS.Module1.Main(String[] CmdArgs)

Is this an issue that will require me to upgrade Aspose Excel to correct? If so, is there an old version of Aspose Excel (but newer than our 2.9.7 version) that would correct this error, so I would not have to upgrade to the current version, which is more than we need and can afford?

Any help with this issue will be appreciated.


Thanks for sharing some details.

Well, since you are using some older version of Aspose.Excel v2.9.x which I think might have compatibility issue with .NET framework versions >= e.g 3.5 or 4.x etc and 64-bit machines, But if you find .NET framework 2.0 compiled version of the component (Aspose.Excel) at your installation directory (in e.g net2.0 folder or so), you may try that version in your newer server/environments and to fix your mentioned error. If you do not have .NET framework 2.0 compiled version of the component, I am afraid, you cannot use your older Aspose.Excel on newer .NET framework versions and 64-bit machines. We are very sorry but we cannot help you much here.

We highly recommend you to kindly try and upgrade to our latest version/fix (e.g v8.6.1 (latest version)). FYI, Aspose.Excel had been discontinued some years ago and was merged or renamed to become Aspose.Cells . In latest versions of Aspose.Cells, we provide separate Dlls for different .NET framework versions (you may use even net2.0 version to use it on any .NET framework versions >=2 (i.e., 2.0, 3.x. 4.x etc.), both 32-bit and 64-bits machines work well with it. Over the years, we have made lots of enhancements, included new features and included lots of fixes in the newer versions of the product. The latest versions of the product do support to read, write, manipulate, render or print Advanced MS Excel (2007/2010, 2013) file formats (e.g XLSX, XLSM, XLSB etc.). Moreover, we cannot evaluate or incorporate fixes to older versions, the fixes are only included into the latest versions based on latest APIs set. So, if you find any issue in latest version of the product, we are bound and try to fix it for the users. And, if you find any issue in your code segments, while upgrading to latest APIs of the component, we are here to help you.

Please see the Wiki Conf. Docs for your complete reference:

Download and see the demos solutions for your further reference:

Moreover, for all purchasing and licensing matters, please contact our Sales team in Aspose.Purchase forum here:

Thank you.