Web Configuration File Settings

Distributed Query Tool - System Administrator's Guide

Based on version 3.3

Web Configuration File Settings

The following are parameters that can be set within the PopMedNet™ web server application configuration file:

Web Configuration File
<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection,
EntityFramework, Version=4.3.1.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089" />   
<section name="quartz" type="System.Configuration.NameValueSectionHandler, System,
Version=1.0.5000.0,Culture=neutral, PublicKeyToken=b77a5c561934e089" />   
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
  </configSections>
  <quartz>
<add key="quartz.scheduler.instanceName" value="ServerScheduler" />
<!-- Configure Thread Pool -->
<add key="quartz.threadPool.type"
value="Quartz.Simpl.SimpleThreadPool, Quartz" />
<add key="quartz.threadPool.threadCount" value="10" />
<add key="quartz.threadPool.threadPriority" value="Normal" />
<!-- Configure Job Store -->
<add key="quartz.jobStore.type" value="Quartz.Impl.AdoJobStore, Quartz" />
<add key="quartz.jobStore.dataSource" value="default" />
<add key="quartz.jobStore.tablePrefix" value="QRTZ_" />
<add key="quartz.jobStore.clustered" value="true" />
<add key="quartz.jobStore.lockHandler.type" value="Quartz.Impl.AdoJobStore.UpdateLockRowSemaphore,
Quartz" />
<add key="quartz.jobStore.driverDelegateType" value="Quartz.Impl.AdoJobStore.SqlServerDelegate,
Quartz" />
<add key="quartz.dataSource.default.connectionString" value="data source=.;initial
catalog=quartz;integrated security=True;MultipleActiveResultSets=True" />
<add key="quartz.dataSource.default.provider" value="SqlServer-20" />
<add key="quartz.jobStore.useProperties" value="true" />
<add key="quartz.jobStore.misfireThreshold" value="60000" />
<add key="quartz.scheduler.proxy"
value="true" />
<add key="quartz.scheduler.proxy.address" value="tcp://127.0.0.1:555/QuartzScheduler" />
  </quartz>
  <system.net>
    <mailSettings>
      <smtp deliveryMethod="" from="admin@dns3.local">
        <specifiedPickupDirectory pickupDirectoryLocation="c:\work\mail" />
        <network host="localhost" />
      </smtp>
    </mailSettings>
  </system.net>
  <appSettings>
    <add key="CurrentTheme" value="FDA" />
    <add key="ContactUsEmail" value="msullivan@lincolnpeak.com" />
    <add key="ConfiguredPasswordExpiryMonths" value="6" />
    <add key="PasswordExpirationNagDaysPrior" value="7" />
    <add key="PasswordExpirationNagPeriodDays" value="1" />
  </appSettings>
<connectionStrings>
<add name="Lpp.Dns.Model.DnsDomain"
connectionString="data source=.;initial catalog=DNS3;integrated security=True;MultipleActiveResultSets=True;Connection
Timeout=60" providerName="System.Data.SqlClient"
/>
<add name="Lpp.Dns.HealthCare.HealthCareDomain" connectionString="data source=.;initial
catalog=DNS3;integrated security=True;MultipleActiveResultSets=True;Connection
Timeout=60" providerName="System.Data.SqlClient"
/> 
<add name="Lpp.Dns.HealthCare.Summary.SummaryDomain" connectionString="data source=.;initial
catalog=DNS3;integrated security=True;MultipleActiveResultSets=True" providerName="System.Data.SqlClient" />
<add name="Lpp.Dns.RedirectBridge.RedirectDomain" connectionString="data source=.;initial
catalog=DNS3;integrated security=True;MultipleActiveResultSets=True" providerName="System.Data.SqlClient" />
<add name="Lpp.Dns.HealthCare.ESPQueryBuilder.Data.ESPDomain" connectionString="data source=.;initial
catalog=DNS3;integrated security=True;MultipleActiveResultSets=True" providerName="System.Data.SqlClient" />
<add name="Lpp.Dns.HealthCare.FileDistribution.Data.FileDistributionDomain" connectionString="data source=.;initial
catalog=DNS3;integrated security=True;MultipleActiveResultSets=True;Connection
Timeout=60" providerName="System.Data.SqlClient"
/>
</connectionStrings>
  <system.web>
    <httpRuntime maxRequestLength="32384" />
    <compilation debug="true" targetFramework="4.0">
      <assemblies>
        <add assembly="System.Web.Extensions.Design, Version=4.0.0.0,
Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Design, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Web.Helpers, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Web.WebPages, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=31BF3856AD364E35" />
</assemblies>
<buildProviders>
        <add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider,
Microsoft.ReportViewer.Common, Version=9.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a" />
</buildProviders>
    </compilation>
<pages validateRequest="false" enableEventValidation="false" controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID" />
    <customErrors mode="Off" />
    <authentication mode="Forms">
<forms name=".ASPXAUTH" loginUrl="/login" protection="All" path="/" timeout="30" requireSSL="false" slidingExpiration="true" defaultUrl="~/" cookieless="UseDeviceProfile" enableCrossAppRedirects="false" />
    </authentication>
  </system.web>
  <system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <modules runAllManagedModulesForAllRequests="true" />
    <handlers>
      <remove name="StaticFile" />
<add name="StaticFile" path="*" verb="GET" modules="StaticFileModule" resourceType="File" requireAccess="Read" />
    </handlers>
  </system.webServer>
  <system.serviceModel>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
  </system.serviceModel>
  <entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory,
EntityFramework">
      <parameters>
        <parameter value="Data Source=.\SQLEXPRESS; Integrated Security=True;
MultipleActiveResultSets=True" />
      </parameters>
    </defaultConnectionFactory>
  </entityFramework>
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="Common.Logging" publicKeyToken="af08829b84f0328e" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-2.1.1.0" newVersion="2.1.1.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>
  <log4net debug="false">
<appender name="HttpTraceAppender" type="log4net.Appender.AspNetTraceAppender">
      <layout type="log4net.Layout.PatternLayout">
        <conversionPattern value="%date %-5level - %message%newline" />
      </layout>
    </appender>
<appender name="RollingLogFileAppender"
type="log4net.Appender.RollingFileAppender">
      <file value="logs\" />
      <appendToFile value="true" />
      <maxSizeRollBackups value="10" />
      <maximumFileSize value="5MB" />
      <rollingStyle value="Date" />
      <datePattern value="yyyy-MM-dd.lo\g" />
      <staticLogFileName value="false" />
      <layout type="log4net.Layout.PatternLayout">
        <conversionPattern value="%date %-5level - %message%newline" />
      </layout>
    </appender>
    <root>
      <level value="DEBUG" />
      <appender-ref ref="HttpTraceAppender"/>
   <appender-ref ref="RollingLogFileAppender"/>
    </root>
  </log4net>
</configuration>

The following table describes settings that the network administrator may change.  

Note: It is not recommended to change that the other settings in the configuration file. 

Area

Setting

Description

AppSettings

CurrentTheme

Web site theme name used to pick-up satellite assemblies that override default resources

 

ContactUsEmail

Email address that is used in Contact Us link in header of Portal

 

ConfigurePasswordExpiryMonths

Number of months before users passwords automatically expire

 

PasswordExpirationNagDaysPrior

Number of days prior the password changing before we start sending expiration notifications to the user

 

PasswordExpirationNagPeriodDays

Interval between sending password expiration nag messages

 

 

 

ConnectionStrings

Lpp.Dns.Model.DnsDomain

Connection string for the main POPMEDNET™ database

 

Lpp.Dns.HealthCare.HealthCareDomain

Connection string for the healthcare plug-in common controls database, such as the ICD9 selectors

 

Lpp.Dns.HealthCare.Summary.SummaryDomain

Connection string for  summary queries database

 

Lpp.Dns.RedirectBridge.RedirectDomain

Connection string for the redirect plug-ins database

 

Lpp.Dns.HealthCare.ESPQueryBuilder.Data.ESPDomain

Connection string for the ESPQueryBuider database

 

Lpp.Dns.HealthCare.FileDistribution.Data.FileDistributionDomain

Connection string for the File Distribution plug-in database

 

 

 

Quartz Scheduler

Quartz.dataSource.default.connectionString

Connection string for the Quartz scheduler database

 

 

 

Application Logger

<file value="logs\" />

Location of the Log4Net log file;  value is set of “logs” folder off the web site root folder

 

 

 

Notification Mail Server

<smtp deliveryMethod="" from="admin@dns3.local">

   <specifiedPickupDirectory pickupDirectoryLocation="c:\work\mail" />

   <network host="localhost" />

</smtp>

Specifies the SMTP server settings, from email address used in outgoing emails to users, and the location of the folder where the mail is stored

 

 

 


Contact Us

PopMedNet Service Desk