A simple IIS 7 test set up should be simple

For simple tests, I want to publish a local directory “dir” through IIS 7 as a virtual directory “vdir” and point my browser to http://localhost/vdir/myfile.xml.

Does that work?

No.

You need to:

  • Grant permission for the directory to the IIS group IIS_IUSRS.
  • In the IIS Manager, in Authentication/Anonymous Authentication, change the setting to “Application pool identity”

Then you can get IIS to serve you files locally.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s