root/trunk/eCard/Expo/Web.Config @ 836

Wersja 486, 7.8 KB (wprowadzona przez marek, 17 years temu)

fixes #139

Line 
1<?xml version="1.0"?>
2<configuration>
3        <configSections>
4                <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
5                        <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
6                                <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
7                                <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
8                                        <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere"/>
9                                        <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
10                                        <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
11                                </sectionGroup>
12                        </sectionGroup>
13                </sectionGroup>
14        </configSections>
15  <appSettings>
16    <add key="SmtpUser" value="marek.stachura@ct.com.pl"/>
17    <add key="SmtpPwd" value="mageroni"/>
18    <add key="StatusLink" value="http://platnosci.admoto.pl/info.aspx"/>
19    <!--<add key="StatusLink" value="http://pay.truck-expo.com/info.aspx"/>-->
20  </appSettings>
21        <connectionStrings>
22                <add name="BazaReklamConn" connectionString="SERVER=10.0.0.21;DATABASE=Baza_Reklam;UID=wwwadmin;PWD=adm1648;" providerName="System.Data.SqlClient"/>
23        </connectionStrings>
24        <system.web>
25                <pages>
26                        <controls>
27                                <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
28                        </controls>
29                </pages>
30                <!--
31          Set compilation debug="true" to insert debugging
32          symbols into the compiled page. Because this
33          affects performance, set this value to true only
34          during development.
35    -->
36                <compilation debug="true">
37                        <assemblies>
38                                <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
39                                <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
40                                <add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
41                                <add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
42                                <add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
43                                <add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
44                                <add assembly="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></assemblies>
45                </compilation>
46                <!--
47            The <authentication> section enables configuration
48            of the security authentication mode used by
49            ASP.NET to identify an incoming user.
50     -->
51                <authentication mode="Forms">
52                        <forms loginUrl="login.aspx" defaultUrl="platnosc.aspx"/>
53                </authentication>
54                <authorization>
55                        <deny users="?"/>
56                </authorization>
57                <!--
58   
59                The <customErrors> section enables configuration
60            of what to do if/when an unhandled error occurs
61            during the execution of a request. Specifically,
62            it enables developers to configure html error pages
63            to be displayed in place of a error stack trace.
64
65        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
66            <error statusCode="403" redirect="NoAccess.htm" />
67            <error statusCode="404" redirect="FileNotFound.htm" />
68        </customErrors>
69         -->
70                <customErrors mode="RemoteOnly" defaultRedirect="Error.aspx">
71                </customErrors>
72                <!-- Ustawinia kultur -->
73                <globalization culture="auto" uiCulture="auto"/>
74                <httpHandlers>
75                        <remove verb="*" path="*.asmx"/>
76                        <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
77                        <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
78                        <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
79                </httpHandlers>
80                <httpModules>
81                        <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
82                </httpModules>
83        </system.web>
84        <system.web.extensions>
85                <scripting>
86                        <webServices>
87                                <!-- Uncomment this line to customize maxJsonLength and add a custom converter -->
88                                <!--
89      <jsonSerialization maxJsonLength="500">
90        <converters>
91          <add name="ConvertMe" type="Acme.SubAcme.ConvertMeTypeConverter"/>
92        </converters>
93      </jsonSerialization>
94      -->
95                                <!-- Uncomment this line to enable the authentication service. Include requireSSL="true" if appropriate. -->
96                                <!--
97        <authenticationService enabled="true" requireSSL = "true|false"/>
98      -->
99                                <!-- Uncomment these lines to enable the profile service. To allow profile properties to be retrieved
100           and modified in ASP.NET AJAX applications, you need to add each property name to the readAccessProperties and
101           writeAccessProperties attributes. -->
102                                <!--
103      <profileService enabled="true"
104                      readAccessProperties="propertyname1,propertyname2"
105                      writeAccessProperties="propertyname1,propertyname2" />
106      -->
107                        </webServices>
108                        <!--
109      <scriptResourceHandler enableCompression="true" enableCaching="true" />
110      -->
111                </scripting>
112        </system.web.extensions>
113        <system.webServer>
114                <validation validateIntegratedModeConfiguration="false"/>
115                <modules>
116                        <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
117                </modules>
118                <handlers>
119                        <remove name="WebServiceHandlerFactory-Integrated"/>
120                        <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
121                        <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
122                        <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
123                </handlers>
124        </system.webServer>
125</configuration>
Notatka: Zobacz TracBrowser aby uzyskać więcej informacji.