The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

    • RT @WheelieNick: Wat me nu het meeste zeer doet is dat mijn gezonde jaren zijn afgepakt. Juist toen had ik de dingen kunnen doen die ik wil… 35 minutes ago
    • RT @MaaikeBallieux: Draadje 🧵 Over rode en groene handjes Zoonlief Bram zit op de bank. Hij wil ons iets vertellen, wat 'heel erg is'. Hi… 37 minutes ago
    • RT @WheelieNick: Wanneer wordt het nou eens bekend wanneer pubers hun booster kunnen krijgen? 40 minutes ago
    • RT @samgerrits: Precies 2 jaar terug sloeg ik alarm over SARS 2.0, (compromis China & W.H.O -> #COVID19). Op basis van dit grafiekje schat… 43 minutes ago
    • RT @locuta: LET OP: Als je 08007070 belt voor het maken van een vaccinatie-afspraak voor een kind, dan krijgen sommige mensen een vraag naa… 45 minutes ago
  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 2,570 other followers

IIS on Windows 7: installing and opening the firewall

Posted by jpluimers on 2012/11/12

Usually, I run IIS only on server systems, but for the occasional time when I need it on a (development) workstation (as Cassinni only listens to localhost), these links come in handy:

  1. Installing IIS 7 on Windows Vista and Windows 7 : Installing IIS 7 : Installing and Configuring IIS : The Official Microsoft IIS Site.
    This helps you setup IIS 7, and make sure ASP.NET works on it
  2. Allowing Remote Connection in IIS on Windows 7 – Super User.
    This helps you open up the firewall to access IIS over http port 80.
  3. Make sure if you add virtual directories or applications, that they are based on Physical Paths. When not (for instance with a subst path), you will get an error like this:
    Add Virtual Directory
    The specified directory does not exist on the server.
  4. For ASP.NET applications, when creating a virtual directory or application (especially outside the C:\inetpub\wwwroot realm), make sure the rights are set correctly.
    The IIS configuration will warn you when testing a new virtual directory:
    The server is configured to use pass-through authentication with a built-in account to access the specified physical path. However, IIS Manager cannot verify whether the built-in account has access. Make sure that the application pool identity has Read access to the physical path. If this server is joined to a domain, and the application pool identity is NetworkService or LocalSystem, verify that <domain>\<computer_name>$ has Read access to the physical path. Then test these settings again.
    When in doubt, check out the rights set to C:\inetpub\wwwroot and use that as a point to get started.
    Usually the user is IIS_USRS, and the minimum rights looks like read+execute, but in fact is excute+read-data+read-attributes+read-extended-attributes.


2 Responses to “IIS on Windows 7: installing and opening the firewall”

  1. Rob Schoenaker said

    Another option would be to download NGINX, make it listen on port 80 and then use it as a proxy to Cassini. This basically allows for ‘testing from the outside’. Installing and starting NGINX is a bliss.

Leave a Reply

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

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

Google photo

You are commenting using your Google 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 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: