事件日志警告指定配置文件的注册表设置不存在

事件日志警告指定配置文件的注册表设置不存在
Microsoft SSIS Service: 
Registry setting specifying configuration file does not exist. 
Attempting to load default config file.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

这是我的 MsDtsSrvr.ini.xml

<?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>.\SQL2008</ServerName>
    </Folder>
    <Folder xsi:type="FileSystemFolder">
      <Name>File System</Name>
      <StorePath>..\Packages</StorePath>
    </Folder>
  </TopLevelFolders>
</DtsServiceConfiguration>

我发现微软我需要更新我的注册表。但唯一的条目 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\100\SSIS\ServiceConfigFile 没有(Default)任何值。

我必须在注册表中添加什么才能不再出现此错误?

答案1

在您的注册表中,转到:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSDTS\ServiceConfigFile

或者

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\100\ServiceConfigFile 

如果值为空则添加:

C:\Program Files\Microsoft SQL Server\100\DTS\Binn\MsDtsSrvr.ini.xml

答案2

对于 SQL Server 2014,注册表项位置为

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\120\SSIS\ServiceConfigFile

(Default)注册表值应该是

C:\Program Files\Microsoft SQL Server\120\DTS\Binn\MsDtsSrvr.ini.xml

相关内容