Issue on calling CoRegisterClassObject in service application on Windows Server 2003
From: Harry Li (Hongjiangl_at_hotmail.com)
Date: 10/21/03
- Previous message: Angie: "Specific rights to create shares"
- Next in thread: Dmitrii Zakharov [MSFT]: "Re: Issue on calling CoRegisterClassObject in service application on Windows Server 2003"
- Reply: Dmitrii Zakharov [MSFT]: "Re: Issue on calling CoRegisterClassObject in service application on Windows Server 2003"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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.
- Previous message: Angie: "Specific rights to create shares"
- Next in thread: Dmitrii Zakharov [MSFT]: "Re: Issue on calling CoRegisterClassObject in service application on Windows Server 2003"
- Reply: Dmitrii Zakharov [MSFT]: "Re: Issue on calling CoRegisterClassObject in service application on Windows Server 2003"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|