Files
XPS/XPS/Web.config
T

271 lines
16 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<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 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>
<globalization uiCulture="auto" enableClientBasedCulture="true" />
<compilation debug="true" targetFramework="4.6.2">
<assemblies>
<add assembly="Microsoft.ReportViewer.WinForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.ServiceProcess, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Configuration.Install, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Web.Extensions.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Web.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
</assemblies>
<buildProviders />
</compilation>
<httpHandlers>
<add verb="GET,HEAD,POST" path="*.asbx" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />
</httpHandlers>
<httpModules>
<add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah" />
<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" />
<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah" />
</httpModules>
<customErrors mode="Off" />
<!--<customErrors mode="RemoteOnly" defaultRedirect="unauthorized.aspx" />-->
<httpRuntime maxRequestLength="102400" />
<!-- qui sopra configurato x gestire allegati fino a 100 mb...
<httpRuntime
maxRequestLength="102400"
executionTimeout="1200"
useFullyQualifiedRedirectUrl="false"
minFreeThreads="8"
minLocalRequestFreeThreads="4"
appRequestQueueLimit="100" />
-->
<pages controlRenderingCompatibilityVersion="4.0">
<controls>
<add assembly="Microsoft.AspNet.Web.Optimization.WebForms" namespace="Microsoft.AspNet.Web.Optimization.WebForms" tagPrefix="webopt" />
<add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" />
</controls>
</pages>
<!--<sessionState mode="InProc" timeout="30" />-->
<sessionState mode="Custom" customProvider="MySessionStateStore">
<providers>
<!-- For more details check https://github.com/Azure/aspnet-redis-providers/wiki --><!-- Either use 'connectionString' OR 'settingsClassName' and 'settingsMethodName' OR use 'host','port','accessKey','ssl','connectionTimeoutInMilliseconds' and 'operationTimeoutInMilliseconds'. --><!-- 'throwOnError','retryTimeoutInMilliseconds','databaseId' and 'applicationName' can be used with both options. --><!--
<add name="MySessionStateStore"
host = "127.0.0.1" [String]
port = "" [number]
accessKey = "" [String]
ssl = "false" [true|false]
throwOnError = "true" [true|false]
retryTimeoutInMilliseconds = "5000" [number]
databaseId = "0" [number]
applicationName = "" [String]
connectionTimeoutInMilliseconds = "5000" [number]
operationTimeoutInMilliseconds = "1000" [number]
connectionString = "<Valid StackExchange.Redis connection string>" [String]
settingsClassName = "<Assembly qualified class name that contains settings method specified below. Which basically return 'connectionString' value>" [String]
settingsMethodName = "<Settings method should be defined in settingsClass. It should be public, static, does not take any parameters and should have a return type of 'String', which is basically 'connectionString' value.>" [String]
loggingClassName = "<Assembly qualified class name that contains logging method specified below>" [String]
loggingMethodName = "<Logging method should be defined in loggingClass. It should be public, static, does not take any parameters and should have a return type of System.IO.TextWriter.>" [String]
redisSerializerType = "<Assembly qualified class name that implements Microsoft.Web.Redis.ISerializer>" [String]
/>
-->
<add name="MySessionStateStore" type="Microsoft.Web.Redis.RedisSessionStateProvider" host="localhost" accessKey="localhost" ssl="false" applicationName="XPS" databaseId="3" />
</providers>
</sessionState>
</system.web>
<system.web.extensions>
<scripting>
<scriptResourceHandler enableCompression="true" enableCaching="true" />
</scripting>
</system.web.extensions>
<appSettings>
<add key="CodModulo" value="XPS" />
<add key="_navMaxChar" value="20" />
<!--Redis conn-->
<add key="serializeSession" value="true" />
<add key="RedisConn" value="localhost,abortConnect=false,ssl=false" />
<add key="RedisConnAdmin" value="localhost,abortConnect=false,ssl=false" />
<add key="redisDb" value="3" />
<!--Conf generale-->
<add key="Environment" value="DEV" />
<add key="appVers" value="develop" />
<add key="downloadPath" value="c:\Steamware\installers\XPS_APP\" />
<!--gestione cookie-->
<add key="AuthCookie" value="XPS" />
<add key="enableCookie" value="true" />
<add key="cookieDayExp" value="365" />
<add key="authSite" value="http://IIS02/Equa_Auth/" />
<!--<add key="currSite" value="http://IIS02/XPS/"/>-->
<add key="currSite" value="http://localhost:10840/" />
<!--gestione pagina-->
<add key="menuCondensed" value="false" />
<add key="intUpdatePagina_ms" value="120000" />
<add key="_righeDataGrid" value="30" />
<add key="_righeDataGridAnagr" value="20" />
<add key="_righeDataGridLong" value="20" />
<add key="_righeDataGridMed" value="15" />
<add key="_righeDataGridShort" value="10" />
<add key="_fromEmail" value="xps@steamware.net" />
<add key="_logDir" value="./logs/" />
<add key="_logLevel" value="6" />
<add key="_logMaxMb" value="30" />
<add key="_allowForceUser" value="true" />
<add key="_safePages" value="chLang.aspx#jumper.aspx#unauthorized.aspx#allegati.aspx#forceUser.aspx#login.aspx#test.aspx#UserAdmin.aspx" />
<add key="PageNoIndex" value="Test#UserAdmin#Login#UpdMan" />
<add key="_commonPages" value="menu.aspx" />
<add key="_titoloPagina" value="XPS" />
<add key="titleApp" value="XPS_titleApp" />
<add key="welcomeApp" value="XPS_welcomeApp" />
<add key="appName" value="XPS" />
<add key="defaultApp" value="XPS_Appl" />
<add key="defaultTitle" value="XPS_ShortWelcome" />
<add key="defaultBody" value="XPS_LongWelcome" />
<add key="_treeMaxChar" value="45" />
<add key="_showAllTree" value="false" />
<add key="_jumpStart" value="10" />
<add key="defDayLeadTime" value="4" />
<add key="_adminEmail" value="equa@steamware.net" />
<add key="_emailUser" value="equa@steamware.net" />
<add key="_emailPwd" value="123456789" />
<add key="_smtpCli" value="keyhammer.ath.cx" />
<!--area auth-->
<add key="AuthCookieName" value="XPS_Auth" />
<add key="enablePlain" value="true" />
<add key="DevicesAuthConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=Equa_XPS;Persist Security Info=True;User id=sa;Password=keyhammer16;" />
<!--gestione periodi e formati data-ora-->
<add key="prevMonth" value="3" />
<add key="culture" value="it-IT" />
<add key="ddMMyy" value="dd/MM/yy" />
<add key="ddMMyyyy" value="dd/MM/yyyy" />
<add key="ddMMyyyyHHmm" value="dd/MM/yyyy HH:mm" />
<!--area DB-->
<add key="XPSConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=Equa_XPS;Persist Security Info=True;User id=sa;Password=keyhammer16;" />
<add key="PermessiConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=Equa_XPS;Persist Security Info=True;User id=sa;Password=keyhammer16;" />
<add key="UtenteCdcConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=Equa_XPS;Persist Security Info=True;User id=sa;Password=keyhammer16;" />
<add key="VocabolarioConnectionString" value="Data Source=SQL2016DEV;Initial Catalog=Equa_XPS;Persist Security Info=True;User id=sa;Password=keyhammer16;" />
<!--Area barcode-->
<add key="bCodeRetMain" value="bcex" />
<!-- Area reporting -->
<add key="ReportBasePath" value=".\bin\Reports" />
<add key="urlReporting" value="http://{0}/ReportServer?/{1}/{2}&amp;rs:Command=Render&amp;rc:Parameters=false&amp;rc:Toolbar=true&amp;IdxObj={3}{4}" />
<!-- NB: "/" == "%2f" -->
<add key="reportingServerAddress" value="SQL2016DEV" />
<add key="reportDir" value="ReportEqua" />
<add key="reportName_mod" value="ReportSchedaIdentificazione" />
<add key="reportName_lbl" value="LabelEqua" />
<add key="reportOpzPdf" value="&amp;rs:Format=PDF" />
<!--Setup stampa-->
<!--<add key="printerSchedaIdentificazione" value="Brother HL-4050CDN" />-->
<add key="printerSchedaIdentificazione" value="\\Vostro410\PDFCreator" />
<add key="PageWidthSchedaIdentificazione" value="29.7cm" />
<add key="PageHeightSchedaIdentificazione" value="21.0cm" />
<add key="MarginSchedaIdentificazione" value="0.3cm" />
<!--<add key="printerBarcode" value="\\10.74.82.72\Brother QL-560" />-->
<add key="printerBarcode" value="\\Vostro410\PDFCreator" />
<add key="printerBarcode" value="Brother QL-720NW" />
<!--<add key="PageWidthBarcode" value="5.4cm" />
<add key="PageHeightBarcode" value="1.7cm" />-->
<add key="PageWidthBarcode" value="6.2cm" />
<add key="PageHeightBarcode" value="2.9cm" />
<add key="MarginBarcode" value="0.0cm" />
</appSettings>
<connectionStrings>
<add name="XPS_data.Properties.Settings.si_dt30ConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Users\samuele.STEAMWAREWIN\Documents\Visual Studio 2008\Projects\XPS\XPS_data\MDB_Data\si_dt30.mdb;Persist Security Info=True" providerName="System.Data.OleDb" />
<add name="XPS_data.Properties.Settings.Equa_AnagraficaConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=Equa_XPS;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" />
<add name="XPS_data.Properties.Settings.Equa_XPSConnectionString" connectionString="Data Source=SQL2016DEV;Initial Catalog=Equa_XPS;Persist Security Info=True;User ID=sa;Password=keyhammer16;" providerName="System.Data.SqlClient" />
</connectionStrings>
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<add name="ASBXHandler" verb="GET,HEAD,POST" path="*.asbx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</handlers>
<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" />
<remove name="Session" />
<add name="Session" type="Microsoft.AspNet.SessionState.SessionStateModuleAsync, Microsoft.AspNet.SessionState.SessionStateModule, Version=1.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode" />
</modules>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Microsoft.VisualStudio.Enterprise.ASPNetHelper" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<codeBase version="8.0.0.0" href="file:///C:/Program%20Files/Microsoft%20Visual%20Studio%208/Common7/IDE/PrivateAssemblies/Microsoft.VisualStudio.Enterprise.ASPNetHelper.DLL" />
</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-12.0.0.0" newVersion="12.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>
<dependentAssembly>
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.4.1" newVersion="4.0.4.1" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.IO.Pipelines" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.0.1" newVersion="4.0.0.1" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Numerics.Vectors" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-4.1.4.0" newVersion="4.1.4.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
<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>