DCOM access denied
-
has any body had this error from a machine that has the dcome server when trying to connect to remotely from a client?? Access denied attempting to launch a DCOM Server. The server is: xxx. where xxx is my dcome server. if you have had this problem how did you get rid of it?? Cheers :confused:
-
has any body had this error from a machine that has the dcome server when trying to connect to remotely from a client?? Access denied attempting to launch a DCOM Server. The server is: xxx. where xxx is my dcome server. if you have had this problem how did you get rid of it?? Cheers :confused:
This is probably a security settings issue. Did you write the server and the client? Of so, there is some code you could add in order to fix this. Otherwise, just run DCOMCNFG.exe on the server computer, and set the object's security for launch and access to something that will fit your security requirements while letting the client access the server. (You may also need to change the identity settings to "Interactive User". Playing with the connection level may also help, but isn't ususally needed.) John
-
This is probably a security settings issue. Did you write the server and the client? Of so, there is some code you could add in order to fix this. Otherwise, just run DCOMCNFG.exe on the server computer, and set the object's security for launch and access to something that will fit your security requirements while letting the client access the server. (You may also need to change the identity settings to "Interactive User". Playing with the connection level may also help, but isn't ususally needed.) John
The server doesn't have UI the client creates an object of it and uses it which in itself a com server, from what i've read in tech net you can't set the identity to interactive if the server doesn't have an interface!! i have checked the access and launch permissions .. as you said :confused:
-
The server doesn't have UI the client creates an object of it and uses it which in itself a com server, from what i've read in tech net you can't set the identity to interactive if the server doesn't have an interface!! i have checked the access and launch permissions .. as you said :confused:
Are you referring the the server machine interface (if your DCOM server runs as a service), or a UI for the DCOM server process? If you are referring only to the DCOM server process, UI issues are irrelevant to the interactive user identity. In fact, it was something one of our UI-less DCOM server programs needed. I don't think that the interactive user switch will fix your access denied problem, though. Where is it failing? Is it at CreateInstance? Is it when you try to create a connection point (if you do)? John
-
has any body had this error from a machine that has the dcome server when trying to connect to remotely from a client?? Access denied attempting to launch a DCOM Server. The server is: xxx. where xxx is my dcome server. if you have had this problem how did you get rid of it?? Cheers :confused:
I've run into this problem many times. I know it's a hack, but try this. Create an account on each machine, both with the same name and password, and preferably administrator rights (NOT domain accounts). Reference: COM Security FAQ from MSDN. Hope this helps. Nick Carruthers