Set up User service for multiple instances of ExamDeveloper
 Configure automatic email notifications

 ExamDeveloper setup home page

 

The following is applicable only for ExamDeveloper version 7.1612.0.0 and above.

It is important to ensure that all the values in the config files such as service name, URLs, username, and password are case-sensitive. ExamDeveloper may not run as expected if care is not taken to ensure that case sensitivity is maintained.

  1. Create a folder where you want to install the new instance of the Project service, such as C:\EDPS\ExamDeveloper_New\ (henceforth known as <EDPSinstallDir_New>) and copy all the contents of <SVNFolder>\Project\ or (<SVNFolder>\ProjectService\) to this folder.
     

  2. Open the various configuration files for the Project service located in C:\EDPS\ExamDeveloper_New\configs\ (<EDPSinstallDir_New>\configs\) - appSettings.configconnectionStrings.config, and log4net.config - with Notepad or a suitable text file editor.
     

  3. In the appSettings.configenter unique name and unique display name for the new instance of Project service, which is to be created and run on the application server.


    <add key="serviceDescription" value="ExamDeveloper Project Service Description_New"/>

    <add key="serviceDisplayName" value="UniqueProjectServiceDisplayName_New"/>
    <add key="serviceName" value="UniqueProjectServiceName_New"/>


    where,
    UniqueProjectServiceName_New and UniqueProjectServiceDisplayName_New are the unique name and display name given to the new instance of the Project service. These names needs to be unique per install and should not contain any space.
     

  4. In the appSettings.config, ensure that the values of the keys "basicAuthUserName" and "basicAuthPassword" match the values in ExamDeveloper httpClients.config of the keys "userName" and "password" respectively for the line with httpClientConfig name "Project" as in step 11 of Configure ExamDeveloper.


    <
    add key="basicAuthUserName" value="examDeveloper_New"/>
    <add key="basicAuthPassword" value="Dummy_Password_New"/>


  5. In the appSettings.config, if a line with the key "useSsl" exists, set the value to "true" as follows:

    <add key="useSsl" value="true"/>
     

  6. If a line with the key "relativeUri" exists, set the value to "UniqueProjectServiceName_New" as follows:

    <add key="relativeUri" value="UniqueProjectServiceName_New"/>

    where UniqueProjectServiceName_New is the name of the new instance of the Project service.

  7. In the connectionStrings.config, update connection string value to match the value from the EDRS connectionStrings.config file as in step 2.a of Install Additional Instance of EDRS for the new instance of EDRS.

    <connectionStrings>

        <add name="examDeveloper" connectionString="Data Source=WIN-VSGF1NBSVPB;Initial Catalog=ExamDeveloper_New;Persist Security Info=True;User ID=ExamDev_New;Password=P@ssw0rd_New" />
    </connectionStrings>
     

  8. Update the values in the <log4net> section of the log4net.config file as shown below to indicate the path where the log file for the new instance of the Project service is to be located.

    <log4net>

          <appender name="RollingFile" type="log4net.Appender.RollingFileAppender">
               <file value="C:\ExamDeveloperData\Logs\Project_New\Project.log" />
               

    The log file Project.log will get saved to the Project service folder by default (C:\EDPS\ExamDeveloper_New\ in our example). You can specify a different path to save it by modifying the value to something like "C:\ExamDeveloperData\Logs\Project_New\Project.log" as shown above.

Install the new instance of the Project service

  1. Open an Administrator command prompt and run the following command:


    netsh http add urlacl url=https://+:443/UniqueProjectServiceName_New
     user=Everyone

    where UniqueProjectServiceName_New is the name of the new instance of the Project service.

     

    If you get an error stating "Url reservation add failed" on running the above command, please ignore it as it means that this has already been taken care of.


  2. Open an Administrator command prompt (click the Start button, type "command" in the search box, right click Command Prompt in the search results that appear, and click Run as administrator from the context menu) and navigate to <EDPSinstallDir_New>.

  3. Run the following command to install the new instance of Project service:
    Project.exe install --sudo --localservice

Start the new instance of the Project service

  1. Once the service is installed successfully, to start the new instance of the Project service, open the Administrator command prompt.
  2. Navigate to <EDPSinstallDir_New> and run the following command: 
    Project.exe start

 

The installed service runs in the default Local Service account. If the service does not start, inspect the Windows application logs to understand the reason.

 

 

If you need to stop or uninstall the Project service, you need to follow the following steps.

Stop the Project service

  1. Open the Administrator command prompt and navigate to <EDPSinstallDir_New>.

  2. To stop installed service, run the following command:
    Project.exe stop

Uninstall the Project service

  1. Open the Administrator command prompt and navigate to <EDPSinstallDir_New>.

  2. First stop the service by running the following command:
    Project.exe stop
     

  3. To uninstall the service, run command:
    Project.exe uninstall --localservice

Please visit Project Service Configuration Settings to learn more about the various settings mentioned above.

 

 

Return to the top of the page
 Configure automatic email notifications

 Set up User service for multiple instances of ExamDeveloper

 ExamDeveloper setup home page