Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21839

Provide admin previlege to a DCOM server on x64 Bit Platfarm

$
0
0
Hi,

I have registered a DCOM object (Active X DLL) on Windows Server 2008 R2 (x64) environment. This DLL we are trying to access from 32 bit machine. In side this DCOM server we are trying to access some system resources (like registry operations & invoking Win 32 api) which requires admin previleges for it. When we launch the DCOM object from remote server then it is failing to do the intended operation becuase user id associated with the DCOM object is MACHINENAME$ and it does not have special system previlege.

We tried to give Run As = " domain\admin" but that also did not work. It still took the identity associated with the DCOM object as MACHINENAME$. Only way we could make this DCOM to work was to put into COM+ application and then associate an admin identity with the COM+ package. However putting into COM+ package may have a performance bottleneck becasue it runs into a separate process of DLLHOST.exe and will incur the marchalling cost at run time.

Any one having some suggestion will be greatly appreciated.

Thanks & Regards,

Vikas Kapoor

Viewing all articles
Browse latest Browse all 21839

Trending Articles