All Forums
 Microsoft Windows CE
 eVC Application Development
 DCOM Remoting Problem
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

jeffreyeshaver

9 Posts

Posted - 08 Aug 2003 :  14:25:55  Show Profile  Email Poster
I'm running a BITSYX development platform with CE.NET 4.10 (Build 908), using the Hawking CF686TX Ethernet card. I have an ATL COM server running on the the BITSYX. When I attempt to connect to an object in the server via CoCreateInstanceEx from a client running on a desktop machine, I get an "access denied" error.

A client running locally on the BITSYX has no problems with the CoCreateInstanceEx to the out of proc server. The network that both machines are on does not use DNS or ActiveDirectory, etc. Both machines can ping each other.

In the registry on the BITSYX, I added the following keys:

[HKLM/Software/Microsoft/OLE] EnableDCOM = "Y"
[HKLM/Software/Microsoft/OLE] LegacyAuthenticationLevel = 0x00000001

[HKCR/APPID/{server's GUID}] AuthenticationLevel = 0x00000001
[HKCR/APPID/{server's GUID}] LegacyAuthenticationLevel = 0x00000001

There are no specific entries for LaunchPermissions or AccessPermissions. The values being set for LegacyAuthenticationLevel and AuthenticationLevel should indicate that no authentication is to take place. At least that's the way it works on XP and 2K.

Any ideas what I'm doing wrong?

jeffreyeshaver

9 Posts

Posted - 08 Aug 2003 :  14:27:45  Show Profile  Email Poster
I forgot to mention that neither client nor server are calling CoInitializeSecurity. Thanks.
Go to Top of Page

ctacke

877 Posts

Posted - 16 Oct 2003 :  10:44:17  Show Profile  Email Poster
We've added DCOM Remoting to Build 4.10.28.
Go to Top of Page
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.03 seconds. Snitz Forums 2000