Advertisement
Guest User

web.config

a guest
Sep 24th, 2012
447
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.11 KB | None | 0 0
  1. <configuration>
  2.     <connectionStrings>
  3.         <add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
  4.     <add name="ConnectionString" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\dppdatabase.mdf;Integrated Security=SSPI" providerName="System.Data.SqlClient"/>
  5.   </connectionStrings>
  6.     <system.web>
  7.     <httpRuntime
  8. executionTimeout="9000"
  9. maxRequestLength="4096"
  10. />
  11.     <compilation debug="true" strict="false" explicit="true" targetFramework="4.0">
  12.             <assemblies>
  13.                 <add assembly="Microsoft.Office.Interop.Excel, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C"/></assemblies></compilation>
  14.         <authentication mode="Forms">
  15.    <forms loginUrl="~/Account/Login.aspx" timeout="2880" />
  16.   </authentication>
  17.         <membership>
  18.             <providers>
  19.                 <clear/>
  20.                 <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="/"/>
  21.             </providers>
  22.         </membership>
  23.         <profile>
  24.             <providers>
  25.                 <clear/>
  26.                 <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
  27.             </providers>
  28.         </profile>
  29.         <roleManager enabled="true">
  30.    <providers>
  31.     <clear />
  32.     <add connectionStringName="ApplicationServices" applicationName="/"
  33.     name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" />
  34.     <add applicationName="/" name="AspNetWindowsTokenRoleProvider"
  35.     type="System.Web.Security.WindowsTokenRoleProvider" />
  36.    </providers>
  37.   </roleManager>
  38.    
  39.    </system.web>
  40.  
  41.     <system.webServer>
  42.     <modules runAllManagedModulesForAllRequests="true"/>
  43.     </system.webServer>
  44. </configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement