Files
SSC/CMS_SC/Web.config
T
2018-03-19 12:25:22 +01:00

281 lines
14 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<configSections>
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<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>
<section name="glimpse" type="Glimpse.Core.Configuration.Section, Glimpse.Core" />
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
</configSections>
<appSettings>
<!--Impostazione gestione serializzazione variabili in sessione (es per Redis)-->
<add key="serializeSession" value="true" />
<add key="disable_singleton" value="true" />
<add key="errorPageRedirect" value="./Reset?Action=CDV" />
<add key="maxAgeAppConf_min" value="15" />
<add key="SC_RedEnab" value="true" />
<!--nome sw e versioni-->
<add key="Environment" value="DEV" />
<add key="baseLang" value="IT" />
<add key="CodCDC" value="X999" />
<add key="CodModulo" value="CMS_SC" />
<add key="CodFunzione" value="User" />
<add key="CodGruppo" value="IT" />
<add key="appName" value="CMS_SC" />
<add key="baseUrl" value="http://iis02/CMS-SC" />
<!--versione applicazione-->
<add key="downloadPath" value="c:\Steamware\installers\" />
<add key="appVers" value="CMS" />
<!--<add key="money" value="€" />
<add key="weight" value="kg" />-->
<!--area auth-->
<add key="authSenzaDominio" value="true" />
<add key="autoEnrollEnabled" value="false" />
<add key="SuperAdminRole" value="SuperAdmin" />
<add key="CapoOfficinaRole" value="CapoOfficina" />
<add key="CapoGruppo" value="CapoOfficina" />
<add key="DerogaRole" value="Deroga" />
<add key="AnagAdminRole" value="CqSetSC" />
<add key="CollaudatoreRole" value="User" />
<!--gestione auth dispositivi-->
<add key="AuthCookieName" value="AuthDeviceCMS_SC" />
<add key="defaultDomain" value="steamwarewin" />
<add key="enablePlain" value="true" />
<add key="urlGestUtenti" value="UserAdmin" />
<add key="adminEmail" value="samuele@steamware.net" />
<add key="PageNoIndex" value="UserAdmin#Test" />
<!--gestione auth collaudatori "username-only"-->
<add key="enableOpAuth" value="true" />
<add key="defMonthScadUserBase" value="6" />
<add key="defRemAuth" value="9999" />
<add key="defMinScad" value="60" />
<!--gestione timeout "esteso" x chiamate SQL critiche, in secondi -->
<add key="sqlLongCommandTimeout" value="600" />
<!--area suggerimenti-->
<add key="maxNumSuggest" value="30" />
<add key="serviceUrl" value="./Services" />
<!--area logger-->
<add key="_logDir" value="~/logs/" />
<add key="doShrinkFolder" value="true" />
<add key="_logLevel" value="6" />
<add key="_logMaxMb" value="30" />
<add key="defDayFrom" value="-365" />
<add key="intUpdatePagina_ms" value="60000" />
<!--area default new value-->
<add key="defASC01" value="_CG00000" />
<add key="defASC02" value="000000 Nuova Scheda Collaudo" />
<!--<add key="defEM01" value="000000" />-->
<add key="defEM02" value="Nuova Macchina" />
<add key="defAF01" value="000000" />
<add key="defAF02" value="000000 Nuova Fase" />
<add key="defAT01" value="000000" />
<add key="defAT02" value="000000 Nuovo Tag" />
<add key="defEFM01" value="000000" />
<add key="defEFM02" value="000000 Nuova Famiglia" />
<add key="defFasiEnab" value="001#002" />
<!--area fileManager-->
<add key="fileManUrl" value="~/FileManager?filtKey={0}&amp;enableMod={1}" />
<!--area allegati -->
<add key="urlSchede" value="~/Files/Schede/{0}" />
<!--area reports-->
<add key="ReportRemoteRender" value="true" />
<add key="enableQueue" value="false" />
<add key="PdfFolder" value="PDF" />
<add key="doPdfCopy" value="false" />
<!--<add key="reportsUrl" value="http://IIS02/CMS_SC_Report" />-->
<!--Gestione email-->
<add key="_fromEmail" value="CMS_SC@steamware.net" />
<add key="_smtpCli" value="smtp.gmail.com" />
<add key="_emailUser" value="steamwarebot@gmail.com" />
<add key="_emailPwd" value="drmfsls16" />
<add key="_enableSSL" value="true" />
<!--stringhe connessione-->
<add key="CMS_SCConnectionString" value="Data Source=SQL2012DEV;Initial Catalog=CMS-SC;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
<add key="PermessiConnectionString" value="Data Source=SQL2012DEV;Initial Catalog=CMS-SC;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
<add key="UtenteCdcConnectionString" value="Data Source=SQL2012DEV;Initial Catalog=CMS-SC;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
<add key="VocabolarioConnectionString" value="Data Source=SQL2012DEV;Initial Catalog=CMS-SC;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
<add key="DevicesAuthConnectionString" value="Data Source=SQL2012DEV;Initial Catalog=CMS-SC;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
<add key="DbConfConnectionString" value="Data Source=SQL2012DEV;Initial Catalog=CMS-SC;Persist Security Info=True;User ID=sa;Password=keyhammer16;" />
<!--fix glimpse gestioen sync-->
<add key="Glimpse:DisableAsyncSupport" value="true" />
</appSettings>
<connectionStrings>
<add name="CMS_SC_Data.Properties.Settings.CMS_SCConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=CMS-SC;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.DS_AuthConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=CMS-SC;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" />
<add name="SteamWare.Properties.Settings.DbConfConnectionString" connectionString="Data Source=SQL2012DEV;Initial Catalog=CMS-SC;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" />
</connectionStrings>
<!--
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
The following attributes can be set on the <httpRuntime> tag.
<system.Web>
<httpRuntime targetFramework="4.5.2" />
</system.Web>
-->
<system.web>
<compilation debug="true" targetFramework="4.6.2">
<buildProviders>
<add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
</buildProviders>
</compilation>
<httpRuntime targetFramework="4.5" />
<pages>
<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>
<authentication mode="Forms">
<forms loginUrl="~/Account/Login" timeout="2880" defaultUrl="~/" />
</authentication>
<!-- Glimpse: This can be commented in to add additional data to the Trace tab when using WebForms
<trace writeToDiagnosticsTrace="true" enabled="true" pageOutput="false"/> -->
<httpModules>
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" />
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" />
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" />
<add name="Glimpse" type="Glimpse.AspNet.HttpModule, Glimpse.AspNet" />
</httpModules>
<httpHandlers>
<add path="glimpse.axd" verb="GET" type="Glimpse.AspNet.HttpHandler, Glimpse.AspNet" />
<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" validate="false" />
</httpHandlers>
<customErrors mode="Off" />
<sessionState mode="Custom" customProvider="MySessionStateStore">
<providers>
<add name="MySessionStateStore" type="Microsoft.Web.Redis.RedisSessionStateProvider" host="localhost" accessKey="localhost" ssl="false" applicationName="CMS-SC" />
</providers>
</sessionState>
</system.web>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="NLog" publicKeyToken="5120e14c03d0593c" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="EntityFramework" publicKeyToken="b77a5c561934e089" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.0.0" />
</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="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
</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-11.0.0.0" newVersion="11.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="StackExchange.Redis.StrongName" publicKeyToken="c219ff1ca8c2ce46" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-1.2.6.0" newVersion="1.2.6.0" />
</dependentAssembly>
</assemblyBinding>
<!-- When targeting ASP.NET MVC 3, this assemblyBinding makes MVC 1 and 2 references relink
to MVC 3 so libraries such as DotNetOpenAuth that compile against MVC 1 will work with it.
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
</dependentAssembly>
</assemblyBinding>
-->
</runtime>
<entityFramework>
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
<parameters>
<parameter value="v12.0" />
</parameters>
</defaultConnectionFactory>
<providers>
<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
</providers>
</entityFramework>
<system.webServer>
<staticContent>
<!--aggiunto mimetype x scaricamento fonts aggiuntive-->
<remove fileExtension=".woff" />
<mimeMap fileExtension=".woff" mimeType="application/font-woff" />
<remove fileExtension=".woff2" />
<mimeMap fileExtension=".woff2" mimeType="application/font-woff" />
<!--<mimeMap fileExtension=".woff" mimeType="APPLICATION/X-WOFF" />-->
</staticContent>
<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" />
<add name="Glimpse" type="Glimpse.AspNet.HttpModule, Glimpse.AspNet" preCondition="integratedMode" />
</modules>
<handlers>
<add name="Glimpse" path="glimpse.axd" verb="GET" type="Glimpse.AspNet.HttpHandler, Glimpse.AspNet" preCondition="integratedMode" />
<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />
</handlers>
</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>
<glimpse defaultRuntimePolicy="On" endpointBaseUri="~/Glimpse.axd">
<!--
For more information on how to configure Glimpse, please visit http://getglimpse.com/Help/Configuration
or access {your site}/Glimpse.axd for even more details and a Configuration Tool to support you.
-->
<!--<tabs>
<ignoredTypes>
<add type="Glimpse.AspNet.Tab.Routes, Glimpse.AspNet" />
</ignoredTypes>
</tabs>
<inspectors>
<ignoredTypes>
<add type="Glimpse.AspNet.Inspector.RoutesInspector, Glimpse.AspNet" />
</ignoredTypes>
</inspectors>-->
</glimpse>
</configuration>