Abhishek Bhowmick | SharePoint Blog

Unable to open sharepoint sites without default.aspx

Posted in Sharepoint by Abhishek Bhowmick on November 27, 2008

There was this case that we were working on where the user was unable to open the sharepoint sites using the site url viz. http://sharepoint and gets the error message “HTTP 404 – Page not found”.  But when the users types in “default.aspx” at the end of the specified url viz. http://sharepoint/default.aspx the site just comes up fine.  This issue is multi-faceted but the resolution that we figured out in our case was to get the aspnet.isapi.dll added to the IIS virtual server’s Home Directory.  How do we do that?

Here it is… Open Internet Information Services and right click the website (virtual server) and click properties.  In the properties dialogue box click on the tab Home Directory.  Under Application Settings click on the Configuration button.  Under Wildcard Application Maps check whether there is an entry like “C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll”.  Select it and remove it. Click on the Insert button and browse to the correct Aspnet installation folder viz. “C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727”and select the file aspnet_isapi.dll.  Save changes and reset the IIS.  And you’re done!  Try the sharepoint site url without the “default.aspx” this time and you’re back in business.

Note: This is one side of a resolution that worked for us but however there may be other causes for the site to not load without manually entering “default.aspx” which may need another approach for troubleshooting.

Advertisements
%d bloggers like this: