Question : System.Exception: Cannot create ActiveX component. - Excel.Application

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

Answer : System.Exception: Cannot create ActiveX component. - Excel.Application

Go thro' this link

http://groups.google.co.in/group/microsoft.public.dotnet.framework.aspnet/browse_thread/thread/2eb74e342ecaac98/4bda8bc0573869e6?lnk=st&q=&rnum=1#4bda8bc0573869e6

Thanks,
Nanda
Random Solutions  
 
programming4us programming4us