Web Config Page /Web.Config (XML)
1: <?xml version="1.0"?>
2: <configuration>
3: <connectionStrings>
4: <remove name="QuiznetOnline.Data.Properties.Settings.Default.QuizNetOnlineConnectionString"/>
5: <!--<add name="QuiznetOnline.Data.Properties.Settings.Default.QuizNetOnlineConnectionString" connectionString="Data Source=DOIT-0035703790\SQLEXPRESS;Initial Catalog=QuizNetOnline;User ID=sa;Password=Pa55word01" providerName="System.Data.SqlClient"/>-->
6: <!-- Home PC -->

8: <add name="PracticalPhysicsConn" connectionString="Server=3175-20N16R1\SQLEXPRESS;Database=practicalphysics;Uid=_uid_;Pwd=_pwd_" providerName="MySql.Data.MySqlClient"/>
9: </connectionStrings>
10: <system.web>
11: <httpRuntime maxRequestLength="102768" requestValidationMode="2.0"/>
12: <customErrors mode="Off" defaultRedirect="~/Error.aspx"/>
13: <sessionState timeout="30"/>
14: <!--
15: Set compilation debug="true" to insert debugging
16: symbols into the compiled page. Because this
17: affects performance, set this value to true only
18: during development.
19: -->
20: <compilation debug="true" targetFramework="4.0">
21: <assemblies>
22: <add assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
23: <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
24: <add assembly="System.Data.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
25: <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
26: <add assembly="System.ServiceModel.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
27: <add assembly="System.Data.Services.Client, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
28: <add assembly="System.Data.Services.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
29: <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
30: <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
31: <add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
32: </assemblies>
33: </compilation>
34: <anonymousIdentification enabled="true"/>
35: <profile defaultProvider="AspNetSqlProvider">
36: <providers>
37: <add connectionStringName="QuiznetOnline.Data.Properties.Settings.Default.QuizNetOnlineConnectionString" applicationName="/" description="" name="AspNetSqlProvider" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
38: </providers>
39: <properties>
40: <group name="UserDetails">
41: <add name="NickName" type="System.String" allowAnonymous="true"/>
42: <add name="Country" type="System.String" allowAnonymous="true"/>
43: <add name="State" type="System.String" allowAnonymous="true"/>
44: <add name="City" type="System.String" allowAnonymous="true"/>
45: <add name="HowDidYouFindSite" type="System.String" allowAnonymous="true"/>
46: <add name="GetNewsletter" type="System.Boolean" allowAnonymous="true"/>
47: </group>
48: </properties>
49: </profile>
50: <membership defaultProvider="AspNetSqlProvider">
51: <providers>
52: <clear/>
53: <add connectionStringName="QuiznetOnline.Data.Properties.Settings.Default.QuizNetOnlineConnectionString" enablePasswordRetrieval="false" name="AspNetSqlProvider" type="System.Web.Security.SqlMembershipProvider" enablePasswordReset="true" requiresQuestionAndAnswer="false" applicationName="/" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression=""/>
54: </providers>
55: </membership>
56: <roleManager enabled="true">
57: <providers>
58: <clear/>
59: <add connectionStringName="QuiznetOnline.Data.Properties.Settings.Default.QuizNetOnlineConnectionString" applicationName="/" name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider"/>
60: </providers>
61: </roleManager>
62: <authentication mode="Forms">
63: <forms protection="All" name=".Quiznetonline-SSO" path="/" enableCrossAppRedirects="true" timeout="60000" slidingExpiration="true" loginUrl="Login.aspx"/>
64: </authentication>
65: <machineKey decryption="3DES" decryptionKey="C5E032933A1C2B612D2910CE89C177E0EECD1C73B8BD672C" validation="3DES" validationKey="FF8398A5004ED88ED537F98A55DE26CAE76031231498870F"/>
66: <!--
67: Set compilation debug="true" to insert debugging
68: symbols into the compiled page. Because this
69: affects performance, set this value to true only
70: during development.
71: -->
72: <trace enabled="true" pageOutput="false" requestLimit="10" traceMode="SortByTime"/>
73: <pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID">
74: <controls>
75: <add tagPrefix="asp" namespace="System.Web.UI.DataVisualization.Charting" assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
76: </controls>
77: </pages>
78: <httpHandlers>
79: <add path="ChartImg.axd" verb="GET,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
80: </httpHandlers>
81: </system.web>
82: <system.web.extensions>
83: <scripting>
84: <webServices>
85: <!-- Uncomment this line to customize maxJsonLength and add a
86: custom converter -->
87: <jsonSerialization maxJsonLength="5000000">
88: <converters>
89: <!--<add name="ConvertMe"
90: type="Acme.SubAcme.ConvertMeTypeConverter"/>-->
91: </converters>
92: </jsonSerialization>
93: <!-- Uncomment this line to enable the authentication service.
94: Include requireSSL="true" if appropriate. -->
95: <!--
96: <authenticationService enabled="true" requireSSL = "true|false"/>
97: -->
98: <!-- Uncomment these lines to enable the profile service. To
99: allow profile properties to be retrieved
100: and modified in ASP.NET AJAX applications, you need to add
101: each property name to the readAccessProperties and
102: writeAccessProperties attributes. -->
103: <!--
104: <profileService enabled="true"
105: readAccessProperties="propertyname1,propertyname2"
106: writeAccessProperties="propertyname1,propertyname2" />
107: -->
108: </webServices>
109: <!--
110: <scriptResourceHandler enableCompression="true"
111: enableCaching="true" />
112: -->
113: </scripting>
114: </system.web.extensions>
115: <appSettings>
116: <add key="rmk" value="B344460D174778D073C87111CFEDEE6974AC31941DDE7360DF78F4033E0E085D"/>
117: <add key="rmv" value="2F207FEB236EA736EA2D81EEE2AB6007"/>
118: <add key="showExceptionDetails" value="true"/>
119: <add key="ShowGoogleAds" value="false"/>
120: <add key="IsEmailingOff" value="true"/>
121: <add key="NumberOfFreeQuestions" value="10"/>
122: <!--<add key="SMTPhost" value="relay-hosting.secureserver.net"/>-->
123: <add key="SMTPhost" value="smtpout.secureserver.net"/>
124: <add key="GoogleAPIKey" value=""/>
125: <!--<add key="GoogleAPIKey" value="AIzaSyApSgdb3pvwDDs__3ZBx_MzR9eEsB5tMtM"/>-->
126: <add key="AppID" value="218643684828186"/>
127: <add key="IsFaceBookLoginVisible" value="False"/>
128: <add key="BlockFBposting" value="true"/>
129: <add key="TurnOffipinfodb" value="false"/>
130: <add key="IsLocalHost" value="true"/>
131: <add key="ShowFacebookLike" value="true"/>
132: <add key="FreeForAll" value="true"/>
133: <add key="PracticalPhysicsOutputFolder" value="Output"/>
134: <add key="SiteUnderMaintenance" value="false"/>
135: <add key="ChartImageHandler" value="Storage=file;Timeout=20;Url=~/tempImages/;"/>
136: <add key="CacheQuestionList" value="true"/>
137: </appSettings>
138: <!--
139: <appSettings>
140: <add key="ConnectionType" value="Local"/>

143: </appSettings>
144: <connectionStrings>

146: </connectionStrings>
147: -->
148: <location path="Include">
149: <system.webServer>
150: <staticContent>
151: <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="365.00:00:00"/>
152: </staticContent>
153: </system.webServer>
154: <system.web>
155: <authorization>
156: <allow users="*"/>
157: </authorization>
158: </system.web>
159: </location>
160: <location path="Images">
161: <system.webServer>
162: <staticContent>
163: <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="365.00:00:00"/>
164: </staticContent>
165: </system.webServer>
166: <system.web>
167: <authorization>
168: <allow users="*"/>
169: </authorization>
170: </system.web>
171: </location>
172: <location path="UserLogin">
173: <system.web>
174: <authorization>
175: <allow users="*"/>
176: </authorization>
177: </system.web>
178: </location>
179: <system.net>
180: <mailSettings>

183: </smtp>
184: </mailSettings>
185: </system.net>
186:
187: <system.webServer>
188: <validation validateIntegratedModeConfiguration="false"/>
189: <handlers>
190: <remove name="ChartImageHandler"/>
191: <add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
192: </handlers>
193: </system.webServer>
194: </configuration>

.NET Documentation Tool is © 2002 - 2009 Winnersh Triangle Web Solutions Limited.