Results 1 to 6 of 6

Thread: COM class factory 8000401a error

  1. #1
    Join Date
    Sep 2009
    Posts
    77

    COM class factory 8000401a error

    On my system i had installed Windows Xp. Just few days back i had created charts on my web page using chart control and then saved those charts in temp folder. I was able to export these charts to excel file . The good thing is, I was able to that on my local machine. But when I put the same code in server 2003 , I start getting error : Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 8000401a. can any one tell me that what i need to do in order to resolve COM class factory 8000401a error? Does any body knows about it? Kindly help me out to resolve the above issue. Thanks.

  2. #2
    Join Date
    Sep 2005
    Posts
    1,306

    Re: COM class factory 8000401a error

    This is actually an security issue. since 8000401a is a documented error code. The communicator API is a client API that runs in the context of a user running the communicator client. You should look at UCMA 2.0 for and ASP.net managed application.

  3. #3
    Join Date
    Apr 2008
    Posts
    4,088

    Re: COM class factory 8000401a error

    The server process could not be started because the configured identity is incorrect. The best solution is to make the OPC-server service logon as the same user as the OPC-client service.Check the username and password. Does the server 2003 machine have the excel assemblies in its GAC?

  4. #4
    Join Date
    Apr 2008
    Posts
    2,139

    Re: COM class factory 8000401a error

    Have you installed MS Office 2003 on your server? If you have a restrictive environment (for example, some configurations of Windows XP) then you may need to ensure that 'Enforce Access checks' is unticked on the Controller COM+ package. I believe it's not in your code because your code works perfectly fine in your developing system.

  5. #5
    Join Date
    Jan 2008
    Posts
    3,755

    Re: COM class factory 8000401a error

    Using COM / DCOM from an ASP.NET page forces the page to run in STA threading model and is a drag on performance. Make sure MS Office 2003 is installed in your server machine. The Global Assembly Cache tool allows you to view and manipulate the contents of the global assembly cache and download cache: Gacutil.exe. Configure ASP.NET properly so that it will be allowed to use some resources in your system.

  6. #6
    Join Date
    May 2008
    Posts
    3,316

    Re: COM class factory 8000401a error

    Make some changes also in ASP.Net Site’s web.config file. It seems the problem about the path of your word document. It would be so much easier if e-work could run under the local system account like most enterprise applications.There may be always a problem if you want to manipulate the file outside of the "WWWROOT" derectory.

Similar Threads

  1. Sim Card Invalid Error on Factory Un-locked iPhone 4S
    By Bot.Me in forum Portable Devices
    Replies: 5
    Last Post: 24-05-2012, 05:06 PM
  2. Getting Factory Restore Error wimapplyimage fail
    By Kaun-Dom in forum Operating Systems
    Replies: 6
    Last Post: 03-06-2011, 01:24 PM
  3. Windows Messenger Error code 8000401a
    By M. Rafi in forum Windows Software
    Replies: 7
    Last Post: 30-11-2009, 08:29 AM
  4. Retrieving the COM class factory
    By sarav in forum Software Development
    Replies: 4
    Last Post: 10-11-2009, 09:17 PM
  5. Error ASP 0177: 8000401A Server object creation failed
    By joel84 in forum Software Development
    Replies: 2
    Last Post: 12-05-2009, 10:32 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,715,871,463.37905 seconds with 17 queries