[RESOLVED] SOLVED: Permission denied when method of remotely created object is called
Hi all!
I spent some 70 hours now on the DCOM he11, and I am getting pretty fed up with it. :mad:
Yesterday I was finally able to create an an object of my activex dll class (acting as a server within com+ dllhost) after dealing with firewall exceptions etc. (opening port 135 incoming tcp for this specific client)
Now the following. Whenever a method on this object is called, the client returns an error "70 Permission denied" and quits. With all Microsoft's sysinternal utils (filemon, regmon, procmon) I was not able to get a single relevant event on both client and server (as suggested for this matter by Microsoft).
Does anybody have experience with this? Please reply. This really could mean the end of my entrepreneurship if I don't get it fixed by the end of this month. :(
Thanx,
Guido Vrijdag
Re: Permission denied when method of remotely created object is called
This may be a problem with the port you are using. Try changing the pot to a really high random number like 12735. You may be getting permission denied because the port is reserved or used by something else.
Re: Permission denied when method of remotely created object is called
Thanx for your reply, Evan29. Indeed the firewall should be set correctly. Fortunately I have managed already. I just solved the problem, too, Hooray!
In XP SP2 you need to configure your COM+ security verification on Connect (instead of None) and imitation on Identify (instead of Anonymous) to make it work. Windows security is so tight that with good intentions you are almost not capable of making it work.
Re: SOLVED: Permission denied when method of remotely created object is called
Nice to hear :P. There are plenty of people here willing to help.