如果您想手动修改包中的连接管理器配置生成的 XML 到不同的服务器,您究竟在哪里(以及在多少个地方)修改了服务器名称?另外,您修改这些信息的地方的基本原理是什么?
q1。在下面的 xml 中,我通过更改连接管理器中的服务器名称并重新运行属性配置来生成,为了通过直接修改 XML 手动更改服务器,看来您将在之后修改服务器Data Source =
名称
Package.Connections[StagingConn].Properties[ServerName]" ValueType="String"><ConfiguredValue>
这个对吗?
q2。下面的 xml 是通过更改连接管理器本身然后重新生成属性配置而产生的。原来的服务器是
NYCDSTGDWDB01\NADVSTG1EDW
并且更改为服务器是
NYGNACKENSON2\NADEV1EDW
当我切换服务器并重新生成包配置 XML 时,应用程序部分的用途是什么
Name=SSIS-ExtractCRMStage_BusinessUnit-{8ECEE79B-793C-4E54-A659-C487265700DD}NYCDSTGDWDB01\NADEVSTG1EDW
?为什么在那个地方没有更改服务器名称?
Path="\Package.Connections[StagingConn].Properties[ConnectionString]" ValueType="String"><ConfiguredValue>**Data Source=**NYGNACKENSON2\NADEV1EDW;Initial Catalog=WeightWatchersStaging;Provider=SQLNCLI10.1;
Integrated Security=SSPI;Auto Translate=False;Application Name=SSIS-ExtractCRMStage_BusinessUnit-{8ECEE79B-793C-4E54-A659-C487265700DD}NYCDSTGDWDB01\NADEVSTG1EDW.WeightWatchersStaging;</ConfiguredValue></Configuration><Configuration ConfiguredType="Property" Path="\Package.Connections[StagingConn].Properties[Description]" ValueType="String"><ConfiguredValue></ConfiguredValue></Configuration><Configuration ConfiguredType="Property" Path="\Package.Connections[StagingConn].Properties[InitialCatalog]" ValueType="String"><ConfiguredValue>WeightWatchersStaging</ConfiguredValue></Configuration><Configuration ConfiguredType="Property" Path="\Package.Connections[StagingConn].Properties[Name]" ValueType="String"><ConfiguredValue>StagingConn</ConfiguredValue></Configuration><Configuration ConfiguredType="Property" Path="\Package.Connections[StagingConn].Properties[Password]" ValueType="String"><ConfiguredValue></ConfiguredValue></Configuration><Configuration ConfiguredType="Property" Path="\Package.Connections[StagingConn].Properties[ProtectionLevel]" ValueType="Int32"><ConfiguredValue>1</ConfiguredValue></Configuration><Configuration ConfiguredType="Property" Path="\Package.Connections[StagingConn].Properties[RetainSameConnection]" ValueType="Boolean"><ConfiguredValue>0</ConfiguredValue></Configuration><Configuration ConfiguredType="Property" Path="\Package.Connections[StagingConn].**Properties[ServerName]" ValueType="String"><ConfiguredValue>**NYGNACKENSON2\NADEV1EDW</ConfiguredValue></Configuration><Configuration ConfiguredType="Property" Path="\Package.Connections[StagingConn].Properties[UserName]" ValueType="String"><ConfiguredValue></ConfiguredValue></Configuration></DTSConfiguration>