SharePoint Server 2010 Deletes a web App

Source: Internet
Author: User

SharePoint Server 2010 removes web apps because of previous tests.        When Sharepointserver is created in very many Web applications (I am a SharePoint Server installed on a native Win7 system), it is now necessary to remove some of the unimportant web applications. In Central Administration--Manage Web applications--Select specific Web applications.


Click Delete.

The Central Administration pop-up box displays:
The consequences of these options may occur. I'm not too familiar with it.

So on the network to find some related descriptive narrative.

Microsoft's official descriptive narrative is this: when you delete a WEB application. You have the option to delete the content database and the IIS site. Assuming that you delete a content database, all the site content that is included in those databases is deleted.

Assume that you delete an IIS site and remove all IIS metabase entries related to the WEB application at the same time. Assuming that you simply delete the Web application without deleting the content database and the IIS site, other Web applications can reuse the content databases and IIS sites.
usually. To facilitate maintenance or refactoring of the server farm, you will delete the Web application.


Assuming that you host content or applications other than SharePoint content on the IIS site that hosts the WEB application, you may want to consider not removing the IIS site.

Other than that. Assuming that you are running maintenance work, you may want to keep the IIS site.

But. Assume that you only host SharePoint content on an IIS site. Or you intend to run a full refactoring, you will need to delete the IIS site.


For example. If you want to temporarily delete a Web application to create the Web application under a different application pool, you might consider not removing the content database.

You can then create the Web application again and attach the existing content database again, using the settings that you want.

Assuming you delete a content database, your content will disappear permanently unless you have a backup to restore the content database.
So the requirement is before the deletion.        Learn about the consequences of removing the IIS site and content databases, and make sure that you have backed up the Web application that you want to delete in case you need to restore for some reason. You can also delete Web applications through PowerShell.

First you must also be a member of the local Administrators group on the computer that is executing central administration.        If you want to delete the content databases associated with this WEB application, you also need to have the sharepoint_shell_access role within those content databases. Start-All Programs--microsoft SharePoint 2010 Products--sharepoint Management Shell. Type the command: Remove-spwebapplication–identity http://sitename-Confirm
This command permanently deletes the Web app at Http://sitename. But do not delete the contents of the database, or IIS onsite.

Copyright notice: This article blog original article. Blogs, without consent, may not be reproduced.

SharePoint Server 2010 Deletes a web App

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.