<?xml version="1.0"?>
<configuration>
	<appSettings>
		<add key="WebPortal.ThemeProvider" value="SolidCP.Portal.WebPortalThemeProvider, SolidCP.Portal.Modules"/>
		<add key="WebPortal.PageTitleProvider" value="SolidCP.Portal.WebPortalPageTitleProvider, SolidCP.Portal.Modules"/>
		<add key="ChartImageHandler" value="storage=file;timeout=20;" />
		<add key="SessionValidationKey" value="DAD46D476F85E0198BCA134D7AA5CC1D7" />
	</appSettings>
	<system.web.extensions>
		<scripting>
			<webServices>
				<!-- Uncomment this line to customize maxJsonLength and add a custom converter -->
				<!--
      <jsonSerialization maxJsonLength="500">
        <converters>
          <add name="ConvertMe" type="Acme.SubAcme.ConvertMeTypeConverter"/>
        </converters>
      </jsonSerialization>
      -->
				<!-- Uncomment this line to enable the authentication service. Include requireSSL="true" if appropriate. -->
				<!--
        <authenticationService enabled="true" requireSSL = "true|false"/>
      -->
				<!-- Uncomment these lines to enable the profile service. To allow profile properties to be retrieved
           and modified in ASP.NET AJAX applications, you need to add each property name to the readAccessProperties and
           writeAccessProperties attributes. -->
				<!--
      <profileService enabled="true"
                      readAccessProperties="propertyname1,propertyname2"
                      writeAccessProperties="propertyname1,propertyname2" />
      -->
			</webServices>
			<!-- 
      <scriptResourceHandler enableCompression="true" enableCaching="true" />
      -->
		</scripting>
	</system.web.extensions>
	<system.web>
		<!-- SiteMap settings -->
		<siteMap defaultProvider="SolidCPSiteMapProvider" enabled="true">
			<providers>
				<add name="SolidCPSiteMapProvider" type="SolidCP.WebPortal.SolidCPSiteMapProvider, SolidCP.WebPortal" securityTrimmingEnabled="true"/>
			</providers>
		</siteMap>
		<!-- Set default scheme -->
		<pages theme="Default" validateRequest="false" controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
			<controls>
        <add tagPrefix="CPCC" namespace="CPCC" assembly="CPCC" />
        <add tagPrefix="ajaxToolkit" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit"/>
			</controls>
		</pages>
		<!-- Maximum size of uploaded file, in MB -->
		<httpRuntime executionTimeout="1800" requestValidationMode="2.0" maxRequestLength="16384"/>
		<!--
          ASMX is mapped to a new handler so that proxy javascripts can also be served.
    -->
		<httpHandlers>
			<add verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false"/>
			<add verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />
		</httpHandlers>
        <httpModules>
			<add name="SecureSession" type="SolidCP.WebPortal.SecureSessionModule" />
        </httpModules>		
		<!-- Authentication -->
		<authentication mode="Forms">
			<forms name=".SolidCPPORTALAUTHASPX" protection="All" timeout="30" path="/" requireSSL="false" slidingExpiration="true" cookieless="UseDeviceProfile" domain="" enableCrossAppRedirects="false">
			</forms>
		</authentication>
		<!-- Custom errors -->
		<customErrors mode="RemoteOnly" defaultRedirect="~/error.htm"/>
		<!-- Default authorization settings -->
		<authorization>
			<allow users="*"/>
		</authorization>
		<!-- Globalization settings -->
		<globalization culture="auto:en-US" uiCulture="auto:en" requestEncoding="UTF-8" responseEncoding="UTF-8"></globalization>
		<compilation debug="true" targetFramework="4.0">
		</compilation>
	</system.web>
	<system.webServer>
		<validation validateIntegratedModeConfiguration="false"/>
	</system.webServer>
</configuration>