197 lines
12 KiB
XML
197 lines
12 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>
|
|
<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>
|
|
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
|
<section name="ScheMe.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
|
|
</sectionGroup>
|
|
</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" />
|
|
<!--parametri base-->
|
|
<add key="intUpdatePagina_ms" value="240000" />
|
|
<add key="baseLang" value="IT" />
|
|
<!--nome sw e versioni-->
|
|
<add key="CodModulo" value="ScheMe-AFA" />
|
|
<add key="AutoAuth" value="true" />
|
|
<add key="baseUrl" value="http://iis02/ScheMe" />
|
|
<!--Logging-->
|
|
<add key="_logDir" value="~/logs/" />
|
|
<add key="doShrinkFolder" value="true" />
|
|
<add key="_logLevel" value="6" />
|
|
<add key="_logMaxMb" value="30" />
|
|
<!--Gestione email-->
|
|
<add key="_fromEmail" value="steamwarebot@gmail.com" />
|
|
<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 auth dispositivi-->
|
|
<add key="AuthCookieName" value="AuthDeviceScheMe" />
|
|
<add key="defaultDomain" value="ScheMe-AFA" />
|
|
<add key="enablePlain" value="true" />
|
|
<add key="urlGestUtenti" value="UserAdmin" />
|
|
<add key="adminEmail" value="samuele@steamware.net" />
|
|
<add key="PageNoIndex" value="UserAdmin#Test" />
|
|
<!--gestione reports!-->
|
|
<add key="ReportBasePath" value=".\bin\Reports" />
|
|
<!--stringhe connessione-->
|
|
<add key="DbConfConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
|
<add key="ScheMeConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
|
<add key="ScheMeFilesConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA_files;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
|
<add key="DevicesAuthConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
|
<add key="VocabolarioConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
|
<add key="DbConfConnectionString" value="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA;Persist Security Info=True;User ID=sa;Password=keyhammer" />
|
|
</appSettings>
|
|
<connectionStrings>
|
|
<add name="ScheMe_Data.Properties.Settings.ScheMeConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
|
|
<add name="ScheMe_Data.Properties.Settings.ScheMe_filesConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA_files;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
|
|
<add name="SteamWare.Properties.Settings.ScheMeConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient" />
|
|
<add name="SteamWare.Properties.Settings.DS_AuthConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA;Persist Security Info=True;User ID=sa;Password=keyhammer" 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.6.2" />
|
|
</system.Web>
|
|
-->
|
|
<system.web>
|
|
<httpHandlers>
|
|
<!--<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" />-->
|
|
<!--<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" validate="false" />-->
|
|
</httpHandlers>
|
|
<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>
|
|
<assemblies>
|
|
<!--<add assembly="Microsoft.ReportViewer.WebForms, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845DCD8080CC91" />-->
|
|
<add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
|
|
</assemblies>
|
|
</compilation>
|
|
<httpRuntime targetFramework="4.5" maxRequestLength="1048576" executionTimeout="3600" />
|
|
<httpModules>
|
|
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" />
|
|
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" />
|
|
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" />
|
|
</httpModules>
|
|
<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>
|
|
<customErrors mode="Off" />
|
|
<sessionState mode="Custom" customProvider="MySessionStateStore">
|
|
<providers>
|
|
<add name="MySessionStateStore" type="Microsoft.Web.Redis.RedisSessionStateProvider" host="localhost" accessKey="localhost" ssl="false" applicationName="ScheMe-AFA" />
|
|
</providers>
|
|
</sessionState>
|
|
</system.web>
|
|
<system.webServer>
|
|
<handlers>
|
|
<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" />
|
|
<!--<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=12.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" />-->
|
|
</handlers>
|
|
<security>
|
|
<requestFiltering>
|
|
<requestLimits maxAllowedContentLength="1073741824" />
|
|
</requestFiltering>
|
|
</security>
|
|
<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>
|
|
</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>
|
|
<runtime>
|
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
<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="WebGrease" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.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="Microsoft.ReportViewer.Common" publicKeyToken="89845dcd8080cc91" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
|
|
</dependentAssembly>-->
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Microsoft.ReportViewer.Common" publicKeyToken="89845dcd8080cc91" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
|
|
</dependentAssembly>
|
|
<!--<dependentAssembly>
|
|
<assemblyIdentity name="Microsoft.ReportViewer.WebForms" publicKeyToken="89845dcd8080cc91" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
|
|
</dependentAssembly>-->
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Microsoft.ReportViewer.DataVisualization" publicKeyToken="89845dcd8080cc91" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
|
|
</dependentAssembly>
|
|
<dependentAssembly>
|
|
<assemblyIdentity name="Microsoft.SqlServer.Types" publicKeyToken="89845dcd8080cc91" culture="neutral" />
|
|
<bindingRedirect oldVersion="0.0.0.0-14.0.0.0" newVersion="14.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>
|
|
</runtime>
|
|
</configuration> |