While attempting to install the SQL database and management tools from Microsoft on Windows 2008 R2 server that has XenApp 6.0 or later version installed, the following error occurs:
“Another version of Microsoft Visual Studio 2008 has been detected on this system that must be updated to SP1. Please update all Visual Studio 2008 installations to SP1 level, by visiting Microsoft update.”
The following table provides information about where the installation of SQL 2008 database and management tools fails.
Machine Type |
SQL 2008 database and management tools: Install |
XenApp Installed, Configured on Windows 2008 R2 using SQL Express as data store |
Fails |
XenApp Installed, Configured on Windows 2008 R2 using SQL Enterprise as data store |
Fails |
XenApp Installed, SQL NOT Configured on Windows 2008 R2 |
Fails |
Clean Windows 2008 R2 with no XenApp installed |
Success |
Citrix recommends installing the SQL database and management tools on a machine that does not have XenApp installed. After the database and management tools have been installed, connect to the specific database instance by using the Microsoft SQL Server Management Studio.
Run the following command, after installing XenApp 6.0 or later:
msiexec /i D:\x64\Setup\vs_shell.msi PATCH=D:\x64\Setup\VS90sp1-KB945140.msp /qb (where D:\ is the location of your SQL media)
Caution! Refer to the Disclaimer at the end of this article before using Registry Editor.
Open the Registry on XenApp machine using Start > Run > Regedit.
Browse for HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DevDiv\VS.
Rename this key to VS_1 or a similar name.
Install the SQL database and management tools.
Rename
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DevDiv\VS_1
to
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DevDiv\VS
Restart the XenApp machine.
Navigate to Start > All programs > Microsoft SQL Server 2008 > SQL Server Management Studio and connect to your database instance.