Tuesday, June 28, 2011

Change sharepoint web application IIS local folder

If you ever need to change the IIS local folder of a sharepoint web application,



Navigate to Central Admin -> Application management
Click on Delete Web application
Drop IIS only! Not Content database
Create new web application with some temp database name and same host header as before.
Do not create any site collections
Navigate to content databases -> remove temp database. You can ask your DBA to permanently remove the temp db later
Open command prompt under farm account and type,
stsadm -o addcontentdb -databasename "old db name" -url "url name"

No comments:

Post a Comment