Code Project

Link Unit

Wednesday, September 24, 2008

"Page Cannot be found" when browsing aspx pages in Windows 2003

"Page Cannot be found" when browsing aspx pages in Windows 2003

One of my colleague was facing the issue . This is how we resolved it. Hope it helps you also.
You may get a Page cannot be found message when you browse aspx pages in a Windows Server 2003 environment.

That is because in Windows 2003, all the webservice extensions are "Prohibited" by default to ensure security.

To resolve this, do the following steps:-

Step A)
Click on start then select Run. Copy and paste this command then click okay. That will reregister ASP.NET to IIS 
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i

Step B)
1. From your Run command, type inetmgr and press enter.
2. Expand the appropriate nodes in the IIS to locate the "Webservice Extensions" Node
3. Click on the same.
4. You will find a list of "prohibited" extensions in the right.
5. Click on ASP.NET and "allow" it

That should resolve this issue.