| 1 | <?xml version="1.0"?>
|
|---|
| 2 | <!--
|
|---|
| 3 | Note: As an alternative to hand editing this file you can use the
|
|---|
| 4 | web admin tool to configure settings for your application. Use
|
|---|
| 5 | the Website->Asp.Net Configuration option in Visual Studio.
|
|---|
| 6 | A full list of settings and comments can be found in
|
|---|
| 7 | machine.config.comments usually located in
|
|---|
| 8 | \Windows\Microsoft.Net\Framework\v2.x\Config
|
|---|
| 9 | <system.web>
|
|---|
| 10 | <pages enableViewStateMac="false" />
|
|---|
| 11 | </system.web>
|
|---|
| 12 | -->
|
|---|
| 13 | <configuration>
|
|---|
| 14 | <configSections>
|
|---|
| 15 | <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
|---|
| 16 | <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
|---|
| 17 | <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
|
|---|
| 18 | <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
|---|
| 19 | <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>
|
|---|
| 20 | <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
|
|---|
| 21 | <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
|
|---|
| 22 | <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
|
|---|
| 23 | </sectionGroup>
|
|---|
| 24 | </sectionGroup>
|
|---|
| 25 | </sectionGroup>
|
|---|
| 26 | <sectionGroup name="elmah">
|
|---|
| 27 | <section name="security" requirePermission="false" type="Elmah.SecuritySectionHandler, Elmah" />
|
|---|
| 28 | <section name="errorLog" requirePermission="false" type="Elmah.ErrorLogSectionHandler, Elmah" />
|
|---|
| 29 | <section name="errorMail" requirePermission="false" type="Elmah.ErrorMailSectionHandler, Elmah" />
|
|---|
| 30 | <section name="errorFilter" requirePermission="false" type="Elmah.ErrorFilterSectionHandler, Elmah" />
|
|---|
| 31 | </sectionGroup>
|
|---|
| 32 | </configSections>
|
|---|
| 33 | <appSettings>
|
|---|
| 34 | <!--Wersja LIVE-->
|
|---|
| 35 | <!--<add key="eCard.Url" value="https://pay.ecard.pl/payment/PS"/>-->
|
|---|
| 36 | <!--Wersja DEV-->
|
|---|
| 37 | <add key="wersja" value="TEST"/>
|
|---|
| 38 | <add key="eCard.Url" value="https://pay.ecard.pl/servlet/PSTEST"/>
|
|---|
| 39 |
|
|---|
| 40 | <!--<add key="Strona" value="http://pay.truck-expo.com"/>
|
|---|
| 41 | <add key="Css" value="truck"/>-->
|
|---|
| 42 |
|
|---|
| 43 | <add key="Strona" value="http://platnosci.admoto.pl"/>
|
|---|
| 44 | <add key="Css" value="admoto"/>
|
|---|
| 45 | <add key="LinkFail" value="/Platnosc/Fail"/>
|
|---|
| 46 | <add key="LinkOk" value="/Platnosc/Ok"/>
|
|---|
| 47 |
|
|---|
| 48 | </appSettings>
|
|---|
| 49 | <elmah>
|
|---|
| 50 | <errorLog type="Elmah.XmlFileErrorLog, Elmah" logPath="~/Log" />
|
|---|
| 51 | <security allowRemoteAccess="0" />
|
|---|
| 52 | </elmah>
|
|---|
| 53 | <!--
|
|---|
| 54 | <location path="elmah.axd">
|
|---|
| 55 | <system.web>
|
|---|
| 56 | <authorization>
|
|---|
| 57 | <deny users="?" />
|
|---|
| 58 | </authorization>
|
|---|
| 59 | </system.web>
|
|---|
| 60 | </location>
|
|---|
| 61 | -->
|
|---|
| 62 | <connectionStrings>
|
|---|
| 63 | <add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
|
|---|
| 64 | <add name="Platnosci.Core.Properties.Settings.BAZA_REKLAM_TESTConnectionString" connectionString="Data Source=sql.ct.com.pl;Initial Catalog=BAZA_REKLAM_TEST;Persist Security Info=True;User ID=wwwadmin;Password=adm1648" providerName="System.Data.SqlClient"/>
|
|---|
| 65 | </connectionStrings>
|
|---|
| 66 | <system.web>
|
|---|
| 67 | <!--
|
|---|
| 68 | Set compilation debug="true" to insert debugging
|
|---|
| 69 | symbols into the compiled page. Because this
|
|---|
| 70 | affects performance, set this value to true only
|
|---|
| 71 | during development.
|
|---|
| 72 | -->
|
|---|
| 73 | <compilation debug="true">
|
|---|
| 74 | <assemblies>
|
|---|
| 75 | <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
|
|---|
| 76 | <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|---|
| 77 | <add assembly="System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|---|
| 78 | <add assembly="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|---|
| 79 | <add assembly="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|---|
| 80 | <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
|
|---|
| 81 | <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
|
|---|
| 82 | <add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
|
|---|
| 83 | </assemblies>
|
|---|
| 84 | </compilation>
|
|---|
| 85 | <!--
|
|---|
| 86 | The <authentication> section enables configuration
|
|---|
| 87 | of the security authentication mode used by
|
|---|
| 88 | ASP.NET to identify an incoming user.
|
|---|
| 89 | -->
|
|---|
| 90 | <authentication mode="Forms">
|
|---|
| 91 | <forms loginUrl="~/pl/Account/LogOn" timeout="2880"/>
|
|---|
| 92 | </authentication>
|
|---|
| 93 |
|
|---|
| 94 | <membership>
|
|---|
| 95 | <providers>
|
|---|
| 96 | <clear/>
|
|---|
| 97 | <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" passwordStrengthRegularExpression="" applicationName="/"/>
|
|---|
| 98 | </providers>
|
|---|
| 99 | </membership>
|
|---|
| 100 | <profile>
|
|---|
| 101 | <providers>
|
|---|
| 102 | <clear/>
|
|---|
| 103 | <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ApplicationServices" applicationName="/"/>
|
|---|
| 104 | </providers>
|
|---|
| 105 | </profile>
|
|---|
| 106 | <roleManager enabled="false">
|
|---|
| 107 | <providers>
|
|---|
| 108 | <clear/>
|
|---|
| 109 | <add connectionStringName="ApplicationServices" applicationName="/" name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
|
|---|
| 110 | <add applicationName="/" name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
|
|---|
| 111 | </providers>
|
|---|
| 112 | </roleManager>
|
|---|
| 113 | <!--
|
|---|
| 114 | The <customErrors> section enables configuration
|
|---|
| 115 | of what to do if/when an unhandled error occurs
|
|---|
| 116 | during the execution of a request. Specifically,
|
|---|
| 117 | it enables developers to configure html error pages
|
|---|
| 118 | to be displayed in place of a error stack trace.
|
|---|
| 119 |
|
|---|
| 120 | <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
|
|---|
| 121 | <error statusCode="403" redirect="NoAccess.htm" />
|
|---|
| 122 | <error statusCode="404" redirect="FileNotFound.htm" />
|
|---|
| 123 | </customErrors>
|
|---|
| 124 | -->
|
|---|
| 125 | <pages>
|
|---|
| 126 | <controls>
|
|---|
| 127 | <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|---|
| 128 | <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|---|
| 129 | </controls>
|
|---|
| 130 | <namespaces>
|
|---|
| 131 | <add namespace="System.Web.Mvc"/>
|
|---|
| 132 | <add namespace="System.Web.Mvc.Ajax"/>
|
|---|
| 133 | <add namespace="System.Web.Mvc.Html"/>
|
|---|
| 134 | <add namespace="System.Web.Routing"/>
|
|---|
| 135 | <add namespace="System.Linq"/>
|
|---|
| 136 | <add namespace="System.Collections.Generic"/>
|
|---|
| 137 | </namespaces>
|
|---|
| 138 | </pages>
|
|---|
| 139 | <httpHandlers>
|
|---|
| 140 | <remove verb="*" path="*.asmx"/>
|
|---|
| 141 | <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|---|
| 142 | <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|---|
| 143 | <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
|
|---|
| 144 | <add verb="*" path="*.mvc" validate="false" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|---|
| 145 | <add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" />
|
|---|
| 146 | </httpHandlers>
|
|---|
| 147 | <httpModules>
|
|---|
| 148 | <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|---|
| 149 | <add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|---|
| 150 | <add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah"/>
|
|---|
| 151 | </httpModules>
|
|---|
| 152 | </system.web>
|
|---|
| 153 | <system.codedom>
|
|---|
| 154 | <compilers>
|
|---|
| 155 | <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
|---|
| 156 | <providerOption name="CompilerVersion" value="v3.5"/>
|
|---|
| 157 | <providerOption name="WarnAsError" value="false"/>
|
|---|
| 158 | </compiler>
|
|---|
| 159 | <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
|---|
| 160 | <providerOption name="CompilerVersion" value="v3.5"/>
|
|---|
| 161 | <providerOption name="OptionInfer" value="true"/>
|
|---|
| 162 | <providerOption name="WarnAsError" value="false"/>
|
|---|
| 163 | </compiler>
|
|---|
| 164 | </compilers>
|
|---|
| 165 | </system.codedom>
|
|---|
| 166 | <system.web.extensions/>
|
|---|
| 167 | <!--
|
|---|
| 168 | The system.webServer section is required for running ASP.NET AJAX under Internet
|
|---|
| 169 | Information Services 7.0. It is not necessary for previous version of IIS.
|
|---|
| 170 | -->
|
|---|
| 171 | <system.webServer>
|
|---|
| 172 | <validation validateIntegratedModeConfiguration="false"/>
|
|---|
| 173 | <modules runAllManagedModulesForAllRequests="true">
|
|---|
| 174 | <remove name="ScriptModule"/>
|
|---|
| 175 | <remove name="UrlRoutingModule"/>
|
|---|
| 176 | <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|---|
| 177 | <add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|---|
| 178 | </modules>
|
|---|
| 179 | <handlers>
|
|---|
| 180 | <remove name="WebServiceHandlerFactory-Integrated"/>
|
|---|
| 181 | <remove name="ScriptHandlerFactory"/>
|
|---|
| 182 | <remove name="ScriptHandlerFactoryAppServices"/>
|
|---|
| 183 | <remove name="ScriptResource"/>
|
|---|
| 184 | <remove name="MvcHttpHandler"/>
|
|---|
| 185 | <remove name="UrlRoutingHandler"/>
|
|---|
| 186 | <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|---|
| 187 | <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|---|
| 188 | <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|---|
| 189 | <add name="MvcHttpHandler" preCondition="integratedMode" verb="*" path="*.mvc" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|---|
| 190 | <add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
|
|---|
| 191 | </handlers>
|
|---|
| 192 | </system.webServer>
|
|---|
| 193 | </configuration>
|
|---|