﻿<?xml version="1.0"?>
<configuration>
	<appSettings>
		<add key="ApplicationConnectionDatabaseType" value="SQLServer" />
		<add key="ChartImageHandler" value="storage=memory;timeout=20;dir=c:\TempImageFiles\;" />
		<add key="EnableSmtpMailStorage" value="1"/>
		<add key="SmtpSentBoxPath" value="D:\Projects\Phezulu\Sentbox\"/>
		<add key="SmtpErrorBoxPath" value="D:\Projects\Phezulu\Errorbox\"/>
		<add key="SmtpTimeout" value="60000"/>
		<add key="UseSmtpLogin" value="1"/>
		<add key="SmtpUsername" value="kerrytrentham@yahoo.co.uk"/>
		<add key="SmtpPassword" value="dotnet2010"/>
		<add key="SmtpServer" value="smtp.mail.yahoo.co.uk"/>
		<add key="SmtpPort" value="25"/>
		<add key="SmtpUseBase64" value="0"/>
		<add key="EnableLogging" value="1"/>
		<add key="LogDirectory" value="D:\Projects\Phezulu\Log\"/>
		<add key="RegistrationEmailFromAddress" value="kerrytrentham@yahoo.co.uk"/>
		<add key="RegistrationEmailSubject" value="Thank you for registering on Phezulu..."/>
		<add key="URLRoot" value="http://localhost:50466/"/>
	</appSettings>
	<connectionStrings>
		<add name="ApplicationConnectionString" connectionString="Server=localhost;Database=PHEZULU;User ID=sa;Password=dotnet2010;" providerName="System.Data.SqlClient" />
	</connectionStrings>
	<system.webServer>
		<handlers>
			<remove name="ChartImageHandler" />
			<add name="ChartImageHandler" preCondition="integratedMode" 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" />
		</handlers>
	</system.webServer>
	<system.web>
		<httpHandlers>
			<add path="ChartImg.axd" verb="GET,HEAD,POST" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />
		</httpHandlers>
		
		<customErrors mode="Off" />
		
		<pages enableSessionState="true" enableViewStateMac="true" enableEventValidation="true" controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID">
			<controls>
				<add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
				<add tagPrefix="ajax" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" />
				<add tagPrefix="bin" assembly="BinaryCode.Web" namespace="BinaryCode.Web.UI.WebControls" />
			</controls>
		</pages>

		<compilation debug="true" targetFramework="4.0" />

		<authentication mode="Forms">
		  <forms loginUrl="~/Account/Login.aspx" timeout="2880" />
		</authentication>

		<membership>
		  <providers>
			<clear/>
			<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices"
				 enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false"
				 maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10"
				 applicationName="/" />
		  </providers>
		</membership>

		<profile>
		  <providers>
			<clear/>
			<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
		  </providers>
		</profile>

		<roleManager enabled="false">
		  <providers>
			<clear/>
			<add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" />
			<add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
		  </providers>
		</roleManager>
	</system.web>

	<system.webServer>
		<modules runAllManagedModulesForAllRequests="true"/>
	</system.webServer>
</configuration>
