There are a lot of materials on the Internet, but it seems that they are all about theory. At least I didn't find anyone doing experiments. Recently I started a manual operation on a virtual machine.
In Moss Environment, due to some reasons, such as Operation errors Metabase Bad, IIS Appears Service unavailable And so on. To reinstall IIS, But do not want to back up and restore Moss Or reinstall Moss There are two common ideas: IIS The whole backup is reinstalled and then restored; the other is reinstalled. IIS Then, run" SharePoint Product and Technical Configuration Wizard, open the management center site, and then add other Web ApplicationProgram.
My virtual machine environment is
Windows Server 2003 Enterprise Edition SP1
In IIS 6.0
SQL Server 2005Enterprise Edition
Sharepoint Server 2007
First, let's look at the first idea. FirstIISBack up data while it is running normally,
Click "create backup ":
Enter a backup name. I didn't use a password to encrypt the backup here. Then, make sure that the backup file is stored in"Windows \ system32 \ inetsrv \ metaback"Path.
Then uninstallIISAnd re-install, this step is very familiar to everyone, the specific steps are omitted. First, testIs IISAvailable, you can easily create a site, no problem. Then, similar to the above operation, restore the backup just now. After the backup is completed,IISIt looks like we did before reinstalling, but the problem is that no matter which website you visit, what you get isService unavailableThe same is true for recreating a site. I have tried again.Aspnet_regiisCommand reinstallation. NET FrameworkNo. I have never found the reason. If any one of my friends knows the problem, I will fail to use this Backup recovery method.
Then we will test the second idea. Uninstall firstIIS, And then reload and testIIS, No problem, available. Then run"SharePointProduct and Technical Configuration WizardIISThe previous management center site will be created, direct access to the prompt that the corresponding page cannot be found, useAspnet_iisCommand reinstalled. NET FrameworkAfter, it is harmonious. You can go in the management. The following operations are as follows:
First, go to application management.---SlaveIISDelete websiteSharePoint, Select an application,
on" delete " IIS select" yes "on the" website "option. OK,
Go to Application Management-Create or expandWebApplications---Extend existingWebApplication, select the application we just operated, as shown in the figure above I amHttp: // win2k3r2: 8090/, Re-use the previous port to create yourIISWebsite, OK.
At this timeWebconfigThe file is restored to the initial settings. If your website has not been customized, for exampleWebpartsAnd user-defined controls. However, if the website has been customized and developed, you need to modifyWebconfigFile, and you need to re-DLLCopyGACMedium(ApplicationsBinFolder does not need to be copied again). OthersWebApplication recovery is similar to this operation process.