By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,507 Members | 1,185 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,507 IT Pros & Developers. It's quick & easy.

Exception: System.Runtime.InteropServices.COMException

P: 2
Hello!,

I got following exception when using COM component for EXCEL object in ASP .Net.

I have added reference of "Microsoft.Office.Interop.Excel.dll"

I deployed an application on local server

When i create an instance of Application class, i am getting following detailed error:

Exception: System.Runtime.InteropServices.COMException
Message: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154.
Source: ConversionLabWeb
at ConversionLabWeb.Offers.HBO.RegistrationsPerOffer. DownloadRegistrationsAndGenerateExcel() in C:\Projects\ConversionLab\ConversionLabWeb\Offers\ HBO\RegistrationsPerOffer.aspx.cs:line 115

Can anybody help me out?

Thanks,

Umesh.
Feb 8 '07 #1
Share this Question
Share on Google+
1 Reply


kenobewan
Expert 2.5K+
P: 4,871
Is Excel installed? See this thread for more info:
system.runtime.interopservices.COMException
Feb 9 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.