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

Last post 08-31-2009 4:03 AM by suthish nair. 13 replies.

Sort Posts:

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

    03-30-2007, 1:12 AM
    • Member
      6 point Member
    • brazen
    • Member since 12-22-2006, 10:20 AM
    • Posts 24

    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.

     

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

    04-03-2007, 3:39 AM
    Answer
    • Member
      6 point Member
    • brazen
    • Member since 12-22-2006, 10:20 AM
    • Posts 24

    I figured it out friends

    I added Network Service account into the launch conditions for DCOM using dcomcnfg.

    For those who dont know....

    Type dcomcnfg in cmd

    go to Component Services ->My Computer ->Com Security ->Lauch and Activate Permissions ->Edit Default ->Add...

    Now add Network Service and allow all permisions to it.

    Cheers

     

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

    05-14-2007, 3:03 AM

    hi

    the same error is been show when i execute the application in my WINDOWS 2000 TERMINAL SERVER

    i did as you said but, dont could add the Network Service,,, can you giv some suggestions


    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 shown

    Retrieving 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 & regards

    winnie cherian

     

    Best Regards
    Winnie Cherian
    -------------------------------------------


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

    05-25-2007, 9:33 AM
    • Member
      10 point Member
    • ravibelkhindi
    • Member since 05-17-2007, 4:40 AM
    • Bangalore
    • Posts 5

    Hi,

        Even i am facing same problem, i have added NETWORK SERVICE and ASPNET for component that i am using.

    after adding this  when i launch the application remotely i can see application name in task manager, which was not before.

       I am using following settings

       1. In machine.config file

                i have added  "<processModel enable="true" userName="xxxxxxx" password="xxxxxx"/>"

        2. i have not made impersonate =true in web.config file.

    the error i am getting is

    Retrieving the COM class factory for component with CLSID {325C722A-1882-4657-AEF8-824F6FFC2751} failed due to the following error: 80080005.

    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.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {325C722A-1882-4657-AEF8-824F6FFC2751} failed due to the following error: 80080005.

     

    thanks in advance
  • Re: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005

    07-13-2007, 1:43 AM
    • Member
      10 point Member
    • ravibelkhindi
    • Member since 05-17-2007, 4:40 AM
    • Bangalore
    • Posts 5

    i got the solution..

    may this link help you

    http://www.opcactivex.com/Support/Tutorials/DCOM_Tutorial_-_Configuring_th/DCOM_Videos/dcom_videos.html

     Regards,

    Ravi 

     

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

    07-13-2007, 1:44 AM
    • Member
      10 point Member
    • ravibelkhindi
    • Member since 05-17-2007, 4:40 AM
    • Bangalore
    • Posts 5

    i got the solution.

    check this below link 

     http://www.opcactivex.com/Support/Tutorials/DCOM_Tutorial_-_Configuring_th/DCOM_Videos/dcom_videos.html

     Regards,

    Ravi 

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

    08-16-2007, 9:56 AM
    • Member
      236 point Member
    • falaky
    • Member since 07-26-2007, 7:07 AM
    • Pakistan
    • Posts 39

    Hello,

    I have viewed your post on microsoft forums. I am having same problem in connecting with Microsoft Outlook due to some access rights. I am interacting with outlook for retreiving contacts saved in local account and saving it in to database. The project works fine in debug mode but when i try to install this application on server then following error cause the crash of application. I am using ASP.NET 2.0 and added references of following dlls already

    Contact.dll

    Interop.Outlook.dll

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

    Best Regards

    Falak Mahmood

    Best Regards
    Falak Mahmood


    Don't forget to click "Mark as Answer" on the post that helped you.
    This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
  • Re: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005

    08-17-2007, 1:14 AM
    • Member
      10 point Member
    • ravibelkhindi
    • Member since 05-17-2007, 4:40 AM
    • Bangalore
    • Posts 5

    Go through this video, i have followed the same instructions as explained.

    http://www.opcactivex.com/Support/Tutorials/DCOM_Tutorial_-_Configuring_th/DCOM_Videos/dcom_videos.html 

     

    Hope this will help

    Regards,

    Ravi B 

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

    08-17-2007, 9:25 AM
    • Member
      236 point Member
    • falaky
    • Member since 07-26-2007, 7:07 AM
    • Pakistan
    • Posts 39

    I have seen videos about dcom and those were excellent. Now i just want to clear whole scenario and then i will surely need your consultancy. My work is to deploy this web application on an international server. Every client can access it from any where. After that application deployed on server will have to interact with the Microsoft outlook of every single client's machine for retreiving contacts and relating information. Is it possible for me to set up the permissions for every client who is accessing that international server? Could you please have a detailed sicussion about it?

    Best Regards
    Falak Mahmood


    Don't forget to click "Mark as Answer" on the post that helped you.
    This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
  • Re: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005

    09-13-2007, 5:53 AM
    • Member
      2 point Member
    • midlet
    • Member since 09-13-2007, 8:19 AM
    • Posts 1

    Click on the link below

    http://support.microsoft.com/kb/288367

    Wink

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

    11-02-2007, 10:34 AM

    I am having a similar problem retrieving a COM class component.  I am getting a similar problem trying to retrieve. Speechlib.dll with a speech enabled web application.   I have tried running dcomcnfg, but there is no speech component (or atleast I can not identify it).   Similar to the problem above my application runs fine on my local server, but causes the following error on the remote server:

    [UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {96749377-3391-11D2-9EE3-00C04F797396} failed due to the following error: 80070005.]

     Any help with this would be appreciated.

     Thanks,

    Nevin Morrison

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

    11-16-2007, 7:18 AM

     

     Error: "Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000 -000000000046} failed due to the following error: 80070005.\n\u003c/font\>"\u003c/em\>\u003c/span\>\u003c/p\>\n\u003cp style\u003d\"margin:0in 0in 0pt\"\>\u003cspan style\u003d\"font-size:10pt;font-family:Arial\"\>\u003c/span\> \u003c/p\>\n\u003cp style\u003d\"margin:0in 0in 0pt\"\>\u003cspan style\u003d\"font-size:10pt;font-family:Arial\"\>I have managed to resolve the issue by changing the security settings of Microsoft Excel Application in DCOM Config. Here is what I have done.\n\u003c/span\>\u003c/p\>\n\u003cp style\u003d\"margin:0in 0in 0pt\"\>\u003cspan style\u003d\"font-size:10pt;font-family:Arial\"\>\u003c/span\> \u003c/p\>\n\u003cp style\u003d\"margin:0in 0in 0pt\"\>\u003cspan style\u003d\"font-size:10pt;font-family:Arial\"\>Goto "Control Panel" --> Administrative tools-->Component Services -->computers --> myComputer -->DCOM Config --> Microsoft Excel Application.\n\u003c/span\>\u003c/p\>\n\u003cp style\u003d\"margin:0in 0in 0pt\"\>\u003cspan style\u003d\"font-size:10pt;font-family:Arial\"\>\u003c/span\> \u003c/p\>\n\u003cp style\u003d\"margin:0in 0in 0pt\"\>\u003cspan style\u003d\"font-size:10pt;font-family:Arial\"\>Right Click on "\u003cfont size\u003d\"2\"\>Microsoft Excel Application" icon and click on"properties". Then click on "Security Tab" and under "Launch and Activate Permissions" panel, select "Customize" option and click on "Edit" button to give full permissons to "ASP NET Machine Account". Again under "Configuration Permision" panel select \n\u003c/font\>  "Customize" option and click on "Edit" button to give permissions to "Administrators" full permissons.\u003c/span\>\u003c/p\>\n\u003cp style\u003d\"margin:0in 0in 0pt\"\>\u003cspan style\u003d\"font-size:10pt;font-family:Arial\"\>\u003c/span\> \u003c/p\>\n\u003cp style\u003d\"margin:0in 0in 0pt\"\>\u003cspan style\u003d\"font-size:10pt;font-family:Arial\"\>That's all you are done.\u003c/span\>\u003c/p\>\n\u003cp style\u003d\"margin:0in 0in 0pt\"\>\u003cspan style\u003d\"font-size:10pt;font-family:Arial\"\>\u003c/span\>\u003cspan style\u003d\"font-size:10pt;font-family:Arial\"\>\u003c/span\> \u003c/p\>\n\u003cp style\u003d\"margin:0in 0in 0pt\"\>\u003cspan style\u003d\"font-size:10pt;font-family:Arial\"\>Hope this helps!\u003c/span\>\u003c/p\>\u003c/div\>\n\u003cdiv\> \u003c/div\>\n\u003cdiv\>Best Regards,\u003c/div\>",1] ); //--> -000000000046} failed due to the following error: 80070005. "

    the article below is for  win 2003 server and xp 

     http://blog.crowe.co.nz/archive/2006/03/02/589.aspx

    hi,


    but,  I have  WINDOWS  2000   how can i resolve this error.

    please  any solution  for   2000

    its  urgent
  • Re: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005

    07-02-2008, 2:49 PM

    Hi,

    I ran the dcomcnfg, where as in my console it does not show any "Com Security" item under Component Services ->My Computer.

    All that I can see under My Computer-> is "COM+ Applications" under that  again I have sub folders like Net Utilities,COM+ explorer etc.

    Pls. help.

    Thanks in advance.

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

    08-31-2009, 4:03 AM

     

    Permission issue:

    refer solution: http://blog.crowe.co.nz/archive/2006/03/02/589.aspx 


    Mark as Answer
    , on the posts replys that helped you !!!.

    My Blog

    • MS Chart
    • Export To Excel/Doc with styles
    • Export image to excel

Page 1 of 1 (14 items)