Friday, September 16, 2011

IIS Blank - Cannot find sites

Scenario:
When you open IIS Server Manager to browse SharePoint web sites you get a blank screen. When you try to connect to local host, you get the message, "Path specified cannot be used at this time"

Solution:
Stop SharePoint Timer service
Stop WWW Publishing service
Stop SMTP service
Stop HTTP SSL service
Stop IIS Admin service

Start all of the above in the same order.

Permanent fix: http://support.microsoft.com/kb/946517 

Tuesday, September 13, 2011

Request for security token failed


Error:
Request for security token failed with exception: System.ServiceModel.FaultException: The server was unable to process the request due to an internal error.

Environment:
Microsoft Project Server 2010
Microsoft SharePoint Server 2010

Solution:
1. Start "Claims to Windows Token Service " on all servers in the farm.
2. IISRESET on all servers.


Prevent person.aspx redirect from userdisp.aspx

Scenario:
A SharePoint environment is newly built with its dedicated domain controller (DC) and has migrated content from another SP environment with a seperate DC. The migrated content has existing users which needs to be migrated to the new domain. Used stsadm -o migrateuser command to achieve the same. When user clicks on the new converted user name in the site collection user groups page, the user is now redirected to person.aspx rather than userdisp.aspx

Solution:
This behaviour is expected because,
a. MySite feature is enabled on the farm which embedds a redirectcontrol in the userdispform.aspx page which causes the redirect.
b. The user has a profile in SSP.

We uninstalled the Mysite feature from farm features using stsadm. Remember it is a hidden feature.

Friday, September 9, 2011

Windows Server RDP cannot see local drives

Scenario:
After RDP to a Windows Server, you cannot find your local drives mapped on the remote server. This is annoying especially if you want to copy files over to the server.

Solution:
http://technet.microsoft.com/en-us/library/cc757353(WS.10).aspx#BKMK_TSC  

Wednesday, September 7, 2011

Find Windows Server last reboot

Scenario: I need to find out when was the last time one of our Windows server rebooted.

Solution:
1. Open command prompt
2. type "net statistics server"
3. It will display statistics from the last reboot time.