Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Access Error Using Excel COM Component
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. -Karl |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Access Error Using Excel COM Component
Is Excel installed on the server?
Tim. "Karl Yates" wrote in message ... 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. -Karl |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Access Error Using Excel COM Component
Yes it is... Sorry, I forgot to mention that...
Thanks again... "Tim Williams" wrote: Is Excel installed on the server? Tim. "Karl Yates" wrote in message ... 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. -Karl |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Access Error Using Excel COM Component
Well, that was my only guess - not really any experience with .Net
Tim. "Karl Yates" wrote in message ... Yes it is... Sorry, I forgot to mention that... Thanks again... "Tim Williams" wrote: Is Excel installed on the server? Tim. "Karl Yates" wrote in message ... 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. -Karl |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Component not correctly registered Error opening Forms in Excel | Excel Discussion (Misc queries) | |||
office web component error | Excel Discussion (Misc queries) | |||
336 error Active X component not correctly registered ?? | Excel Discussion (Misc queries) | |||
Getting Access Error Messages when running Access through Excel | Excel Programming | |||
ActiveX component not correctly registered error 336 | Excel Programming |