December 21, 2006

You receive an error when you attempt to install the UDDI Services database components on SQL Server 2005 running on Windows Server 2003?

RSS
Subscribe to Windows IT Pro | See More Tips Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

11121 » You receive an error when you attempt to install the UDDI Services database components on SQL Server 2005 running on Windows Server 2003? (21-Dec-06)

When you attempt to install the Microsoft Windows Server 2003 UDDI (Universal Description, Discovery, and Integration) Services components on Microsoft SQL Server 2005 running on Windows Server 2003, you receive:

This database instance does not meet the minimum version or Service Pack level requirements and cannot be used for installation. Please upgrade this instance or select another one.

This behavior occurs because the UDDI installation checks the value of the CSDVersion registry Value Name for SQL Server, which is used in SQL Server 2000, but not used for SQL Server 2005.

I have scripted SQL5Ver.bat to resolve this problem. The syntax for using SQL5Ver.bat is:

[call] SQL5Ver [InstanceName]

Where InstanceName is null if the instance of SQL Server 2005 is the default instance, or the instance name if the instance is a named instance.

When you run SQL5Ver.bat, you will be informed to install the UDDI Services database components and then delete a specific CSDVersion Value Name that the batch creates (and displays for you).

SQL5Ver.bat contains:

@echo off
setlocal
if {%1}=={} goto defi
set ni=%1
set ni=%ni:"=%
set key="HKLM\SOFTWARE\Microsoft\Microsoft SQL Server\%ni%\MSSQLServer\CurrentVersion"
goto getver
:defi
set key=HKLM\SOFTWARE\Microsoft\MSSQLServer\MSSQLServer\CurrentVersion
:getver
set cv=0.0
for /f "Tokens=2*" %%a in ('reg query %key% /V CurrentVersion^|find /i "REG_SZ"') do (
 set cv=%%b
)
@echo reg add %key% /V CSDVersion /T REG_SZ /F /D "%cv%" 
reg add %key% /V CSDVersion /T REG_SZ /F /D "%cv%" 
@echo After installing the UDDI Services database components, run the following command:
@echo reg delete %key% /V CSDVersion /F
endlocal


End of Article



Windows IT Pro Community
Blogs





Top Viewed ArticlesView all articles
WinInfo Short Takes: Week of November 23, 2009

An often irreverent look at some of the week's other news, including some post-PDC some soul searching, a Google Chrome OS announcement and a Microsoft response, Windows 7 off to a supposedly strong start, the Jonas Brothers and Xbox 360, and so much more ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

2009 Windows IT Pro Editors' Best and Community Choice Awards

Picking a favorite product from an impressive crowd of competitive offerings is never an easy task, and such was the case with our Editors' Best and Community Choice awards this year. ...


Related Events Deep Dive into Windows Server 2008 R2 presented by John Savill

7 Ways To Get More From Your SharePoint Deployment Now

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


SQL Server Magazine Office & SharePoint Pro DevProConnections asp.netPRO ITTV
IT Library Technology Resource Directory Connected Home Windows SuperSite
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc.     Terms of Use | Privacy Statement