Hi All,
Actually functionalies is open one xls file and convert into dataset(Asp.net vb.net).
we are used interop services, it''s locally working fyn.
but when i working on server it''s coming below given error.
In the server dont have MS Office 2007(Dont have permisson to install this package due to security issue)
Dim oxll As Application
oxll = New Application() -->Occuring this issue.
Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.
Advance Wishes!!
Ramesh Muthaiah
解决方案If you haven''t got MS Office installed on the server then you can''t use interop to it.
Consider using an alternative tool (that don''t have the same security issues as Office) e.g. spreadsheetgear - http://www.spreadsheetgear.com/[^]
Or depending on what you are trying to do with the spreadsheets you could use OpenXML - see the responses here http://forums.asp.net/t/1688603.aspx/1[^] for some links