stapes
unread,Mar 30, 2009, 6:12:17 AM3/30/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
This works OK on my development machine, but when I try to run it on
the live server, I get this error:
System.Runtime.InteropServices.COMException (0x80080005): Retrieving
the COM class factory for component with CLSID {00024500-0000-0000-
C000-000000000046} failed due to the following error: 80080005 at
Web_Reports_KPI.excelKPIS() in c:\inetpub\wwwroot\AGwww\Web_Reports
\KPI.aspx.cs:line 67
Line 67: MyExcel.Application excelApp = new MyExcel.ApplicationClass
();
MyExcel is defined at the top: using MyExcel =
Microsoft.Office.Interop.Excel;
I also have references: Microsoft Excel 12.0 Object Library, Microsoft
Office 10.0 Object Library, Microsoft Office 11.0 Object Libray,
Microsoft Office 12 Object Library, Microsoft.Office.Interop.Word.dll
I have used Component Services / DCOM Config to set permssions for
Microsoft Excel Application. In the Launch and Activation permissions
I have added NETWORK SERVICE and Evereyone. Same for Access Permssions
and Configuration Permissions. Did not make any difference.
Does anyone have any clues?