SharePoint Server 2010 Deletes a Web application

Source: Internet
Author: User

Before SharePoint Server 2010 deleted the Web application because of the tests, many Web applications were created on the SharePoint server (SharePoint server that I installed on the native Win7 system) and now need to add some of the unimportant web        The application is removed. In Central Administration--Manage Web applications--Select specific Web applications.
Click Delete. The Central Administration pop-up box displays:
I'm not quite familiar with the possible consequences of these options.        So I found some related descriptions on the web. Microsoft's official description is this: When you delete a WEB application, you have the option to delete the content database and the IIS Web site. If you delete a content database, all site content contained in those databases is deleted. If you delete the IIS Web site, all IIS metabase entries related to the Web application are also deleted. If you delete only the Web application without deleting the content database and the IIS Web site, other Web applications can reuse the content database and the IIS Web site.
Typically, you will delete a WEB application for ease of maintenance or refactoring of the farm.
If you host content or applications other than SharePoint content on the IIS Web site that hosts the WEB application, you may want to consider not removing the IIS Web site. Also, if you are performing maintenance work, you may want to keep the IIS Web site. However, if you only host SharePoint content on the IIS Web site, or if you intend to perform a full refactoring, you will need to delete the IIS Web 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 re-create the WEB application and reattach the existing content database with the settings you want. If you delete a content database, your content will disappear permanently unless you have a backup to restore the content database.
Therefore, before deleting, it is necessary to understand the consequences of deleting the IIS Web site and content databases and to make sure that you have backed up the Web application you want to delete in case you need to restore for some reason.        You can also delete a Web application from PowerShell. First you must also be a member of the local Administrators group on the computer that is running 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 application at Http://sitename. However, the content database or the IIS Web site is not deleted.

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.