After installation, when trying to browse the K2.net 2003 Workspace a HTTP 404 – File not found error is displayed in the browser.

Introduction

Once the K2.net 2003 Installation is setup, configured and operational a user attempts to browse the Workspace but is unable to do so. The browser returns the error "Page cannot be found".

 

  
This error is common and generally occurs for any URL ending with an ASPX extension, whether the file exists or not. This reason for the error is that the ASP.NET web service extension is disabled or prohibited in IIS. This is the default for Microsoft Windows Server 2003.
 

Compare the following screen shots. In both cases an attempt is made to browse to a non-existing URL ending with an aspx extension. In the first case the ASP.NET web service extension is disabled (prohibited). Here IIS returns a "HTTP Error 404 - File or directory not found error". In the second case the ASP.NET web service extension is enabled (allowed). Now it is the ASP.NET web service extension that returns the error and not IIS.

Browser error for non existent page and ASPX prohibited:

 

Browser error for non existent page and ASPX enabled:

  

Resolution
To resolve this problem you need to enable ASPX pages in IIS (disabled by default in Microsoft Windows Server 2003). To enable ASPX pages, do the following:
  1. Click on "Start>Control Panel"
  2. Open "Administrative Tools"
  3. Open "Internet Information Services (IIS) Manager"
  4. Expand the node for the relevant web server
  5. Click on the "Web Service Extensions" node
  6. Select the ASP.NET Web Service Extension from the list on the right hand side
  7. Click on the "Allow" (outlined in red on the screenshot below)
  8. Close the "Internet Information Services (IIS) Manager" console

Enable ASPX Pages: