?
Solved

DCOM Access Denied on Windows 7 w/o Matching Credentials

Posted on 2011-02-22
4
Medium Priority
?
1,375 Views
Last Modified: 2012-05-11
Hi,

I'm attempting to setup my DCOM client-server app on a Windows 7 environment.  For the purposes of testing I am just using this simple app provided by MS to get the settings right:

http://support.microsoft.com/kb/259011

I figure if I can get these basic settings right I can use them with my custom app as well.

Anyway, I copy the sample app to my client and server, run the recommended registry fix and all seems well - until I log on to my client machine with a profile that does not exist on the server.  At that point I will constantly receive the "Access Denied" error.  Forcing my machines to have identical IDs and passwords is not a practical solution in this case.

   The results when I try to run with a different ID/PW
I have literally been at this for days - I have tweaked every DCOMCNFG setting imaginable on the server based on many of the other solutions I've seen here.

- I have set my default authentication and impersonation levels to "none" and "anonymous"

- I have edited the default access permissions and default launch/activation permissions to allow Everyone, System, Network, Network Service, Anonymous, and Interactive full control both locally and remotely

- I have changed the Sharing and Security Model is set to "Classic"

- I have turned off Windows Firewall (machines are on a workgroup) and disabled the AV software

- Of course, I have rebooted the server numerous times.

If you have a suggestion, I've probably tried that too  :)

I cannot understand why I can only authenticate when the client and server are logged in with the same ID and password.  Does anyone know how Windows 7 tries to authenticate with DCOM?

I am really getting desperate at this point.  Any ideas will be most appreciated.

Thanks
0
Comment
Question by:eross999
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 6

Accepted Solution

by:
Kody-Burg earned 2000 total points
ID: 35003588
Hello,

I'm not entirely sure what is causing your issue, but here is a link with some step-by-step setup instructions:

http://j-integra.intrinsyc.com/support/com/doc/remoteaccess.html

Here is Microsoft's Troubleshooting page for WMI/DCOM. There is an entry on the table for your exact error message along with a suggestion on how to fix it:

http://msdn.microsoft.com/en-us/library/aa394603(v=vs.85).aspx

The possible issue on the chart:

"The user does not have remote access to the computer through DCOM. Typically, DCOM errors occur when connecting to a remote computer with a different operating system version."

Make sure the connecting machine and the destination machine have the same operating system installed.

Hopefully there will be something in one of the two above links that will help you.

Best of luck,

Kody
0
 
LVL 6

Expert Comment

by:Kody-Burg
ID: 35064366
eross999,

Have you had any luck with the solution I offered? If so, please accept my answer as the solution so that we can keep EE clear of question clutter. If not, please reply with any other details that could help me help you solve your problem.

Thanks,

Kody
0
 
LVL 53

Expert Comment

by:Dhaest
ID: 35321632
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Starting up a Project

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question