| [866] | 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>
|
|---|
| [871] | 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>
|
|---|
| [866] | 33 | <appSettings>
|
|---|
| [933] | 34 | <!--Wersja LIVE-->
|
|---|
| 35 | <!--<add key="eCard.Url" value="https://pay.ecard.pl/payment/PS"/>-->
|
|---|
| 36 | <!--Wersja DEV-->
|
|---|
| 37 | <add key="eCard.Url" value="https://pay.ecard.pl/servlet/PSTEST"/>
|
|---|
| 38 |
|
|---|
| [866] | 39 | <add key="StatusLink" value="http://pay.truck-expo.com/info.aspx"/>
|
|---|
| 40 | <add key="Css" value="truck"/>
|
|---|
| 41 | <add key="StatusLink" value="http://platnosci.admoto.pl/info.aspx"/>
|
|---|
| [880] | 42 | <add key="Css" value="admoto"/>
|
|---|
| [888] | 43 |
|
|---|
| [881] | 44 | <add key="Strona" value="http://pay.truck-expo.com"/>
|
|---|
| 45 | <add key="Strona" value="http://platnosci.admoto.pl"/>
|
|---|
| 46 |
|
|---|
| 47 | <add key="LinkFail" value="/Platnosc/Fail"/>
|
|---|
| 48 | <add key="LinkOk" value="/Platnosc/Ok"/>
|
|---|
| [880] | 49 |
|
|---|
| [866] | 50 | </appSettings>
|
|---|
| [871] | 51 | <elmah>
|
|---|
| [880] | 52 | <errorLog type="Elmah.XmlFileErrorLog, Elmah" logPath="~/Log" />
|
|---|
| [871] | 53 | <security allowRemoteAccess="0" />
|
|---|
| 54 | </elmah>
|
|---|
| 55 | <!--
|
|---|
| 56 | <location path="elmah.axd">
|
|---|
| 57 | <system.web>
|
|---|
| 58 | <authorization>
|
|---|
| 59 | <deny users="?" />
|
|---|
| 60 | </authorization>
|
|---|
| 61 | </system.web>
|
|---|
| 62 | </location>
|
|---|
| 63 | -->
|
|---|
| 64 | <connectionStrings>
|
|---|
| [866] | 65 | <add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
|
|---|
| 66 | <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"/>
|
|---|
| 67 | </connectionStrings>
|
|---|
| 68 | <system.web>
|
|---|
| 69 | <!--
|
|---|
| 70 | Set compilation debug="true" to insert debugging
|
|---|
| 71 | symbols into the compiled page. Because this
|
|---|
| 72 | affects performance, set this value to true only
|
|---|
| 73 | during development.
|
|---|
| 74 | -->
|
|---|
| 75 | <compilation debug="true">
|
|---|
| 76 | <assemblies>
|
|---|
| 77 | <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
|
|---|
| 78 | <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|---|
| 79 | <add assembly="System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|---|
| 80 | <add assembly="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|---|
| 81 | <add assembly="System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|---|
| 82 | <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
|
|---|
| 83 | <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
|
|---|
| 84 | <add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
|
|---|
| 85 | </assemblies>
|
|---|
| 86 | </compilation>
|
|---|
| 87 | <!--
|
|---|
| 88 | The <authentication> section enables configuration
|
|---|
| 89 | of the security authentication mode used by
|
|---|
| 90 | ASP.NET to identify an incoming user.
|
|---|
| 91 | -->
|
|---|
| 92 | <authentication mode="Forms">
|
|---|
| [880] | 93 | <forms loginUrl="~/pl/Account/LogOn" timeout="2880"/>
|
|---|
| [866] | 94 | </authentication>
|
|---|
| 95 |
|
|---|
| 96 | <membership>
|
|---|
| 97 | <providers>
|
|---|
| 98 | <clear/>
|
|---|
| 99 | <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="/"/>
|
|---|
| 100 | </providers>
|
|---|
| 101 | </membership>
|
|---|
| 102 | <profile>
|
|---|
| 103 | <providers>
|
|---|
| 104 | <clear/>
|
|---|
| 105 | <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="ApplicationServices" applicationName="/"/>
|
|---|
| 106 | </providers>
|
|---|
| 107 | </profile>
|
|---|
| 108 | <roleManager enabled="false">
|
|---|
| 109 | <providers>
|
|---|
| 110 | <clear/>
|
|---|
| 111 | <add connectionStringName="ApplicationServices" applicationName="/" name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
|
|---|
| 112 | <add applicationName="/" name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
|
|---|
| 113 | </providers>
|
|---|
| 114 | </roleManager>
|
|---|
| 115 | <!--
|
|---|
| 116 | The <customErrors> section enables configuration
|
|---|
| 117 | of what to do if/when an unhandled error occurs
|
|---|
| 118 | during the execution of a request. Specifically,
|
|---|
| 119 | it enables developers to configure html error pages
|
|---|
| 120 | to be displayed in place of a error stack trace.
|
|---|
| 121 |
|
|---|
| 122 | <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
|
|---|
| 123 | <error statusCode="403" redirect="NoAccess.htm" />
|
|---|
| 124 | <error statusCode="404" redirect="FileNotFound.htm" />
|
|---|
| 125 | </customErrors>
|
|---|
| 126 | -->
|
|---|
| 127 | <pages>
|
|---|
| 128 | <controls>
|
|---|
| 129 | <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|---|
| 130 | <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|---|
| 131 | </controls>
|
|---|
| 132 | <namespaces>
|
|---|
| 133 | <add namespace="System.Web.Mvc"/>
|
|---|
| 134 | <add namespace="System.Web.Mvc.Ajax"/>
|
|---|
| 135 | <add namespace="System.Web.Mvc.Html"/>
|
|---|
| 136 | <add namespace="System.Web.Routing"/>
|
|---|
| 137 | <add namespace="System.Linq"/>
|
|---|
| 138 | <add namespace="System.Collections.Generic"/>
|
|---|
| 139 | </namespaces>
|
|---|
| 140 | </pages>
|
|---|
| 141 | <httpHandlers>
|
|---|
| 142 | <remove verb="*" path="*.asmx"/>
|
|---|
| 143 | <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|---|
| 144 | <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"/>
|
|---|
| 145 | <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"/>
|
|---|
| 146 | <add verb="*" path="*.mvc" validate="false" type="System.Web.Mvc.MvcHttpHandler, System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|---|
| [871] | 147 | <add verb="POST,GET,HEAD" path="elmah.axd" type="Elmah.ErrorLogPageFactory, Elmah" />
|
|---|
| 148 | </httpHandlers>
|
|---|
| [866] | 149 | <httpModules>
|
|---|
| 150 | <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|---|
| 151 | <add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|---|
| [871] | 152 | <add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah"/>
|
|---|
| 153 | </httpModules>
|
|---|
| [866] | 154 | </system.web>
|
|---|
| 155 | <system.codedom>
|
|---|
| 156 | <compilers>
|
|---|
| 157 | <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
|---|
| 158 | <providerOption name="CompilerVersion" value="v3.5"/>
|
|---|
| 159 | <providerOption name="WarnAsError" value="false"/>
|
|---|
| 160 | </compiler>
|
|---|
| 161 | <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
|---|
| 162 | <providerOption name="CompilerVersion" value="v3.5"/>
|
|---|
| 163 | <providerOption name="OptionInfer" value="true"/>
|
|---|
| 164 | <providerOption name="WarnAsError" value="false"/>
|
|---|
| 165 | </compiler>
|
|---|
| 166 | </compilers>
|
|---|
| 167 | </system.codedom>
|
|---|
| 168 | <system.web.extensions/>
|
|---|
| 169 | <!--
|
|---|
| 170 | The system.webServer section is required for running ASP.NET AJAX under Internet
|
|---|
| 171 | Information Services 7.0. It is not necessary for previous version of IIS.
|
|---|
| 172 | -->
|
|---|
| 173 | <system.webServer>
|
|---|
| 174 | <validation validateIntegratedModeConfiguration="false"/>
|
|---|
| 175 | <modules runAllManagedModulesForAllRequests="true">
|
|---|
| 176 | <remove name="ScriptModule"/>
|
|---|
| 177 | <remove name="UrlRoutingModule"/>
|
|---|
| 178 | <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|---|
| 179 | <add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
|---|
| 180 | </modules>
|
|---|
| 181 | <handlers>
|
|---|
| 182 | <remove name="WebServiceHandlerFactory-Integrated"/>
|
|---|
| 183 | <remove name="ScriptHandlerFactory"/>
|
|---|
| 184 | <remove name="ScriptHandlerFactoryAppServices"/>
|
|---|
| 185 | <remove name="ScriptResource"/>
|
|---|
| 186 | <remove name="MvcHttpHandler"/>
|
|---|
| 187 | <remove name="UrlRoutingHandler"/>
|
|---|
| 188 | <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"/>
|
|---|
| 189 | <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"/>
|
|---|
| 190 | <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"/>
|
|---|
| 191 | <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"/>
|
|---|
| 192 | <add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
|
|---|
| 193 | </handlers>
|
|---|
| 194 | </system.webServer>
|
|---|
| 195 | </configuration>
|
|---|