0

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.

1 Answer 1

2

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
2
  • thank you Nadeem, plz tell also how i create new content datbase Commented Feb 2, 2015 at 14:49
  • 1
    To add a new content database click on Add a content database on the same page. Commented Feb 2, 2015 at 14:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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