174 lines
9.6 KiB
XML
174 lines
9.6 KiB
XML
<?xml version="1.0"?>
|
|
<!--
|
|
For more information on how to configure your ASP.NET application, please visit
|
|
http://go.microsoft.com/fwlink/?LinkId=169433
|
|
-->
|
|
<configuration>
|
|
<configSections>
|
|
<sectionGroup name="elmah">
|
|
<section name="security" requirePermission="false" type="Elmah.SecuritySectionHandler, Elmah"/>
|
|
<section name="errorLog" requirePermission="false" type="Elmah.ErrorLogSectionHandler, Elmah"/>
|
|
<section name="errorMail" requirePermission="false" type="Elmah.ErrorMailSectionHandler, Elmah"/>
|
|
<section name="errorFilter" requirePermission="false" type="Elmah.ErrorFilterSectionHandler, Elmah"/>
|
|
</sectionGroup>
|
|
</configSections>
|
|
<!--
|
|
For a description of web.config changes for .NET 4.5 see http://go.microsoft.com/fwlink/?LinkId=235367.
|
|
|
|
The following attributes can be set on the <httpRuntime> tag.
|
|
<system.Web>
|
|
<httpRuntime targetFramework="4.5" />
|
|
</system.Web>
|
|
-->
|
|
<system.web>
|
|
<customErrors mode="RemoteOnly" defaultRedirect="Default.aspx"/>
|
|
<compilation debug="true" targetFramework="4.6.2"/>
|
|
<globalization uiCulture="it-IT" culture="it-IT"/>
|
|
<sessionState mode="InProc" timeout="180"/>
|
|
<httpModules>
|
|
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah"/>
|
|
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah"/>
|
|
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah"/>
|
|
</httpModules>
|
|
<pages controlRenderingCompatibilityVersion="4.0">
|
|
<namespaces>
|
|
<add namespace="System.Web.Optimization"/>
|
|
</namespaces>
|
|
<controls>
|
|
<add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt"/>
|
|
</controls>
|
|
</pages>
|
|
</system.web>
|
|
<appSettings>
|
|
<!--gestione timeout "esteso" x chiamate SQL critiche, in secondi -->
|
|
<add key="sqlLongCommandTimeout" value="600"/>
|
|
<!--Conf generale-->
|
|
<add key="CodModulo" value="MoonPro"/>
|
|
<!--impostazione cambio tempo calcolato tra minuti-ore-gg-->
|
|
<add key="maxMinuti" value="60"/>
|
|
<add key="maxOre" value="1440"/>
|
|
<!--refresh MSE-->
|
|
<add key="refrMSE_0" value="1001"/>
|
|
<!--!!!FARE!!! riportare a 0!!!-->
|
|
<add key="refrMSE_5" value="5"/>
|
|
<!-- Logging -->
|
|
<add key="_logDir" value="~/logs/"/>
|
|
<add key="_logLevel" value="7"/>
|
|
<add key="_logMaxMb" value="30"/>
|
|
<!--Ottimizzazioni liberie esterne-->
|
|
<add key="EnableCdnAjax" value="false"/>
|
|
<add key="EnableCdnJQ" value="true"/>
|
|
<!--Gestione auth dispositivi mobile-->
|
|
<add key="cookieName" value="AuthMoonPro"/>
|
|
<add key="mainPage" value="~/MappaStato.aspx"/>
|
|
<add key="dominio" value="Donati"/>
|
|
<add key="user" value="Mobile"/>
|
|
<add key="cookieDayExpire" value="3650"/>
|
|
<!--conf commenti e ricalcoli-->
|
|
<add key="idxTipoCommento" value="999"/>
|
|
<add key="commEnableEditDel" value="false"/>
|
|
<add key="minAnticipoRicalcolo" value="-2"/>
|
|
<add key="dltMinRealtime" value="5"/>
|
|
<!--conf URL-->
|
|
<add key="baseUrlAdmin" value="http://iis02/MP/ADM/"/>
|
|
<add key="pageUrlApprODL" value="approvazioneODL.aspx"/>
|
|
<!--conf modalità conferma produzione: 1=gg, 2=turni, 0=periodo intero -->
|
|
<add key="modoConfProd" value="1"/>
|
|
<!--Gestione email-->
|
|
<!--<add key="_adminEmail" value="samuele@steamware.net" />-->
|
|
<add key="_adminEmail" value="samuele@steamware.net,info@steamware.net"/>
|
|
<add key="_fromEmail" value="MoonPro@steamware.net"/>
|
|
<!-- <add key="_useAuthSmtp" value="false" />
|
|
<add key="_smtpCli" value="keyhammer.ath.cx" />-->
|
|
<add key="_useAuthSmtp" value="true"/>
|
|
<add key="_smtpCli" value="smtp.gmail.com"/>
|
|
<add key="_emailUser" value="steamwarebot@gmail.com"/>
|
|
<add key="_emailPwd" value="drmfsls16"/>
|
|
<add key="_enableSSL" value="true"/>
|
|
<!--gestione approvazione ODL-->
|
|
<add key="oggettoChgTc" value="Richiesta modifica tempo ciclo da autorizzare"/>
|
|
<add key="corpoChgTc" value="E' stata inserita una richeista di modifica Tempo Ciclo in fase di attrezzaggio.{0}Per proseguire cliccare sul link seguente:{0}{0}{1}{0}{0}{0}{0}MoonPro@Steamware"/>
|
|
<!--stringhe connessione SQL2012-->
|
|
<!--<add key="MoonProConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer;"/>
|
|
<add key="PermessiConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer;"/>
|
|
<add key="UtenteCdcConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=Donati_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer;"/>
|
|
<add key="VocabolarioConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=MoonPro_Vocabolario;Persist Security Info=True;User ID=sa;Password=keyhammer;"/>
|
|
<add key="DevicesConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=Donati_Anagrafica;Persist Security Info=True;User ID=sa;Password=keyhammer;"/>-->
|
|
<!--stringhe connessione SQL2016-->
|
|
<add key="MoonProConnectionString" value="Data Source=WIN2016-SQL;Initial Catalog=Donati_MoonProLAV_prod;Persist Security Info=True;User ID=sa;Password=keyhammer16;"/>
|
|
<add key="PermessiConnectionString" value="Data Source=WIN2016-SQL;Initial Catalog=Donati_MoonProLAV_prod;Persist Security Info=True;User ID=sa;Password=keyhammer16;"/>
|
|
<add key="UtenteCdcConnectionString" value="Data Source=WIN2016-SQL;Initial Catalog=Donati_AnagraficaLAV_prod;Persist Security Info=True;User ID=sa;Password=keyhammer16;"/>
|
|
<add key="VocabolarioConnectionString" value="Data Source=WIN2016-SQL;Initial Catalog=Donati_VocabolarioLAV_prod;Persist Security Info=True;User ID=sa;Password=keyhammer16;"/>
|
|
<add key="DevicesConnectionString" value="Data Source=WIN2016-SQL;Initial Catalog=Donati_AnagraficaLAV_prod;Persist Security Info=True;User ID=sa;Password=keyhammer16;"/>
|
|
</appSettings>
|
|
<connectionStrings>
|
|
<!--stringhe connessione SQL2012-->
|
|
<!--<add name="MoonProConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer;" providerName="System.Data.SqlClient"/>
|
|
<add name="MapoDb.Properties.Settings.MoonProConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=MoonPro;Persist Security Info=True;User ID=sa;Password=keyhammer;" providerName="System.Data.SqlClient"/>-->
|
|
<!--stringhe connessione SQL2016-->
|
|
<add name="MoonProConnectionString" connectionString="Data Source=WIN2016-SQL;Initial Catalog=Donati_MoonProLAV_prod;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient"/>
|
|
<add name="MapoDb.Properties.Settings.MoonProConnectionString" connectionString="Data Source=WIN2016-SQL;Initial Catalog=Donati_MoonProLAV_prod;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient"/>
|
|
</connectionStrings>
|
|
<runtime>
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
<!--<dependentAssembly>
|
|
<assemblyIdentity name="ICSharpCode.SharpZipLib" publicKeyToken="1b03e6acf1164f73" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-0.86.0.518" newVersion="0.86.0.518" />
|
|
</dependentAssembly>-->
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral"/>
|
|
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930"/>
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral"/>
|
|
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2"/>
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
|
|
<bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0"/>
|
|
</dependentAssembly>
|
|
</assemblyBinding>
|
|
</runtime>
|
|
<system.webServer>
|
|
<validation validateIntegratedModeConfiguration="false"/>
|
|
<modules>
|
|
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" preCondition="managedHandler"/>
|
|
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" preCondition="managedHandler"/>
|
|
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" preCondition="managedHandler"/>
|
|
</modules>
|
|
<staticContent>
|
|
<remove fileExtension=".woff"/>
|
|
<mimeMap fileExtension=".woff" mimeType="application/x-font-woff"/>
|
|
<remove fileExtension=".svg"/>
|
|
<mimeMap fileExtension=".svg" mimeType="image/svg+xml"/>
|
|
</staticContent>
|
|
</system.webServer>
|
|
<elmah>
|
|
<!--
|
|
See http://code.google.com/p/elmah/wiki/SecuringErrorLogPages for
|
|
more information on remote access and securing ELMAH.
|
|
-->
|
|
<security allowRemoteAccess="false"/>
|
|
</elmah>
|
|
<location path="elmah.axd" inheritInChildApplications="false">
|
|
<system.web>
|
|
<httpHandlers>
|
|
<add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah"/>
|
|
</httpHandlers>
|
|
<!--
|
|
See http://code.google.com/p/elmah/wiki/SecuringErrorLogPages for
|
|
more information on using ASP.NET authorization securing ELMAH.
|
|
|
|
<authorization>
|
|
<allow roles="admin" />
|
|
<deny users="*" />
|
|
</authorization>
|
|
-->
|
|
</system.web>
|
|
<system.webServer>
|
|
<handlers>
|
|
<add name="ELMAH" verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" preCondition="integratedMode"/>
|
|
</handlers>
|
|
</system.webServer>
|
|
</location>
|
|
</configuration> |