今天遇到一个问题才知道如果安装了命名实例 SSIS Service 需要手动更改配置文件...

Configuring the Integration Services Service 

Updated: 14 April 2006

Microsoft SQL Server 2005 Integration Services (SSIS) includes a configuration file for configuring the Integration Services service.

By default, the file is located in the folder, Program Files\Microsoft SQL Server\90\DTS\Binn, and the file name is MsDtsSrvr.ini.xml.

The default configuration file contains the following settings:

  • Packages are sent a stop command when the service stops.
  • The root folders to display for Integration Services in Object Explorer of SQL Server Management Studio are the MSDB and File System folders.
  • The packages in the file system that the Integration Services service manages are located in %Program Files%\Microsoft SQL Server\90\DTS\Packages.

You can modify the configuration file to allow packages to continue running if the service stops, to display additional root folders in Object Explorer, or to specify a different folder or additional folders in the file system to be managed by Integration Services service.

The registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTS\ServiceConfigFile specifies the location and name for the configuration file that Integration Services service uses. The default value of the registry key is C:\Program Files\Microsoft SQL Server\90\DTS\Binn\ MsDtsSrvr.ini.xml. You can update the value of the registry key to use a different name and location for the configuration file.

ms137789.Caution(en-US,SQL.90).gifCaution:
Incorrectly editing the registry can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from editing the registry incorrectly can be resolved. Before editing the registry, back up any valuable data. For information about how to back up, restore, and edit the registry, see Microsoft Knowledge Base article 891957.

 

 

The Integration Services service loads the file when the service is started. Any changes to the registry entry require that the service be restarted.

The configuration file can be updated by using a text editor. After you modify the service configuration file, you must restart the service to use the updated service configuration.

ms137789.note(en-US,SQL.90).gifNote:
Some characters are not valid in folder names. Valid characters for folder names are determined by the .NET framework class System.IO.Path and the InvalidPathChars field. The InvalidPathChars field provides a platform-specific array of characters that cannot be specified in path string arguments passed to members of the Path class. Invalid characters might include the quotation mark ("), less than (>) character, and pipe (|) character.

 

 

If you are connecting to a named instance of SQL Server you must update the configuration file to specify the named instance.

minus.gifDefault Configuration File

The following XML code shows an example of a default configuration file for Integration Services. It specifies that packages stop running when the Integration Services service stops, that the root folders in Integration Services are MSDB and File System, and that the packages in the Packages folder are monitored by the service.

This file is for the default instance of instance of SQL Server.

<?xml version="1.0" encoding="utf-8"?> <DtsServiceConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <StopExecutingPackagesOnShutdown>true</StopExecutingPackagesOnShutdown> <TopLevelFolders> <Folder xsi:type="SqlServerFolder"> <Name>MSDB</Name> <ServerName>.</ServerName> </Folder> <Folder xsi:type="FileSystemFolder"> <Name>File System</Name> <StorePath>..\Packages</StorePath> </Folder> </TopLevelFolders> </DtsServiceConfiguration>
minus.gifConfiguration File for a Named Instance of SQL Server

The following XML code shows an example of a modified configuration file for Integration Services. This file is for a named instance of SQL Server called InstanceName on a server named ServerName.

<?xml version="1.0" encoding="utf-8"?> <DtsServiceConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <StopExecutingPackagesOnShutdown>true</StopExecutingPackagesOnShutdown> <TopLevelFolders> <Folder xsi:type="SqlServerFolder"> <Name>MSDB</Name> <ServerName>ServerName\InstanceName</ServerName> </Folder> <Folder xsi:type="FileSystemFolder"> <Name>File System</Name> <StorePath>..\Packages</StorePath> </Folder> </TopLevelFolders> </DtsServiceConfiguration> <?xml version="1.0" encoding="utf-8"?> <DtsServiceConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

转载于:https://www.cnblogs.com/coldwine/archive/2006/04/18/377894.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值