Ajax. NET 1.0 "sys undefined" SOLUTION

Source: Internet
Author: User

Modify your web. config file as follows!

1 < System . Web >
2 <! --  
3 Set compilation DEBUG = "true" to insert the debugging symbol
4 Compiled pages. However, this
5 Performance is affected, so this value is only available during development.
6 Set to true.
7 -->
8 < Compilation Debug = "True" >
9 < Assemblies >
10 < Add Assembly = "System. Web. Extensions, version = 1.0.61025.0, culture = neutral, publickeytoken = 31bf3856ad364e35" />
11 < Add Assembly = "System. Web. Extensions. Design, version = 1.0.61025.0, culture = neutral, publickeytoken = 31bf3856ad364e35" />
12 < Add Assembly = "System. Design, version = 2.0.0.0, culture = neutral, publickeytoken = b03f5f7f11d50a3a" />
13 < Add Assembly = "System. Drawing. Design, version = 2.0.0.0, culture = neutral, publickeytoken = b03f5f7f11d50a3a" />
14 </ Assemblies >
15 </ Compilation >
16 <! --
17 In the <authentication> section, you can configure
18 Security Authentication mode,
19 To identify the user.
20 -->
21 < Httphandlers >
22 < Remove Verb = "*" Path = "*. Asmx" />
23 < Add Verb = "*" Path = "*. Asmx" Validate = "False" Type = "System. Web. Script. Services. scripthandlerfactory, system. Web. Extensions, version = 1.0.61025.0, culture = neutral, publickeytoken = 31bf3856ad364e35" />
24 < 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" />
25 < 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" />
26 </ Httphandlers >
27
28 < Authentication Mode = "Windows" />
29 <! --
30 If an unprocessed error occurs during request execution,
31 You can configure the corresponding processing steps in the <mermerrors> section. Specifically,
32 This section allows developers to configure
33 HTML error page to be displayed
34 To replace the error stack trace.
35
36 <Customerrors mode = "remoteonly" defaultredirect = "genericerrorpage.htm">
37 <Error statuscode = "403" Redirect = "noaccess.htm"/>
38 <Error statuscode = "404" Redirect = "filenotfound.htm"/>
39 </Customerrors>
40 -->
41 </ System. Web >
42
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.