CodeCopy

October 13, 2009

Selfhosting WCF on win2008

Filed under: c#,wcf — sterndorff @ 13:41
Tags: ,

If you host a WCF service as a non-administrator user on Windows 2008 (and Vista) you may get this error even if you are member of the admin groups:

HTTP could not register URL http://+:8000/. Your process does not have access rights to this namespace (see http://go.microsoft.com/fwlink/?LinkId=70353 for details)

Solution: Log in as administrator and fire:

netsh http add urlacl url=http://+:8000/ user=DOMAIN\UserName

Theme: Rubric. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.