Sunday, August 31, 2014

HTTP 500 - Internal Server error - After restarting Microsoft SharePoint Foundation Web Application

Hi Priya,


I recommend to use PowerShell command to stop the Microsoft SharePoint Foundation Web Application service and then start it again to see if the issue still occurs:


Stop the service:


$svc = Get-SPServiceInstance | where {$_.TypeName -like "*Foundation Web*"}


$svc.Status = "Offline"


$svc.Update()


Start the service:


$svc = Get-SPServiceInstance | where {$_.TypeName -like "*Foundation Web*"}


$svc.Status = "Online"


$svc.Update()


In order to get virtual directories back run this PowerShell command:


$wa = Get-SPWebApplication http://webAppUrl


$wa.ProvisionGlobally()


Best regards.


Thanks




Victoria Xia

TechNet Community Support



No comments:

Post a Comment