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