Tuesday, December 25, 2007

Unable to execute aspx file on Windows 2003

Had problems executing aspx files on Windows 2003. The machine already had Windows 2003 SP2, Dot Net 1.1 and IIS installed but refused to serve aspx files although html files were being processed. Kept getting this error "Error 404 - File not found" every time an aspx file was requested.

Installing Dot Net 2.0 also did not solve the problem.

In IIS found that the Web Service Extension node allows you to prohibit execution of certain types of files. For some reason ASP.NET v1.1 and v2.0 were prohibited. Changing the status to Allow solved the problem.

No comments: