My web application is corrupted, how do I create a new content database using the same web application?

What can I do ? I need to use same web application but with a new content database, I don't care about old data at all.


Go to Central administration -> Application Management-> Database -> Manage Content Database. Select the required web application and delete the content database associated with it. After that add a new content database and use Mount-SPContentDatabase command to attach newly created content database to it. Example:

Mount-SPContentDatabase "MyDatabase" -DatabaseServer "MyServer" -WebApplication http://sitename
  • thank you Nadeem, plz tell also how i create new content datbase – Mathematics Feb 2 '15 at 14:49
  • 1
    To add a new content database click on Add a content database on the same page. – Nadeem Yousuf-AIS Feb 2 '15 at 14:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.