Friday, May 07, 2010

“Page Cannot be found” error when browsing aspx pages in Windows Server

 

You may be frustrated with a “page not found” error when attempting to execute your .aspx page. If you have a static “index.html” page, everything looks good.

The problem lies in the fact that by default, in windows Server-2003, all extensions are disabled. Its understandable, as its a server environment, and its safer to let the administrator specifically enable a setting, than auto enable it.

Here are the steps to resolve this:

  1. In “Run” dialog, type in “inetmgr” or start IIS administration.
  2. Go to “Webservice Extensions” node
  3. Enable the required extensions. For ASP.Net to work, enable the extensions as shown in the screen shot.
  4. Try accessing your page again, and everything should be working now.

image

1 comment:

KK said...

good post!

not too familiar with asp, but cant it also happens because of incorrect read/write/scripts permission or because the directory was misplaced?