Friday, May 20, 2011

Everything Works But ASP.NET Pages on IIS

Last week I installed windows server 2003 R2 standard edition on our server for hosting our web applications, web services and databases.

Although I experienced same error before, I forgot how to fix it. I don't know why but when you install IIS 6, ASP.NET service extension is disabled. If you try to request html pages you can see them on your browser. When you request any asp.net, IIS responds you with following message :

"HTTP Error 404 - File or directory not found."

If you are in this situation, you have to allow ASP.NET service extension on your IIS under Web Service Extensions. Below, you can see the screenshot I took from our web server.

0 comments: