Web.config 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <?xml version="1.0"?>
  2. <!--
  3. Pour plus d'informations sur la configuration de votre application ASP.NET, consultez
  4. http://go.microsoft.com/fwlink/?LinkId=169433
  5. -->
  6. <configuration>
  7. <connectionStrings>
  8. <add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
  9. </connectionStrings>
  10. <appSettings>
  11. <add key="ConnexionStringSic" value="Data Source=PAN\SQLSTD2K5_1;Initial Catalog=TSic;User Id=UserTSicRW;password=UserTS!cRW!"/>
  12. <!-- <add key="ConnexionStringOracleCollege" value="Data Source=PCOL;User Id=college;Password=college;"/> -->
  13. <add key="ConnexionStringAccess" value="Provider=microsoft.jet.oledb.4.0;Data Source=\\Moder\App_production\College\data\Base\BD Collège_prod.mdb;Persist Security Info=False;"/>
  14. <add key="ConnexionStringOracleSubvention" value="Data Source=SGFP;User Id=ASTRE;Password=ASTRE;"/>
  15. <add key="ConnexionStringOracleAstreGF" value="Data Source=SGFP;User Id=SO;Password=SO;"/>
  16. <add key="ConnexionStringOracleRH" value="Data Source=SRHP;User Id=CG67_ATC;Password=ATC_CG67;"/>
  17. <add key="AnneeEnCours" value="2014"/>
  18. <add key="FileRepository" value="\\public\publicng\1PAT\12DIMG\1230SGEPI\PPM\Fichiers DSI (fiches collèges)\"/>
  19. <add key="ImpersonationUser" value="service.college"/>
  20. <add key="ImpersonationPassword" value="2sr72297rN7BzX8QB48t"/>
  21. <add key="ImpersonationDomain" value="cg67"/>
  22. </appSettings>
  23. <system.web>
  24. <httpHandlers>
  25. <add path="*.histo" verb="*" type="CG67.FicheCollege.HttpHandlerHistogramme, CG67.FicheCollege" />
  26. <add path="file.download" validate="false" verb="*" type="CG67.FicheCollege.FileDownloadHandler, CG67.FicheCollege"/>
  27. </httpHandlers>
  28. <compilation debug="true" targetFramework="4.0"/>
  29. <authentication mode="Forms">
  30. <forms loginUrl="~/Account/Login.aspx" timeout="2880"/>
  31. </authentication>
  32. <membership>
  33. <providers>
  34. <clear/>
  35. <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="/"/>
  36. </providers>
  37. </membership>
  38. <profile>
  39. <providers>
  40. <clear/>
  41. <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
  42. </providers>
  43. </profile>
  44. <roleManager enabled="false">
  45. <providers>
  46. <clear/>
  47. <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/"/>
  48. <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/"/>
  49. </providers>
  50. </roleManager>
  51. </system.web>
  52. <system.webServer>
  53. <modules runAllManagedModulesForAllRequests="true"/>
  54. <handlers>
  55. <add name="HttpHandlerHistogramme" path="*.histo" verb="*" type="CG67.FicheCollege.HttpHandlerHistogramme, CG67.FicheCollege" allowPathInfo="false" modules="IsapiModule" scriptProcessor="C:\Windows\Microsoft.Net\Framework\v4.0.30319\aspnet_isapi.dll"
  56. resourceType="Unspecified" preCondition="classicMode,runtimeVersionv4.0,bitness32"/>
  57. <add name="FileDownloadHandler" path="file.download" verb="*" type="CG67.FicheCollege.FileDownloadHandler, CG67.FicheCollege" allowPathInfo="false" preCondition="integratedMode, runtimeVersionv2.0" />
  58. </handlers>
  59. <!--<staticContent>
  60. <mimeMap fileExtension="" mimeType="" />
  61. </staticContent>-->
  62. </system.webServer>
  63. </configuration>