Installing a service underneath 'Default Web Site' in Windows 7 local IIS


- In C:\inetpub\wwwroot create a new folder for the application. Place all the necessary files in it.
- Right click on 'Application Pools' ('Toepassingsgroepen') and choose ('Groep van toepassingen toevoegen').
- Enter the name of the application pool. Usually this is the same as the application name. Choose the latest .NET framework and Integrated Pipeline modus, unless there are good reasons not to.
- Right click on 'Default Web Site' and pick 'Toepassing toevoegen'.
- Enter the alias, application pool and path.
- Set the default document.

Checking configuration existing item

To check the Alias, Application Pool and path, click on 'Basisinstellingen' underneath 'Acties' on the panel on the right.




HTTP Error 404.17 - Not Found, The requested content appears to be script and will not be served by the static file handler

First try: aspnet_regiis.exe -i
(You can execute this in the VS developer command prompt)

If that doesn't work:
In the folder: %windir%\Microsoft.NET\Framework\v4.0.x
Execute: ServiceModelReg.exe -ia
On a 64-bit machine, you have to use the folder %windir%\Microsoft.NET\Framework64\v4.0.x

Now check if the used .NET framework in the used Application Pool is also v4. If not, change it.


400 - Bad request

Delete all the cookies. This can be because there is an invalid cookie.

500 - Internal server error


1. Browse the site/service on the server.
2. Check the eventlog on the server.
3. IE: Tools/Internet options - Advanced - UNcheck 'Show friendly HTTP error messages'.

Possible causes of the error:
- malformed XML of the config file.
- permissions on the folder are not correct
- wrong version of .NET framework (v 2 instead of 4)

503 - The service is unavailable.


Notification: Gateway Timeout

This Page Cannot Be Displayed
The system cannot communicate with the external server ( localhost ). The Internet server may be busy, may be permanently down, or may be unreachable because of network problems.
Please check the spelling of the Internet address entered. If it is correct, try this request later.

Restart FireFox

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License