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

Access Error Using Excel COM Component

P: n/a
I am trying to create a spreadsheet via the Excel COM Component in VB.Net.
The application works fine on my development machine, but when moved up to
the web server, I get access errors.

I have referenced the Microsoft Excel 11.0 Object Library, and in code have
tried instantiating the Excel Object 2 ways:
- Dim exApp As New Excel.Application
- exApp = CreateObject("Excel.Application")
Either way, I get the exception "Cannot Create ActiveX Component"...

I have tried going into dcomcnfg and given the ASPNet account both Launch
and Access permissions for the Excel Component. This has not worked.

Does anyone have any more suggestions? Thank you so much in advance.

Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.