|
|
@@ -1,64 +1,73 @@
|
|
|
-<?xml version="1.0"?>
|
|
|
-<!--
|
|
|
- Pour plus d'informations sur la configuration de votre application ASP.NET, consultez
|
|
|
- http://go.microsoft.com/fwlink/?LinkId=169433
|
|
|
- -->
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+
|
|
|
<configuration>
|
|
|
- <connectionStrings>
|
|
|
- <add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
|
|
|
- </connectionStrings>
|
|
|
- <appSettings>
|
|
|
- <add key="ConnexionStringSic" value="Data Source=ESNA\SQLSTD2K5_1;Initial Catalog=TSic;User Id=UserTSicRW;password=UserTS!cRW!"/>
|
|
|
- <!-- <add key="ConnexionStringOracleCollege" value="Data Source=PCOL;User Id=college;Password=college;"/> -->
|
|
|
- <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;"/>
|
|
|
- <add key="ConnexionStringOracleSubvention" value="Data Source=SGFP;User Id=ASTRE;Password=ASTRE;"/>
|
|
|
- <add key="ConnexionStringOracleAstreGF" value="Data Source=SGFP;User Id=SO;Password=SO;"/>
|
|
|
- <add key="ConnexionStringOracleRH" value="Data Source=SRHP;User Id=CG67_ATC;Password=ATC_CG67;"/>
|
|
|
- <add key="AnneeEnCours" value="2014"/>
|
|
|
- <add key="FileRepository" value="\\public\publicng\1PAT\12DIMG\1230SGEPI\PPM\Fichiers DSI (fiches collèges)\"/>
|
|
|
- <add key="ImpersonationUser" value="service.college"/>
|
|
|
- <add key="ImpersonationPassword" value="2sr72297rN7BzX8QB48t"/>
|
|
|
- <add key="ImpersonationDomain" value="cg67"/>
|
|
|
- </appSettings>
|
|
|
- <system.web>
|
|
|
- <httpHandlers>
|
|
|
- <add path="*.histo" verb="*" type="CG67.FicheCollege.HttpHandlerHistogramme, CG67.FicheCollege" />
|
|
|
- <add path="file.download" validate="false" verb="*" type="CG67.FicheCollege.FileDownloadHandler, CG67.FicheCollege"/>
|
|
|
- </httpHandlers>
|
|
|
|
|
|
- <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"/>
|
|
|
- <handlers>
|
|
|
- <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"
|
|
|
- resourceType="Unspecified" preCondition="classicMode,runtimeVersionv4.0,bitness32"/>
|
|
|
- <add name="FileDownloadHandler" path="file.download" verb="*" type="CG67.FicheCollge.FileDownloadHandler, CG67.FicheCollege" allowPathInfo="false" preCondition="integratedMode, runtimeVersionv2.0" />
|
|
|
- </handlers>
|
|
|
- <!--<staticContent>
|
|
|
- <mimeMap fileExtension="" mimeType="" />
|
|
|
- </staticContent>-->
|
|
|
- </system.webServer>
|
|
|
-</configuration>
|
|
|
+ <appSettings>
|
|
|
+ <add key="ConnexionStringSic" value="Data Source=ESNA\SQLSTD2K5_1;Initial Catalog=TSic;User Id=UserTSicRW;password=UserTS!cRW!"/>
|
|
|
+ <!-- <add key="ConnexionStringOracleCollege" value="Data Source=PCOL;User Id=college;Password=college;"/> -->
|
|
|
+ <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;"/>
|
|
|
+ <add key="ConnexionStringOracleSubvention" value="Data Source=SGFP;User Id=ASTRE;Password=ASTRE;"/>
|
|
|
+ <add key="ConnexionStringOracleAstreGF" value="Data Source=SGFP;User Id=SO;Password=SO;"/>
|
|
|
+ <add key="ConnexionStringOracleRH" value="Data Source=SRHP;User Id=CG67_ATC;Password=ATC_CG67;"/>
|
|
|
+ <add key="AnneeEnCours" value="2014"/>
|
|
|
+ <add key="FileRepository" value="\\public\publicng\1PAT\12DIMG\1230SGEPI\PPM\Fichiers DSI (fiches collèges)\" />
|
|
|
+ <add key="ImpersonationUser" value ="service.college"/>
|
|
|
+ <add key ="ImpersonationPassword" value ="2sr72297rN7BzX8QB48t"/>
|
|
|
+ <add key ="ImpersonationDomain" value="cg67"/>
|
|
|
+ </appSettings>
|
|
|
+ <!-- <applicationSettings>
|
|
|
+ <applicationSettings>
|
|
|
+ <CG67.FicheCollege.Properties.Settings>
|
|
|
+ <setting name="FileRepository" serializeAs="String">
|
|
|
+ <value>\\public\publicng\1PAT\12DIMG\1230SGEPI\PPM\Fichiers DSI (fiches collèges)</value>
|
|
|
+ </setting>
|
|
|
+ <setting name="ImpersonationUser" serializeAs="String">
|
|
|
+ <value>service.college</value>
|
|
|
+ </setting>
|
|
|
+ <setting name="ImpersonationPassword" serializeAs="String">
|
|
|
+ <value>2sr72297rN7BzX8QB48t</value>
|
|
|
+ </setting>
|
|
|
+ <setting name="ImpersonationDomain" serializeAs="String">
|
|
|
+ <value>cg67</value>
|
|
|
+ </setting>
|
|
|
+ </CG67.FicheCollege.Properties.Settings>
|
|
|
+ </applicationSettings>
|
|
|
+ <connectionStrings/>
|
|
|
+ -->
|
|
|
+ <system.web>
|
|
|
+ <!--
|
|
|
+ Définissez compilation debug="true" pour insérer des symboles
|
|
|
+ de débogage dans la page compilée. Comme ceci
|
|
|
+ affecte les performances, définissez cette valeur à true uniquement
|
|
|
+ lors du développement.
|
|
|
+ -->
|
|
|
+ <compilation debug="true" />
|
|
|
+ <!--
|
|
|
+ La section <authentication> permet la configuration
|
|
|
+ du mode d'authentification de sécurité utilisé par
|
|
|
+ ASP.NET pour identifier un utilisateur entrant.
|
|
|
+ -->
|
|
|
+ <authentication mode="Windows" />
|
|
|
+ <!--
|
|
|
+ La section <customErrors> permet de configurer
|
|
|
+ les actions à exécuter si/quand une erreur non gérée se produit
|
|
|
+ lors de l'exécution d'une demande. Plus précisément,
|
|
|
+ elle permet aux développeurs de configurer les pages d'erreur html
|
|
|
+ pour qu'elles s'affichent à la place d'une trace de la pile d'erreur.
|
|
|
+
|
|
|
+ <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
|
|
|
+ <error statusCode="403" redirect="NoAccess.htm" />
|
|
|
+ <error statusCode="404" redirect="FileNotFound.htm" />
|
|
|
+ </customErrors>
|
|
|
+ -->
|
|
|
+
|
|
|
+ <httpHandlers>
|
|
|
+ <add verb="GET,POST" path="*.histo" type="CG67.FicheCollege.HttpHandlerHistogramme, CG67.FicheCollege"/>
|
|
|
+ <add verb="*" path="file.download" validate="false" type="CG67.FicheCollege.FileDownloadHandler, CG67.FicheCollege"/>
|
|
|
+
|
|
|
+ </httpHandlers>
|
|
|
+
|
|
|
+ </system.web>
|
|
|
+
|
|
|
+
|
|
|
+</configuration>
|