Z
zino
I'm automating Excel from asp.net application on window2000.
the application work fine on the developpement machine but not on the
production server.
when the runtime hit the second line of code:
Dim xl As New Excel.Application
Dim wb As Excel.Workbook = xl.Workbooks.Open("file.xls")
it throw this error:
"System.InvalidCastException: QueryInterface for interface
Excel._Application failed"
thanks for help
the application work fine on the developpement machine but not on the
production server.
when the runtime hit the second line of code:
Dim xl As New Excel.Application
Dim wb As Excel.Workbook = xl.Workbooks.Open("file.xls")
it throw this error:
"System.InvalidCastException: QueryInterface for interface
Excel._Application failed"
thanks for help