Hi all,
Thank all of you for your replay. Here is the content of my web.config file. Thanks.
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 -->
10 <configuration>
11 <appSettings>
12 </appSettings>
13 <connectionStrings/>
14 <system.web>
15 <!--
16 Set compilation debug="true" to insert debugging
17 symbols into the compiled page. Because this
18 affects performance, set this value to true only
19 during development.
20 -->
21 <httpRuntime maxRequestLength="1048576" executionTimeout="3600"/>
22 <compilation debug="true">
23 <assemblies>
24 <add assembly="System.Data.OracleClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
25 <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
26 <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
27 <add assembly="System.Security, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
28 <add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
29 <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
30 <add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></assemblies></compilation>
31 <!--
32 The <authentication> section enables configuration
33 of the security authentication mode used by
34 ASP.NET to identify an incoming user.
35 -->
36 <authentication mode="Windows"/>
37 <!--
38 The <customErrors> section enables configuration
39 of what to do if/when an unhandled error occurs
40 during the execution of a request. Specifically,
41 it enables developers to configure html error pages
42 to be displayed in place of a error stack trace.
43
44 <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
45 <error statusCode="403" redirect="NoAccess.htm" />
46 <error statusCode="404" redirect="FileNotFound.htm" />
47 </customErrors>
48 -->
49 <httpHandlers>
50 <remove verb="*" path="*.asmx"/>
51 <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
52 <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"/>
53 <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"/>
54 </httpHandlers>
55 <httpModules>
56 <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
57 <add name="OperationModule" type="OperationModule"/>
58 </httpModules>
59 </system.web>
60 <system.webServer>
61 <validation validateIntegratedModeConfiguration="false"/>
62 <modules>
63 <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
64 </modules>
65 <handlers>
66 <remove name="WebServiceHandlerFactory-Integrated"/>
67 <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"/>
68 <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"/>
69 <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"/>
70 </handlers>
71 </system.webServer>
72 </configuration>
73