Monday, March 15, 2010

Reinstalling SharePoint 2010

I recently tried to take a couple of SharePoint 2010 servers from the Beta install bits to the Release Candidate install bits and wanted to do that without having to reinstall the OS. I didn’t have access to the physical machine and wasn’t charged with maintaining the OS so in spite of SharePoint’s poor track record SharePoint uninstalls in previous versions, I thought I’d give it a try.

After uninstalling SharePoint 2010 Beta and restarting the server, it initially looked promising. The first part of the install where it installs the software worked fine. I hit the first snag when running the SharePoint 2010 Products Configuration Wizard. The Wizard started, said that “This wizard will upgrade SharePoint Products.” which didn’t bode well for the uninstall being successful. After prompting for the configuration settings (configuration database server and configuration database name) although not allowing me to change them from my previous install settings (I was hoping that I could give it a new config DB name), it failed with this message:
Configuration Failed
One or more configuration settings failed. Completed configuration settings will not be rolled back. Resolve the problem and run this configuration wizard again. The following contains detailed information about the failure:
Failed to initial the upgrade sequence.
An exception of type Microsoft.SharePoint.Upgrade.SPUpgradeException was thrown. Additional exception information: Exception of type ‘Microsoft.SharePoint.Upgrade.SPUpgradeException’ was thrown.


Given this error, I thought the next logical step was to delete the SharePoint config database myself and re-run the Products Configuration Wizard. Again, the wizard said that it would upgrade SharePoint products and let me proceed to the next step. It then
failed again with this message.
Configuration Failed
One or more configuration settings failed. Completed configuration settings will not be rolled back. Resolve the problem and run this configuration wizard again. The following contains detailed information abou the failure:
Failed to initialize SharePoint Products upgrade.
An exception of type System.Data.SqlClient.SqlException was thrown. Additional exception information: Cannot open database “ShaerPoint_Config” requested by the login. The login failed.

After a little more research, I found that I could modify the value of the
“SetupType” key in the HKLM\Software\Microsoft\Shared Tools\Web Server Extensions\14.0\WSS registry hive from B2B_Upgrade to CLEAN_INSTALL. Once I did that, I ran the Products Configuration Wizard again and got a new error in a pop-up dialog. This error was:
Failed to detect if this server is joined to a server farm. Possible reasons for this failure could be that you no longer have the appropriate permissions to the server farm, the database server hosting the server farm is unresponsive, the configuration database is inaccessible or this server has been removed from the server farm.



But this time, the Products Configuration Wizard gave me the option to “Disconnect from this server farm:” and finish. After finishing, I re-ran the Products Configuration Wizard one more time and hit just one more snag. SharePoint does not like installing if there is already a IIS web site in place called SharePoint Central Administration. Once I deleted that web site, the Products Configuration Wizard completed successfully and SharePoint 2010 Release Candidate successfully installed and configured on my server.

4 comments:

  1. Thank you very much for this post!!

    ReplyDelete
  2. Thanks ALOT!!!! You saved my Time!!! Great Post!!!

    ReplyDelete
  3. You are a dude. Thanks a million, ton, pounds. I spent spleepless nights because of this issue. But your solution worked like charm.

    God bless ya.

    ReplyDelete