Friday, July 20, 2012

Solving the "Unable to Create or Delete New Web application in Central Administration in SharePoint 2010."


While working with SharePoint 2010 and windows liveID Integration. We need to create a new web application in Central Administration for that Integration. But When I want to create all the icons are disabled. After some help from superiors I solved it. Every time we must run our browser in “Administrator Mode”.
So In win 7 if you want to run you apps with admin privileges you need to do this:
All shortcuts in Windows 7 have a special property that you can set that will allow the application to run as Administrator.
To set this property, just right-click on any shortcut, and click the Advanced button on the Shortcut page to get to the Advanced Properties dialog.
You’ll see a dialog with a checkbox for “Run as administrator”.
Also you need to change settings in IE.
Go To
Tools->Internet Options->Security
then Select Local Intranet .
Check all the three options and remove check from “Automatically detect Intranet network”.
From now on, the application will always run as administrator if you use the shortcut to launch it
Reference: http://www.howtogeek.com/howto/windows-vista/always-start-an-application-in-administrator-mode-on-windows-vista/
So another problem is we cannot delete the web application sometimes. To do that:
Step 1: Need to enable spAdminv4 service.
Step 2: Run Comand and type
SC CONFIG SPAdminV4 start= auto
SC START SPAdminV4

Step 3: Then Open Sharepoint PowerShell and Type:
Remove-SPWebApplication -Identity http://sitename -DeleteIISSite -RemoveContentDatabase

No comments:

Post a Comment