Baseline as it is, thank you for your useful comment. I have since reviewed the installation keys and values relating to this, so far without finding any smoking guns. For simplicity, all builds, installs and process startups and debugging sessions have always been performed under the same administrator account.
It would seem that with both client and server specifying RPC_C_AUTHN_LEVEL_NONE, COM would always allow calls from anyone (see Essential COM, page 298).
My install uses a script shown below, which substitutes the various <xxx> parameters with the actual names, ids and other strings for any particular install, and puts each resulting line into the registry HKCR . My uninstall uses a similar script.
"AppID\{<appid>};<comment>",
"AppID\{<appid>};RemoteServe
"AppID\{<appid>};RunAs=<accou
"AppID\{<appid>}\References\
"CLSID\{<classid>};<iname>",
"CLSID\{<classid>};AppID={<ap
"CLSID\{<classid>}\LocalServ
"CLSID\{<classid>}\TypeLib;{
"CLSID\{<classid>}\ToolboxBi
"CLSID\{<classid>}\ProgID;Pk
"CLSID\{<classid>}\Control;"
"PkgServer.<iname>.1;<iname>",
"PkgServer.<iname>.1\CLSID;{
I am continuing to review this install script and how it is actually applied to the registry, as a possible source of trouble. None found so far.





by: tamutechPosted on 2009-08-03 at 15:39:40ID: 25009214
The most common problem you'll find with this stuff is that the CLSID is not in the user's registry. And by user, I mean the account that is physically running the DCOM app in memory (TaskMan -> Check "Show Processes from all users" & ensure which account app is running under). You _must_ login on that respective account, and install any required apps there alone. (Alternatively can change exec privs on app to run under alt account). Basically - regedit -> HKEY_ROOT -> CLSID's -> Is your CLSID string there? If not, then accounts are messed up and do the above stuff.
I'm not sure if this will solve your issue, nor if it will help at all, but I figured I'd post this for relativity purposes as errors in DCOM (or COM in general) can always be hard to trace down when permissions issues exist. Best of luck.