Configuring Responder/Smart Grid
Configure Web.config

Version: 10.1

Resource Center Home

The Web.config configuration file is an XML file that must be configured to point to your Responder database. You may edit the file by opening it in an XML application (such as XML Spy) or by opening it in a simple text editing program (such as Notepad). Web.config is installed in: C:\Inetpub\wwwroot\Responder\Web.config.

The Responder server also has a web.config file installed. This is a different file and SHOULD NOT BE MODIFIED. When configuring Web.config, ensure that you browse to the correct file using the path given in the previous paragraph.

In the Web.config file, look for specific XML tags and then edit the properties contained within those tags.

Connection Strings

Look for the <connectionStrings> tag. The <add> tag represents the connection information for your Responder database. You may have multiple <add> tags. The default connections are enclosed in comments, and you need to remove the comment tags if you are only going to update the example connection strings and use the updates. Below is a sample:

Copy Code
<connectionStrings>
  <add name="configuration" connectionString="Data Source=rice.minerville;User ID=userID;Password=password" 
        providerName="System.Data.OracleClient"/>
</connectionStrings>

Enter the connection information for your Responder database.

  • Name: Enter a unique name for your connection information. This name is referenced in the next section (Miner.com).
  • connectionString: Enter the connection string information for your Responder database.

Miner.com

Look for the <miner.com> tag. In this section you will set the globalConnection to the Name value of one of the connection strings set up in the previous section. For example:

Copy Code
<miner.com>
  <globalConnection globalConnectionStringName="configuration"></globalConnection>

 


Send Comment to documentation@schneider-electric.com