Server Application Unavailable Error


I have installed IIS 5.1 on my machine ,it works allright for asp pages but when I try to access .aspx pages it throws out following error,

"Server Application Unavailable"

Even when have a look at event viewer I find the following response.

aspnet_wp.exe could not be launched because the username and/or password supplied in the processModel section of the config file are invalid.



You should check following,

(1) Go to your website properties in IIS by right clicking on it. Make sure ASP.Net version is 2.0 or whatever you are using.

(2) Navigate to your website folder from windows explorer. Right click on this folder and open properties. Go to Security tab and see if there are read permissions for following accounts
(a) [Your Machine Name]\ASPNet (b) Network Service (c) IUSR_[YourMahineName]

One of these accounts is used for running ASP.Net process. If these accounts do not have read access to your website folder. You will get this error.

(3) Make sure that you have installed IIS first and then .Net Framework. If you have installed in reverse order, run following command from the directory where .Net Framework is installed. In my case it is,

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i

This will install .Net Framework again. -i switch is for installation.

After installing .Net Framework check step (1) again.