IMPAX 6.5.1 Application Server Knowledge Base > Managing RIS connections and report sources

Creating a duplicate virtual directory for an additional IMPAX RIS database

If the site needs to have multiple IMPAX RIS databases connected to a single Application Server, a second set of web services must be created on the Application Server. To add the web services for the additional IMPAX RIS database, create a new copy of the web services virtual directory.

To create a duplicate virtual directory for an additional IMPAX RIS database

  1. On the Application Server, copy the C:\Inetpub\wwwroot\AgfaHC.Ris.Web.Services folder.

  2. Paste the copied folder into the C:\Inetpub\wwwroot folder.

  3. Rename the copied folder with the name of the second IMPAX RIS database.

    For example, rename the folder to AgfaHC.Ris.Web.Services.SecondQDOCDB, where SecondQDOCDB is the name of the additional IMPAX RIS database.

  4. Double-click the folder for the second IMPAX RIS web service.

  5. Open the web.config file in a text editor such as Notepad.

  6. Search the web.config file for <appsettings>.

  7. Change the value of the appSettings Database element to be the name of the second IMPAX RIS database. For example:

    <add key="Database" value="SecondQDOCDB">

    </add>

  8. Save and close the web.config file.

  9. Open the log4net.config file in a text editor such as Notepad.

  10. To change the log file names for the RollingFileAppender, search the log4net.config file for the following section:

    <appender name="RollingFileAppender" type="AgfaHC.Logging.Log4Net.RollingFileAppender, AgfaHC">

  11. Update the name of the log file to include the name of the second IMPAX RIS database. For example:

    <param name="File" value="C:/Impax/Logs/AgfaHC.Ris.Web.Services.SecondQDOCDB.log" />

  12. To change the log file name for the PerformanceRollingFileAppender, search the log4net.config file for the following:

    <appender name="PerformanceRollingFileAppender" type="AgfaHC.Logging.Log4Net.RollingFileAppender, AgfaHC">

  13. Update the name of the log file to include the name of the second IMPAX RIS database. For example:

    <param name="File" value="C:/Program Files/Agfa/Logs/Performance.AgfaHC.Ris.Web.Services.SecondQDOCDB.log" />

  14. Save and close the log4net.config file.

  15. From the Start menu or desktop, right-click My Computer and select Manage.

  16. Navigate to Services and Applications > Internet Information ServiceWeb Sites.

  17. Right-click Default Web Site and select New > Virtual Directory.

  18. In the Virtual Directory Creation Wizard, click Next.

  19. In the Alias field, type the name of the second IMPAX RIS. Click Next.

    To easily identify the virtual directory, use the name of the folder created in step 3.

  20. In the Web Site Content Directory dialog, browse to the folder created in steps 3. Click Next.

  21. In the Virtual Directory Access Permissions dialog, select Read and Run scripts (such as ASP). Click Next.

  22. In the Completion dialog, click Finish.


See also


Topic number: 11340

Applies to: IMPAX 6.5.1 Application Server Knowledge Base