Microsoft KB Archive/919131

= You may experience problems when you try to run a SQL Server 2000 DTS package after you upgrade all the instances of SQL Server 2000 to SQL Server 2005 =

Article ID: 919131

Article Last Modified on 1/15/2007

-

APPLIES TO


 * Microsoft SQL Server 2005 Standard Edition
 * Microsoft SQL Server 2005 Workgroup Edition
 * Microsoft SQL Server 2005 Developer Edition
 * Microsoft SQL Server 2005 Enterprise Edition

-





Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry



SYMPTOMS
Consider the following scenario. You upgrade all the instances of Microsoft SQL Server 2000 to SQL Server 2005. Then, you try to run a SQL Server 2000 Data Transformation Services (DTS) package. In this scenario, you may experience the following problems:  When you try to run the SQL Server 2000 DTS package by using the dtsrun command prompt utility, you receive the following error message:

'dtsrun' is not recognized as an internal or external command, operable program or batch file.

 When you try to run the SQL Server 2000 DTS package in a scheduled SQL Server Agent job, you receive an error message that resembles the following:

The process could not be created for step 1 of job 0x551C5F1D36265B4DA67502C6E2E549AF (reason: The system cannot find the file specified). The step failed.

 When you try to edit the SQL Server 2000 DTS package by using SQL Server Management Studio or by using the Execute DTS 2000 Package task in Business Intelligence Development Studio, you receive an error message that resembles the following:

SQL Server 2000 DTS Designer components are required to edit DTS packages. Install the special Web download, &quot;SQL Server 2000 DTS Designer Components&quot; to use this feature. (Microsoft.SqlServer.DtsObjectExplorerUI)

 Other applications that depend on SQL Server 2000 DTS functionality do not work correctly. For example, if you use a third-party scheduling tool or if you call DTS package execution from a custom interface, the applications do not work correctly.

Note You do not experience a consistent set of symptoms when the applications do not work correctly.

When you experience these problems, no DTS log data is created.



CAUSE
This problem occurs because the applications that are used to run the SQL Server 2000 DTS package cannot find the SQL Server 2000 DTS runtime.

Support for SQL Server 2000 DTS is installed automatically when you install SQL Server 2005 Integration Services. However, some of the registry settings and some of the environment settings that SQL Server 2000 DTS requires are deleted when you upgrade the last instance of SQL Server 2000. This behavior is caused by the code in SQL Server 2000 Setup that uninstalls the SQL Server 2000 components. At the end of the upgrade, the directory that contains the SQL Server 2000 DTS binaries is no longer present in the PATH system environment variable. Additionally, a registry entry that directs applications to these binaries is deleted. Therefore, when you try to use SQL Server 2000 DTS functionality at a command prompt or as part of an application, the attempt fails.



RESOLUTION
To resolve this problem, use one of the following methods to repair the SQL Server 2005 Backward Compatibility Components.

If you use method 1, method 2, or method 3, we strongly recommend that you install the latest SQL Server 2005 service pack when you are finished. If you cannot do this, we recommend that you reinstall the SQL Server service pack that you were running before you repaired the SQL Server 2005 Backward Compatibility Components.

Additionally, if the problem involves SQL Server Agent, you must restart the SQL Server Agent service after you use one of these methods.

Method 1
Repair the SQL Server 2005 Backward Compatibility Components by using Add or Remove Programs in Control Panel. To do this, follow these steps:
 * 1) In Control Panel, open Add or Remove Programs.
 * 2) In the Currently installed programs list, click Microsoft SQL Server 2005 Backward compatibility.
 * 3) Click Change.
 * 4) In the Microsoft SQL Server 2005 Backward Compatibility Setup Wizard, click Next.
 * 5) On the Program Maintenance page, click Repair, and then click Next.
 * 6) To repair the SQL Server 2005 Backward Compatibility Components, click Install.

Method 2
Repair the SQL Server 2005 Backward Compatibility Components by running the redistribution file on the SQL Server 2005 setup media in repair mode. To do this, follow these steps:
 * 1) On the SQL Server 2005 setup media, locate the Servers\Setup folder, and then double-click the SQLServer2005_BC.msi file.
 * 2) In the Microsoft SQL Server 2005 Backward Compatibility Setup Wizard, click Next.
 * 3) On the Program Maintenance page, click Repair, and then click Next.
 * 4) To repair the SQL Server 2005 Backward Compatibility Components, click Install.

Method 3
Repair the SQL Server 2005 Backward Compatibility Components by running a command for unattended installation. To do this, follow these steps:  Obtain the product code of the installed SQL Server 2005 Backward Compatibility Components. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> Start Registry Editor.</li> Locate the following registry subkey:

</li> Press CTRL+F.</li> In the Find what box, type Microsoft SQL Server 2005 Backward compatibility, and then click Find Next.</li> Locate the parent registry subkey of the registry entry that is found. The product code is the name of this registry subkey. For example, the product code may be ABB9B19D-3D5A-4162-87B2-242C49E63D14.

The product code is also the value of the UninstallString registry entry in this registry subkey.</li></ol> </li> Obtain the full path of the SQLServer2005_BC.msi file.

Note For SQL Server 2005 32-bit installations on the 32-bit subsystem (WOW64) of a 64-bit server, use the SqlServer2005_BC_x64.msi file that is located on the original setup media.</li> At a command prompt, run one of the following commands:  If you want the status to be displayed during setup, run the following command:

msiexec /qb /fomus &quot; &quot; | &quot; \SQLServer2005_BC.msi&quot; /lv &quot; &quot;

</li> If you do not want the status to be displayed during setup, run the following command:

msiexec /qn /fomus &quot; &quot; | &quot; \SQLServer2005_BC.msi&quot; /lv &quot; &quot;

</li></ul>

Notes   is a placeholder for the product code of the installed SQL Server 2005 Backward Compatibility Components. The product code is different for each release, for each language, and for each installation of the SQL Server 2005 Backward Compatibility Components.</li>  is a placeholder for the full path of the SQLServer2005_BC.msi file.</li>  is a placeholder for the path of the log file. You can omit the /lv switch if you do not need a log file.</li></ul> </li></ol>

Method 4
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

Repair the SQL Server 2005 Backward Compatibility Components by manually updating the registry and the system path. To do this, follow these steps: <ol>  Create a .reg file that contains the following text. Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\80\Tools\ClientSetup] &quot;SQLPath&quot;=&quot;C:\\Program Files\\Microsoft SQL Server\\80\\Tools&quot; </li> <li>To update the registry, double-click the .reg file that you created in step 1.</li> <li> In the PATH system environment variable, add the following path. C:\Program Files\Microsoft SQL Server\80\Tools\Binn </li></ol>

Note In steps 1 and 3, you may have to update the path to reflect the actual location of the 80\Tools folder for the installation.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="moreinformation_section">

MORE INFORMATION
This problem does not occur if you install a new instance of SQL Server 2005 together with the existing SQL Server 2000 installation. However, this problem occurs if you uninstall all the instances of SQL Server 2000 after you do this. In this case, the methods to resolve the problem are the same as the methods in the &quot;Resolution&quot; section.

If you have multiple instances of SQL Server 2000 installed, this problem occurs only when you upgrade the last instance of SQL Server 2000. When you upgrade all the instances of SQL Server 2000, SQL Server 2005 Setup calls a part of the code that uninstalls SQL Server 2000. This code deletes the relevant settings for SQL Server 2000 DTS.

This article discusses the functionality of running a SQL Server 2000 DTS package in the SQL Server 2005 Integration Services environment. By design, you can directly edit a SQL Server 2000 DTS package by using SQL Server 2005 Integration Services. You can run a SQL Server 2000 DTS package and then migrate the package to the SQL Server 2005 Integration Services environment. However, if you want to edit a SQL Server 2000 DTS package and to leave it in the SQL Server 2000 DTS package format, you must install the SQL Server 2000 DTS Designer Components.

To download the SQL Server 2000 DTS Designer Components, visit the following Microsoft Developer Network (MSDN) Web site:

http://msdn2.microsoft.com/en-us/sql/aa336314.aspx

Keywords: kbsql2005ssis kbexpertiseadvanced kbtshoot kbprb KB919131

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.