Issue on calling CoRegisterClassObject in service application on Windows Server 2003

From: Harry Li (Hongjiangl_at_hotmail.com)
Date: 10/21/03

  • Next message: BobS: "IPSEC Help"
    Date: Tue, 21 Oct 2003 16:54:54 -0400
    
    

    Hi Everyone,

    I got a problem when running an COM service application on windows Server
    2003 machine. It is working fine on windows 2000. Basically, I have this COM
    application can be running as local server or services. It is working great
    when running as local server on Windows Server 2003, but not when running as
    services. It fails when calling CoRegisterClassObject and the return error
    is 0x80004015, which means "The class is configured to run as a security id
    different from the caller ". I did find some topics on help to get around it
    in the debug mode ( remove the LocalService name value pair from
    "HKey_class_root\appid\your applicatoin" registry). Even I did this in the
    release mode, I will get the same error code when registering my COM object
    in the system running table ( Call: IRunningObjectTable::Register()) I am
    really blocked by this. I really appreciate if any expert can help me on
    this.

    Thanks.

    -Harry.


  • Next message: BobS: "IPSEC Help"

    Relevant Pages

    • RE: Failed to install Windows Server 2008
      ... That error code usually means you are running out of disk space on either ... Failed to install Windows Server 2008 ... |> Windows cannot install required files. ...
      (microsoft.public.windows.server.sbs)
    • Re: InitiateSystemShutdown() does not work and throws error no 21
      ... > We are trying to restart / shutdown a PC that does not have anybody ... "Windows Server 2003 and Windows XP: If the computer is locked and the bForceAppsClosed parameter is FALSE, ... "If the system is not ready to handle the request, the last error code is ERROR_NOT_READY. ...
      (microsoft.public.win32.programmer.kernel)
    • Re: Blue screen with Event 1076
      ... Advanced Search based on your error code ... Windows Server 2003 Troubleshooting Stop Errors ... In the event log I found event id 1076 with the discription: ...
      (microsoft.public.windows.terminal_services)
    • eventid 8207 EXCDO
      ... we receveice this error in the eventlog on windows server 2003 with exchange ... Calendaring agent failed with error code 0x8004010f while deleting ... appointment. ...
      (microsoft.public.exchange.admin)
    • Server 2003 shuts down unexpectedly
      ... 0x0000008E' Error Message Occurs ... When You Upgrade to Windows Server 2003" ... >I work for a support company and one of our customers ... >supplied the following error code and I have had no luck ...
      (microsoft.public.windows.server.general)