Installation

Since version 10.0, the Data Replication Server is installed with the Mi-Enterprise Apps and Mi-Forms Server. The installer will install 2 web applications:

  • MFS - The Mi-Enterprise Apps and Mi-Forms Server application
  • DRS - The Data Replication Server


After installation, IIS should be configured with the 2 web applications. 


Configuration

Although the installer will install both applications, each has their own licensing requirements so actual functionality will be determined by your license level.


The Mi-Enterprise Apps and Mi-Forms Server will be used by the Data Replication Server to authenticate users who have the correct privileges to interact with the Data Replication Server. Once authenticated, the Data Replication Server will provide data related services and interact with a Data Replication database hosted by a SQL Server connection.


Configure Mi-Enterprise Apps and Mi-Forms Customer

  • Create a Customer
  • Create a Data Replication group with members who will upload data from a data source.
    • Create a Data Replication group with privileges for "Data Replication - Admin" *.
or
    • Create a Data Replication group with privileges for "Data Replication - Writer" *. 
  • Create a Data Replication group with privileges for "Data Replication - Reader" *.
  • Assign users to the Data Replication Admin or Writer group above.
  • Assign users to the Data Replication Reader group above.  


* (If this privilege is not available, the server license is not configured to support Data Replication)


Configure the Data Replication Server

  • Edit the web.config file (by default, c:\inetpub\wwwroot\DRS\web.config)
    • For the connection string, set both to a valid sql server instance and a (new) name of a Data Replication database (The database does not yet need to be created).
    • In the "appSettings" and "applicationSettings" sections, modify all entries to reference the Mi-Enterprise Apps (Mi-Forms Server) location.

    For instance…


     <appSettings>
        <add key="MiFormUrl" value="http://localhost/MFS" />
        <add key="MiFormAuthServices" value="http://localhost/MFS/Services/AuthServices.asmx" />
     </appSettings>


    And


     <applicationSettings>
     <MiCo.MiApp.DataReplication.Server.Properties.Settings>
     <setting name="MiCo_MiApp_DataReplication_Server_MiFormWebService_AuthServices" serializeAs="String">
            <value>http://localhost/MFS/Services/AuthServices.asmx</value>
     </setting>
     </MiCo.MiApp.DataReplication.Server.Properties.Settings>
     </applicationSettings>


    This will *most likely* already be done, using the default installation settings for Mi-Enterprise Apps Server.

    • Ensure that the identity that is used while connecting to the database has sufficient privileges to create and modify databases and create/delete/modify/etc  schema/data.
      • If using SQL Auth, modify permissions in SQL Server Management Studio for this user.
      • If Windows Auth, add the windows identity used by the Data Replication web app to the SQL Instance with required permissions.

    The Data Replication server does not have a standard web site for login by users. It is a site that will handle RESTful services from data adapters and data replication clients. However, if you visit:

    http://[hostname]/DRS/

    Your page should be blank and the database for Data Replication will have been created in SQL Server. If this takes place, your Data Replication server is ready to go.