Summary of Changes to the MineMarket Data Service Config File

Important: If changing any port numbers, review the summary of all Default Port Numbers.

In DataService.exe.config on the machine where the MineMarket Data Service is installed:

  • The pagination limit may be changed from the default value.
    Copy
    <add key="ODataPageSize" value="500" />
  • The following connection strings can be updated with the Application Configuration Editor.
    Copy
    <add name="MineMarketServerURL" connectionString="tcp://localhost:8085/ClientManager" />
    <add name="DataMartDataContext" connectionString="Data Source=localhost; Initial Catalog=DataMart; Integrated Security=True;MultipleActiveResultSets=True" providerName="System.Data.SqlClient" />
  • The port number in the following code must match the port number in BulkTrak.Server.exe.config and BulkTrak.Service.exe.config on the Application Server.

    Both the server name and port number can be updated with the Application Configuration Editor.

    Copy
    <endpoint address="net.tcp://localhost:17040" binding="netTcpBinding" bindingConfiguration="TCPForServiceStatusNotification" contract="IMS.ServiceInstrumentation.WCF.ServiceContracts.IServiceStatusListener" />
  • A different path and file name can be specified in the following code in the log4net section. The logging level can be changed to DEBUG or ERROR. The DEBUG logging level should only be used while investigating errors.
    Copy
    <appender name="RollingLogFileAppender" type="log4net.Appender.RollingFileAppender">
      <file type="log4net.Util.PatternString" value="%property{DefaultLogName}" />
      <threshold value="INFO" />
      <preserveLogFileNameExtension value="true" />
      <immediateFlush value="true" />
      <appendToFile value="true" />
      <rollingStyle value="Size" />
      <maxSizeRollBackups value="9" />
      <maximumFileSize value="1MB" />
      <staticLogFileName value="true" />
      <layout type="log4net.Layout.PatternLayout">
        <param name="ConversionPattern" value="%date - %message%newline" />
      </layout>
    </appender>

Updates and Upgrades

To generate a new file:

  1. Rename the existing DataService.exe.config (previously called Data.Services.MineMarket.Hosting.exe.config) file in the MineMarket\Data Services installation folder, so that it can be used for reference purposes.
  2. Run the MineMarket installation package on a separate machine and copy the DataService.exe.config file to the MineMarket\Data Services installation folder.
  3. Configure the MineMarket Data Service as required. See Configure the MineMarket Information Services.

Note: Even for implementations with custom integrations, Datamine does not recommend trying to update configuration files from MineMarket 5.5.10 or earlier.