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

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


Please or Register to post comments.

IT/Dev Connections

Las Vegas
September 30th - October 4th

Paul ThurottYou'll have the opportunity to experience:
• The Microsoft
Technology Roadmap
• Office 365 Implementation
• Hyper-V Optimizing
• Windows 8 Deployment
and much more!

Come See Paul Thurrott & Rod Trent in Person!

Early Registration Now Open

Upcoming Training

Mastering System Center 2012

During over 6 hours of training you can join John Savill from your computer as he will walk you through the key components and capabilities of System Center 2012, what’s involved in using the components, and the benefit they can bring to your environment.

Register Now

Current Issue

May 2013 - The NameTranslate object is useful when you need to translate Active Directory object names between different formats, but it's awkward to use from PowerShell. Here's a PowerShell script that eliminates the awkwardness.

CURRENT ISSUE / ARCHIVE / SUBSCRIBE

Windows Forums

Get answers to questions, share tips, and engage with the Windows Community in our Forums.