•Default configuration file: C:\Program Files\BINETIX\PTM\20xx\PTMWS\Web.config
•Instructions:
oUpdate all connection strings in the following XPath: /configuration/location/add[connectionString]
oTemplate for Integrated security: connectionString="Data Source=10.0.0.1;Initial Catalog=PTMDocOper;Integrated Security=True"
oTemplate for user-password based security: connectionString="Data Source=10.0.0.1;Initial Catalog=PTMDocOper;Persist Security Info=True;User ID=sa;Password=1234567"
•Configuration sample:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<configuration>
<configSections>
<section name="PTMServiceConfig" type="PTMConfig.PTMServiceConfig, PTMConfig, Version=1.0.0.1, Culture=neutral, PublicKeyToken=null"/>
<section name="PTMLoggerConfig" type="PTMTypes.LoggerConfig, PTMTypes, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"/>
<section name="PTMExtInterfaceConfig" type="PTMConfig.PTMExtInterfaceConfig, PTMConfig, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"/>
<section name="PTMDocOperConfig" type="PTMConfig.PTMDocOperConfig, PTMConfig, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"/>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="PTMExtInterfacesBGPOST.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
</sectionGroup>
<section name="PTMGatewayConfig" type="PTMConfig.PTMGatewayConfig, PTMConfig, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"/>
</configSections>
<location path="." inheritInChildApplications="false">
<connectionStrings>
<!-- ****** PTM Database Settings ****** -->
<add name="PTMPersistence.Properties.Settings.PTMDBConnectionString" connectionString="Data Source=10.0.0.1;Initial Catalog=PTMDocOper;Integrated Security=True" providerName="System.Data.SqlClient"/>
<add name="PTMPersistence.Properties.Settings.PTMSecurityDBConnectionString" connectionString="Data Source=10.0.0.1;Initial Catalog=PTMDocOper;Integrated Security=True" providerName="System.Data.SqlClient"/>
<add name="PTMDOPersistence.Properties.Settings.PTMDocOperConnectionString" connectionString="Data Source=10.0.0.1;Initial Catalog=PTMDocOper;Integrated Security=True" providerName="System.Data.SqlClient"/>
</connectionStrings>
...
</location>
</configuration>
|