Retrieving the COM class factory for component with CLSID failed due to the following error: 80070005.

 I am using Excel Object in my asp.net project.

While i run from VS2005 it runs perfectly but when i make a virtual directory and run through IIS

it gives this error

Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-00000000046} failed due to the following error: 80070005. 

please help 

0
koshytho
8/5/2008 5:17:31 AM
asp.net.security 27051 articles. 1 followers. Follow

1 Replies
821 Views

Similar Articles

[PageSpeed] 33

i have added this in my web.config and it started working 

 <identity   impersonate="true"  userName="user" password="pwd" />

but on the server its giving an error :

It is an error to use a section registered as allowDefinition='MachineOnly' beyond machine.config.

for the above statement

please suggest 

0
koshytho
8/5/2008 7:48:33 AM
Reply:

Similar Artilces:

Error; Retrieving the COM class factory for component with CLSID {8A95B73E-2FD7-4A4D-B215-FEA9F6F850EA} failed due to the following error: 80070005
Hi         I'm using a 3rd party component for mapping the existing report(SIMX). They provide a setup for their software. I tested it is working fine. On deployment in the server I got an component error. So I decided to uninstall the software locally and tried with the required dll component. Now I.m gotting the below error. Retrieving the COM class factory for component with CLSID {8A95B73E-2FD7-4A4D-B215-FEA9F6F850EA} failed due to the following error: 80070005. Description: An unhandled exception occurred during the execution of the...

Exception Occured : Retrieving the COM class factory for component with CLSID {...} failed due to the following error: 80070005.
Hello!I have been developing a web application in VB.NET which uses a DLL that is written in VB6.Everything has been working smoothly until today when I successfully installed an updated version of the DLL onto the web server.Now I'm encountering an exception with the following error message when my web application tries to access the DLL:"Retrieving the COM class factory for component with CLSID {<guid>} failed due to the following error: 80070005. "After doing some research on the issue, I have a feeling that it has to do with the permissions not being set up properly to allow my ASP...

Retrieving the COM class factory for component with CLSID {00020820-0000-0000-C000-000000000046} failed due to the following error: 80070005.
 Retrieving the COM class factory for component with CLSID {00020820-0000-0000-C000-000000000046} failed due to the following error: 80070005. 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.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {00020820-0000-0000-C000-000000000046} failed due to the following error: 80070005. ASP.NET is not authorized to access the...

Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005
Friends in my application I generate Excel reports from a web page.Things work fine when I use it from my development machine. The problem arises when I access the application from a remote machine(I have deployed it to remote machine). it throws the error..  Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005 I have also added ASPNET account for MS Excel Application on the deployment server. Still I get the same error. Thanx in advance.   I figured it out friends I a...

Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80070005.
 I am trying to create folders in the Inbox through C# code by using Microsoft.Office.Interop.Outlook.Application() object.If I run the code from asp.net development server, it works fine. But if i publish the application on IIS or if i run the code through a window service, it gives the below mentioned error : Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80070005. Please guide me.  Hi Base on my understanding, you try to use server automation object in the ASP.NET web application. and th...

Retrieving the COM class factory for component with CLSID {000D0A26-0000-0000-C000-000000000046} failed due to the following error: 80070005
I am working on a .NET 2.0 Web Application. My task is to upload a .VSD file and read the content of it. I am getting an error "Retrieving the COM class factory for component with CLSID {000D0A26-0000-0000-C000-000000000046} failed due to the following error: 80070005" at the second statement of below code. Microsoft.Office.Interop.Visio.InvisibleApp visioApplication; visioApplication = new Microsoft.Office.Interop.Visio.InvisibleApp(); I tried all the steps from the post http://forums.asp.net/p/1132030/1803291.aspx#1803291, now the error has changed to "Retrieving the ...

Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005 #2
Hi All, "Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005" and "Exception from HRESULT: 0x800A801C" problem i have face. Actullay i have design intranet asp.net application. I applied all rights to ASPNET user. This application smootly run application server (application installed PC). But when i access my application through another PC then its gives above error. I make impersanation identity true in my web.config file. Is any setting is remaining in web.conf...

Exception Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.
Hi there,I had created an ASP.Net application that will create excel file. It works fine when  I am running it on ASP.Net port but fails when i run it on IIS. It gives the following error Exception Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005. I had gone through other forums and they had mentioned to give rights to Network Services to Microsoft Excel Application in dcomcnfg. I did the same thing but its of no use. It didnt worked out and I got the same error. Please suggest me anot...

HELP!!! Retrieving the COM class factory for component with CLSID {2206CDB2-19C1-11D1-89E0-00C04FD7A829} failed due to the following error: 80070005.
have a issue in the server.but it's fine in the local server.  How to fix it? thanks!!!The excetpion detail:Server Error in '/' Application. Retrieving the COM class factory for component with CLSID {2206CDB2-19C1-11D1-89E0-00C04FD7A829} failed due to the following error: 80070005. 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.UnauthorizedAccessException: Retrieving the COM class factory fo...

HELP!!! Retrieving the COM class factory for component with CLSID {2206CDB2-19C1-11D1-89E0-00C04FD7A829} failed due to the following error: 80070005.
have this issue in server.but it's fine in the local server. How to fix it ?  Thanks!the exception detail:Server Error in '/' Application.--------------------------------------------------------------------------------Retrieving the COM class factory for component with CLSID {2206CDB2-19C1-11D1-89E0-00C04FD7A829} failed due to the following error: 80070005. 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:...

Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80080005.
Hi I added references of Outlook into my application for opening email client using my ASP.NET project,, its working fine in DEBUG mode,,,but when i install this application on to my WINDOWS 2000 TERMINAL SERVER , this error is shownRetrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80080005. How should i solve this problem,,,I am using ASP.NET 2.0,,,  it is perfectly working in DEBUG mode......only when installed in SERVER its showing the above error Thanks & regardswinnie cherian B...

Retrieving the COM class factory for component with CLSID {5D34E962-9F95-4D92-917F-F9B1A4F2BC6E} failed due to the following error: 80040154
Hello,   I am writing a simple web service that instantiates a very simple COM object and then makes a call to the object...  All parts are very simple so that i can atleast see that it works. My web service consists of one Web method... See below... ... TEMPCONVERTLibClass instance; instance = new TEMPCONVERTLibClass(); ...[WebMethod(Description="Sample function to access tempconvert object", TransactionOption=System.EnterpriseServices.TransactionOption.RequiresNew)]public double CelsToFahren(double val) { double far = 0.0; try { instance.CelsiusToFahrenhei...

Retrieving the COM class factory for component with CLSID {4764040E-4222-4DEC-9F2E-82D46E212B3A} failed due to the following error: 80040154
Hi all, I am using :1. Windows XP-Visual Studio 20052. Fast Report Studio (www.fast-report.com)I have used FastReport Studio (FastReport3.dll) in my ASP.NET webapplication project,Every thing is ok and execute my project and generate report BUT when  i deploy it in IIS, the error comes as Retrieving the COM class factory for component with CLSID {4764040E-4222-4DEC-9F2E-82D46E212B3A} failed due to the following error: 80040154  Please note that we have tried registering the fastreport3.dll. The error is still present .Can anyone please let us know a solution ...

Retrieving the COM class factory for component with CLSID {36D27C48-A1E8-11D3-BA55-00C04F72F325} failed due to the following error: 80080005
I am working on using Ms Project with VB.NET in ASP.NET. I made configuration changes as explained athttp://blog.crowe.co.nz/archive/2006/03/02/589.aspx  The program works well on XP, but on windows server 2003 when I restart my machine, my program works 2-3 times. After that, while it tries to create an Microsoft.Office.Interop.MSProject.Application object, it gives the error: Retrieving the COM class factory for component with CLSID {36D27C48-A1E8-11D3-BA55-00C04F72F325} failed due to the following error: 80080005 How can I fix this problem?       &nbs...

Web resources about - Retrieving the COM class factory for component with CLSID failed due to the following error: 80070005. - asp.net.security

Mother of three killed landlord after he tried to stop her retrieving her son's shirt
A mother of three has been found guilty of killing her landlord after he tried to stop her retrieving a red polo shirt her son needed for school ...

Retrieving bodies a 'horrifying' experience (01:43)
Anti-jump measures on the Story Bridge should be "fast tracked" and water police funding increased so CityCats don't have to pick up bodies. ...

Man drowns retrieving toy boat
A man has drowned after entering the Wimmera River at Horsham to retrieve a remote-controlled boat.

Bishop says there is no time limit on retrieving MH17 remains
THE Australian Federal Police have warned that it is too dangerous to approach the MH17 crash site in war-torn eastern Ukraine until security ...

Search underway for man swept away in Brisbane River while retrieving toy boat
A search is underway for a man swept away in the Brisbane River while retrieving a toy boat.

DPRK blames US for suspension of retrieving American soldiers' remains
DPRK blames US for suspension of retrieving American soldiers' remains People's Daily Online PYONGYANG, Oct. 13 The Democratic People's Republic ...

Good dog: Yankee retrieving a big Canada in a Manitoba hayfield
Good dog: Yankee retrieving a big Canada in a Manitoba hayfield

iPhone dev: Retrieving user phone numbers
... a secret to recovering user phone numbers that does not involve the … One of the most common questions I get these days has to do with retrieving ...

Girl stuck in Dover storm drain retrieving phone
A teenage girl gets stuck in a storm drain in Dover while trying to retrieve her mobile phone which had fallen into it.

Forensic investigations: Retrieving data from the cloud
... ensure that nothing is missed in the evidence gathering process, and to ensure that the investigative team doesn’t run out of time when retrieving ...

Resources last updated: 12/7/2015 3:05:53 AM