Blog Stats
  • Posts - 94
  • Articles - 0
  • Comments - 10
  • Trackbacks - 0

 

WCF

Windows Communication Foundation tips, tricks, and solutions.

WCF: System.ServiceModel.AddressAccessDeniedException: HTTP could not register URL

If you are getting the "Your process does not have access rights to this namespace" error after switching your WCF service to run under a different account, try the following: 1) Install the Windows support tools from your Windows 2003 Server install CD from SUPPORT/TOOLS. 2) Open a command prompt and go to C:\Program Files\Support Tools 3) Run the following: httpcfg set urlacl -u http://+:<PORT>/<SERVICE URL>/ -a "D:(a;;GX;;;<SID>)" after replacing <PORT>, <SERVICE URL>, and <SID> with the appropriate values.  If your service URL is just the default at that port, leave it off, but keep the trailing /.  <SID> of course is the SID...

 

 

Copyright © Greg Steen