Solve the Microsoft. Web. Extensions problem after Ajax upgrade

Source: Internet
Author: User

Recently, we have used ajax.asp.net to create a new one. On another development and development, the following problems are found:

<Add verb = "*" Path = "*. asmx "Validate =" false "type =" Microsoft. web. script. services. scripthandlerfactory, Microsoft. web. extensions, version = 1.0.61025.0, culture = neutral, publickeytoken = 31bf3856ad364e35 "/>

I found a bundle of answers on the Internet, and the results were all in the fog and there was basically no correct answer. However, I finally got it out a little bit.

First, make sure that the Web. config file contains

<Httphandlers>
<Remove verb = "*" Path = "*. asmx"/>
<Add verb = "*" Path = "*. asmx "Validate =" false "type =" Microsoft. web. script. services. scripthandlerfactory, Microsoft. web. extensions, version = 1.0.61025.0, culture = neutral, publickeytoken = 31bf3856ad364e35 "/>
<Add verb = "get" Path = "scriptresource. axd" type = "Microsoft. Web. Handlers. scriptresourcehandler" Validate = "false"/>
</Httphandlers>

As for your failure, congratulations! add it.

Then, in C:/program files/Microsoft ASP. NET/ASP. NET 2.0 Ajax extensions/v1.0.61025

Microsoft. Web. Extensions. dll has been copied to the bin of your project for two hours. Grandma's, it was a previous version upgrade. Hey, you guys should pay attention to this next upgrade.

Of course, if you don't have this file, congratulations, you need to go everywhere. Haha

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.