Error I'm receiving: Cannot create ActiveX component. 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.Exception: Cannot create ActiveX component.
Source Error:
Line 34: Dim oBooks As Excel.Workbooks Line 35: Line 36: oExcel = CreateObject("Excel.Application") <--- Errors out here!! Line 37: oBooks = oExcel.Workbooks Line 38: oBook = oBooks.Open("C:\Test\ReportMaker.xls")
Operating System: Windows 2003 Using IIS 6, Office 2003 is installed on the server. Also, I have added the appropriate references to the visual studio project (excel 11 version 1.5). Unfortunately googling this error hasn't really helped me at all, does anyone have any ideas?
Thanks, Josh
|