Results 1 to 4 of 4

Thread: [RESOLVED] SOLVED: Permission denied when method of remotely created object is called

  1. #1

    Thread Starter
    New Member
    Join Date
    Dec 2006
    Posts
    3

    Resolved [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.

    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
    Last edited by vrijdag; Jan 18th, 2007 at 08:16 AM. Reason: Solved

  2. #2

    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.

  3. #3

    Thread Starter
    New Member
    Join Date
    Dec 2006
    Posts
    3

    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.

  4. #4

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width