Add to My Yahoo! | Google Reader or Homepage | Add to Windows Live | Add to Windows Live Alerts

Wictor Wilén

Microsoft Certified Master (MCM) - SharePoint 2010 | Microsoft Most Valuable Professional (MVP) - SharePoint Server MVP | Author

A solution to SharePoint SQL installation problems

Posted at 2008-09-18 09:25 by Wictor Wilén in SharePoint , SQL Server with 3 comments.

I have a few times failed to install Windows SharePoint Services or Microsoft Search Server Express, when I have come to a location where the SQL Server 2005 is already in place with custom configuration. The failures have occurred during the phase when the WSS is trying to create and configure the SQL Server. First time I had some troubles working it out, since I’m not a DBA, so I would like to share my solution since nothing is found on Google on this matter.

The installation fails during one of the first steps (don’t remember exactly but it’s second or third) and you get a link to the installation log file. In the log there are reported errors, such as this one:

05/08/2008 10:38:44  8  ERR Task configdb has failed with an unknown exception 
05/08/2008 10:38:44  8  ERR Exception: System.Data.SqlClient.SqlException: Ad hoc update to 
system catalogs is not supported. Configuration option 'show advanced options' changed from
0 to 1. Run the RECONFIGURE statement to install.

An other scenario is that SharePoint is during the installation trying to modify some of the SQL Server 2005 configuration parameters, such as the Min server memory (MB) to 128 MB. The error message then states

An exception of type System.Data.SqlClient.SqlException was thrown. 
Additional exception information: The affinity mask specified conflicts with the IO
affinity mask specified. use the override option to force this configuration. configuration option ‘min server memory (MB)’ changed from o to 128. Run the RECONFIGURE
statement to install

All you have to do to solve this is to execute the statements using SQL Management Studio and use the RECONFIGURE WITH OVERRIDE statement.

For example:

exec sp_configure 'allow updates', 1
reconfigure with override

allows updates to be done. To solve the second problem I have used

exec sp_configure 'min server memory (MB)', 128
reconfigure with override

Hope this helps somebody out.

Technorati tags: , , , , ,

Comments and trackbacks

#  share point installation issue by Giri vardhan
Hi Wictor, Thanks for the post. i need one clarification, Even though i got the error during during the database creation process, I still the database being created. It is normal.
#  share point installation issue by Giri vardhan
Hi Wictor, Thanks for the post. i need one clarification, Even though i got the error during during the database creation process, I still the database being created. It is normal.
#  @Giri by Wictor
Screenshot from websnpr Yes, the db is created most of the times. These steps is most often created post db-creation. Just fire up the query analyzer and run the Reconfigure statements
Make a comment on this post:
Subject:  

Your name:  
Your Url:  
Note: submissions may have to be approved before being visible, so don't submit your comment multiple times.