Each of the client programs has an associated .config file that must be edited to suit each environment.

GUI Client

Config File:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
      <section name="ScwsWpfClient.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
      <section name="WpfApplication1.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
    </sectionGroup>
  </configSections>
  <applicationSettings>
    <ScwsWpfClient.Properties.Settings>
      <setting name="MMReasons" serializeAs="String">
        <value>PlannedOther,UnplannedOther,PlannedHardwareMaintenance,UnplannedHardwareMaintenance,PlannedHardwareInstallation,UnplannedHardwareInstallation,PlannedOperatingSystemReconfiguration,UnplannedOperatingSystemReconfiguration,PlannedApplicationMaintenance,UnplannedApplicationMaintenance,ApplicationInstallation,ApplicationUnresponsive,ApplicationUnstable,SecurityIssue,LossOfNetworkConnectivity</value>
      </setting>
      <setting name="defaultMins" serializeAs="String">
        <value>5</value>
      </setting>
      <setting name="rms" serializeAs="String">
        <value>localhost</value>
      </setting>
      <setting name="WebServiceUrl" serializeAs="String">
        <value>http://localhost/scws/om.asmx</value>
      </setting>
    </ScwsWpfClient.Properties.Settings>
  </applicationSettings>
</configuration>

At the very least, the WebServiceUrl will need to be changed to reflect the location of the SCWS web service.

Console Client

Config file:

<?xml version="1.0"?>
<configuration>
	<configSections>
		<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
   <section name="ScwsClient.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
   <section name="SystemCenterWebServicesClient.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
		</sectionGroup>
	</configSections>
 <startup/><applicationSettings>
  <ScwsClient.Properties.Settings>
   <setting name="WebServiceUrl" serializeAs="String">
    <value>http://localhost/scws/om.asmx</value>
   </setting>
  </ScwsClient.Properties.Settings>
 </applicationSettings>
</configuration>

Again, change the WebServiceUrl here to suit your environment.

Last edited Feb 1, 2011 at 8:52 AM by matthewwhite, version 2

Comments

No comments yet.