IT Support in Seattle

Enter Your Information Below To

Book a Complimentary Review.

















CyberStreams will never sell or rent your contact information. Your info is secure with us.

Migrating a MOSS or WSS 3.0 from SQL Express to SQL 2005.

By:Christine Fettinger

This blog entry details the steps of migrating a SharePoint SQL backend from SQL Express to SQL 2005. I would like to say this was an easy deal, but it wasn’t, there were many hiccups that I did not expect to encounter and I have documented them all and how to fix each one that I have encountered (all registry hacks to prayers ;-))
Here we go…

PRE-REQ’s

– Install SQL 2005 on your secondary Server or VM (microsoft does not recommend to Virtualize SQL, but it has worked for some ;-))

– Install SQL SQL Management Studio or SQL Management Studio Express (click to download)

Backup all Custom Solutions, Web Parts and Templates


SQL TASKS:

1.) Backup the Content Database associated with your SharePoint site within your SQL Server Express installation

2.) Copy to new server

3.) Restore the Content Database within your new Installation of SQL Server 2005

SharePoint TASKS:

1.) Disconnect the existing SharePoint server from the farm

• If a single server installation , In registry navigate to: KEY_LOCAL_MACHINE/Software/Microsoft/Shared Tools/Web Server Extensions/12.0/WSS
• Change the ServerRole from “Singleserver” to “Application”

3.) I used “Spadmin” as the service account for SharePoint so create the user account in AD “spadmin” account to local administrators group of the SharePoint server as well as adding to all the IIS worker process groups (IIS_WPG ,WSS_WPG, WSS_Admin_WPG, WSS_RESTRICTED_WPG)

4.) Run the SharePoint products and technologies wizard and connect your new SQL server

IF ERROR!: If Fails @ step 7 stating that the provisioning of Central administration failed.

Check to find if SharePoint central administration already existing in IIS Unprovision IIS using the command “psconfig -cmd adminvs -unprovision”
Stop the Central administration web site in IIS
Provision New Central administration site on port 49999 using the following command – “psconfig.exe -cmd adminvs -provision -port 49999″
Test to see if you can browse the Central administration

5.) Then create a new web application on port 80 with SSL

Create a new web application on port 80 with team site collection
Test if you can browse to the site
Then deploy the certificate on the site

6.) In Alternate Access Mappings within the Central Admin Console add:

• https://SHAREPOINTSITE in intranet zone
• https://hostname.SHAREPOINTSITE.com in custom zone

7.) In IIS we added the host header “hostname.sharepointsite.com” for the site http://SHAREPOINTSITE

IF ERROR!:You try to browse the site it was prompts for the user credentials and does not permit the user to access

Open Registry and navigat to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Ls
Under Lsa, created a new DWORD Value with the name “DisableLoopbackCheck”,
Modify the Value data box, and give the value as 1, OK.
Restart the Sharepoint Server
Test if you can browse the site

8.) Import all Application Templates and Solutions using the commands you used during your first installation like the “Fab 40″ (click here to download)

If you forgot here is how to do so: http://www.microsoft.com/downloads/details.aspx?FamilyID=aae4cb5a-91d2-4f1b-9a45-3bb894e218f8&DisplayLang=en#Instructions

9.) Remove the new content database for the web application from “Content databases” in central administration

10.) Add the migrated production database using the following command:
stsadm -o addcontentdb -url http://SHAREPOINTSITE -databasename ContentDB

11.) Test Site Access – SUCCESS!

Additional Recommendations/Reference links:

Configuring ISA Server with SharePoint
http://technet.microsoft.com/en-us/library/cc268368.aspx

Configuring Kerberos Authentication with SharePoint
http://support.microsoft.com/kb/953130

Site collection quotas and locks

http://office.microsoft.com/en-us/winsharepointadmin/HA011607941033.aspx

Manage site quotas and locks

http://technet.microsoft.com/en-us/library/cc263050.aspx

Office SharePoint server 2007

http://technet.microsoft.com/en-us/library/cc303422.aspx

Moss Architecture and shared service provider

http://blogs.msdn.com/martinkearn/archive/2006/06/06/MOSS-Architecture-_2600_-Shared-Services.aspx

Configure Alternate Access Mapping

http://technet.microsoft.com/en-us/library/cc263208.aspx

Record Center

http://office.microsoft.com/en-us/sharepointserver/CH101824451033.aspx

Record center file processing

http://msdn.microsoft.com/en-us/library/ms572337.aspx

Configure Navigation Inheritance

http://office.microsoft.com/en-us/sharepointserver/HA101182021033.aspx

Managing Site Groups and Permissions

http://technet.microsoft.com/en-us/library/cc288440.aspx

Plan Site Security

http://technet.microsoft.com/en-us/library/cc262778.aspx

White paper: Evaluation guide for search in Office SharePoint Server
http://technet.microsoft.com/en-us/library/cc263131.aspx

Plan to deploy index and query servers
http://technet.microsoft.com/en-us/library/cc179404.aspx

SharePoint Administration Toolkit (Office SharePoint Server)
http://technet.microsoft.com/en-us/library/cc508851.aspx

http://technet.microsoft.com/en-us/library/cc288507.aspx

http://technet.microsoft.com/en-us/library/cc262920.aspx

http://technet.microsoft.com/en-gb/library/cc179511.aspx

http://technet.microsoft.com/en-gb/library/cc179390.aspx

http://technet.microsoft.com/en-us/office/sharepointserver/default.aspx