InteropServices.COMException

I have a problem on XlsIO on windows 2000. (my xlsio trial version is 6.202.0.40 )
I got the following exception when trying to generate excel from windows form.

something missing ?
any idea ?



Exception Type: System.Runtime.InteropServices.COMException
ErrorCode: -2147483643
Message: 無效的指標 (Exception from HRESULT: 0x80000005)
Data: System.Collections.ListDictionaryInternal
TargetSite: Int32 Enum(Syncfusion.XlsIO.IO.Stream.Win32.IEnumSTATPROPSTG ByRef)
HelpLink: NULL
Source: Syncfusion.XlsIO.Base

StackTrace Information
---------------------------------------
at Syncfusion.XlsIO.IO.Stream.Win32.IPropertyStorage.Enum(IEnumSTATPROPSTG& ppenum)
at Syncfusion.XlsIO.Implementation.Collections.BuiltInDocumentProperties.ReadProperties(IPropertySetStorage setProp, Guid guid, IDictionary dicProperties, IList lstProperties, Boolean bSummary, Boolean bBuiltIn)
at Syncfusion.XlsIO.Implementation.Collections.BuiltInDocumentProperties.Parse(IPropertySetStorage setProp)
at Syncfusion.XlsIO.Implementation.WorkbookImpl.ReadDocumentProperties(StgStream stream)
at Syncfusion.XlsIO.Implementation.WorkbookImpl.ParseStgStream(StgStream stream, ExcelParseOptions options, String password)
at Syncfusion.XlsIO.Implementation.WorkbookImpl..ctor(IApplication application, Object parent, String strFileName, ExcelParseOptions options, Boolean bReadOnly, String password, ExcelVersion version)
at Syncfusion.XlsIO.Implementation.WorkbookImpl..ctor(IApplication application, Object parent, String strFileName, ExcelParseOptions options, ExcelVersion version)
at Syncfusion.XlsIO.Implementation.WorkbookImpl..ctor(IApplication application, Object parent, String FileName, ExcelVersion version)
at Syncfusion.XlsIO.Implementation.ApplicationImpl.CreateWorkbook(Object parent, String strTemplateFile, ExcelVersion version)
at Syncfusion.XlsIO.Implementation.Collections.WorkbooksCollection.Open(String filename)

1 Reply

GM Geetha M Syncfusion Team November 4, 2009 08:58 AM UTC

Hi Agichen,

Thank you for your interest in Syncfusion products.

I am afraid that I am not able to reproduce the problem. Could you please send us you code snippet so that we could try here and get back to you?

Regards,
Geetha

Loader.
Up arrow icon