Skip to content

Access Denied on Windows #85

Answered by scottoffen
seikosantana asked this question in Q&A
Discussion options

You must be logged in to vote

Access Denied

When you try to run your server for the first time, you might see an Access Denied exception occur. While annoying, this is rather easy to overcome. If you want to use HTTP.SYS to listen on a URI, you either need administrative privileges or an administrator that reserves the URI for normal users.

Run As Administrator

For development purposes, assuming you are an administrator on your Widows instance, you can simply run Visual Studio as administrator. Likewise, you can run the Windows command line as administrator if you want to test it outside of Visual Studio.

Configure Namespace Reservations

For obvious reasons, counting on your application running as administrator in pro…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@seikosantana
Comment options

@scottoffen
Comment options

@seikosantana
Comment options

@seikosantana
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by scottoffen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants