Tuesday, April 19, 2016

visual upgrade failed _catalogs/masterpage/v4.master

We may face this error while doing visual upgrade for migrated site. Here is the steps to resolve this error.
  • Create a new subsite under migrated site
  • Copy the v4master from Site Settings -> Galleries -> Master Pages
  • Then upload this master page in top level site
  • Now visual upgrade will be working fine

Thursday, April 7, 2016

Attach Content Database with SharePoint WebApplication


I am going to explain how to attach a content database with SharePoint Web Application. Follow the below steps to attach DB

  • First Restore the content database in local sql server
  • Open the powershell, first test the db for safer side. Give  Test-SPContentDatabase -name yourcontentdbname -WebApplication "yourwebapplication"
  • It will give some exception if the DB is not attachable with web application
  • Then mount the database,  Mount-SPContentDatabase "yourcontentdbname" -WebApplication yourwebapplicationname
  • It will show the progress of mounting DB
  • We will get 100% notification once DB mounted