<?xml version="1.0" encoding="UTF-8"?>
<configuration>
	<configSections>
		<section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null"></section>
		<section name="exceptionHandling" type="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Configuration.ExceptionHandlingSettings, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null"></section>
		<section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null"></section>
	</configSections>
	<loggingConfiguration name="Logging Application Block" tracingEnabled="true" defaultCategory="General" logWarningsWhenNoCategoriesMatch="true">
		<listeners>
			<add fileName="trace.log" header="----------------------------------------" footer="----------------------------------------" formatter="Text Formatter" listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.FlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" traceOutputOptions="None" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.FlatFileTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" name="FlatFile TraceListener"></add>
		</listeners>
		<formatters>
			<add template="Timestamp: {timestamp}&#xA;Message: {message}&#xA;Category: {category}&#xA;Priority: {priority}&#xA;EventId: {eventid}&#xA;Severity: {severity}&#xA;Title:{title}&#xA;Machine: {machine}&#xA;Application Domain: {appDomain}&#xA;Process Id: {processId}&#xA;Process Name: {processName}&#xA;Win32 Thread Id: {win32ThreadId}&#xA;Thread Name: {threadName}&#xA;Extended Properties: {dictionary({key} - {value}&#xA;)}" type="Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TextFormatter, Microsoft.Practices.EnterpriseLibrary.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" name="Text Formatter"></add>
		</formatters>
		<categorySources>
			<add switchValue="All" name="General">
				<listeners>
					<add name="FlatFile TraceListener"></add>
				</listeners>
			</add>
		</categorySources>
		<specialSources>
			<allEvents switchValue="All" name="All Events">
				<listeners>
					<add name="FlatFile TraceListener"></add>
				</listeners>
			</allEvents>
			<notProcessed switchValue="All" name="Unprocessed Category"></notProcessed>
			<errors switchValue="All" name="Logging Errors &amp; Warnings"></errors>
		</specialSources>
	</loggingConfiguration>
	<exceptionHandling>
		<exceptionPolicies>
			<add name="GeneralException">
				<exceptionTypes>
					<add type="System.Exception, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" postHandlingAction="NotifyRethrow" name="Exception">
						<exceptionHandlers>
							<add logCategory="General" eventId="100" severity="Error" title="Enterprise Library Exception Handling" formatterType="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.TextExceptionFormatter, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" priority="0" type="Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.LoggingExceptionHandler, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null" name="Logging Handler"></add>
						</exceptionHandlers>
					</add>
				</exceptionTypes>
			</add>
		</exceptionPolicies>
	</exceptionHandling>
	<dataConfiguration defaultDatabase="NESConnection"></dataConfiguration>
	<connectionStrings>
		<!--<add connectionString="Database=NES;Server=.\NESDB;Trusted_Connection=Yes;AttachDbFilename=C:\us db\NES.mdf;" name="NESConnection" providerName="System.Data.SqlClient"></add>-->
		<!--<add connectionString="Database=NESPV;Server=.\NESDEMO;Trusted_Connection=No;Uid=sa;Pwd=HHH666rret!!777sshAA;AttachDbFilename=C:\Program Files\Nutri-Energetics Systems\NES Professional 4.1\NES.mdf;" name="NESConnection" providerName="System.Data.SqlClient"></add>-->
		<!--<add name="NESConnection" connectionString="Database=NESPV;Server=192.168.1.21;Integrated Security=SSPI;"
      providerName="System.Data.SqlClient" />-->
	</connectionStrings>
	<appSettings>
  <add key="helpFiles" value="C:\Program Files (x86)\NES Health\NES ProVision\Help\" />
  <add key="language" value="en-GB" />
  <add key="languageResourceFiles" value="C:\Program Files (x86)\NES Health\NES ProVision\Language\" />
  <add key="onlineImportExportTempFolder" value="C:\Program Files (x86)\NES Health\NES ProVision\ImportExport\" />
  <add key="defaultCountryCode" value="253" />
  <add key="flashDirectory" value="C:\Program Files (x86)\NES Health\NES ProVision\Flash\" />
  <add key="exportFolder" value="" />
  <add key="showQuestionnaire" value="false" />
  <add key="rapidScan" value="false" />
  <add key="showSummaryScreenFirst" value="true" />
  <add key="showInfoceuticalDates" value="true" />
  <add key="databaseConnection" value="C:\Program Files (x86)\NES Health\NES ProVision\NESPV.s3db" />
  <add key="reportPageSize" value="Letter" />
  <add key="screenShotsDirectory" value="C:\Program Files (x86)\NES Health\NES ProVision\screenshots\" />
  <add key="helpFileSize" value="14" />
  <add key="mode" value="1000" />
  <add key="PVPortalLinkingComplete" value="true" />
  <add key="showTransformationScreen" value="true" />
  <add key="showLegacy" value="true" />
  <add key="showETES" value="true" />
  <add key="syncWithPortal" value="true" />
  <add key="showNEStritionScreen" value="false" />
  <add key="showERs" value="true" />
  <add key="ERsDoubleClickZoomIn" value="true" />
  <add key="highestReadingIndicatorColour" value="red" />
  <add key="mindScreenBackgroundImage" value="a" />  
 </appSettings>
	<startup useLegacyV2RuntimeActivationPolicy="true">
		<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2"></supportedRuntime>
	</startup>
	<runtime>
		<NetFx40_LegacySecurityPolicy enabled="true"></NetFx40_LegacySecurityPolicy>
	</runtime>
</configuration>
