Pages

Monday, October 11, 2010

SharePoint Server not redirecting to default.aspx

Our SharePoint 2010 Enterprise server all of a sudden stopped redirecting to the actual .asx pages of the site when we were navigating to just the server name or foldernames.
When i go to http://spsite/pages/default.aspx the page appears. If i go to http://spsite/ the page does not redirect, and instead shows a 404 error.
Some googling led me to this answer, which worked(!), but I realized there really wasn’t good documentation on how to make the changes for IIS7.x, so here they are:
1. Open IIS Manager (Start > Run > inetmgr)
2. Click on the server node
3. Click “ISAPI and CGI Restrictions”
4. Verify that you have the following web service extensions allowed:
image
5. If they are not all allowed, right click + add the missing dlls.
Not sure why these weren’t set up before, but this solved the issue for me. Hope it can help someone else!

1 comment:

Neeraj said...

1.Create SharePoint WebPart Project.
2. Add some functionality on to the Project.
3. Try to access some text file and write something to that text file.
4. Deploy WebPart.
5. Login using different user who has basic rights on SP Resources.
6.Browsing this page makes page crash.

please provide the solution immediately....