Solution to AjaxPro failure under IIS7.0

Source: Internet
Author: User

When I started a website that referenced the AjaxPro.2 test today, it was okay but failed on IIS 7.0: the report could not be found (The namespace of AjaxPro, j is the namespace defined by myself)

Finally, I suspected it was the cause of IIS 7. Then open web. config to check whether it was the cause. The above prompt is:

<! --
To run ASP. net ajax in Internet Information Service 7.0, system. webServer is required.
Section. This section is not required for earlier versions of IIS.
-->

 

Then, write the "Registration" (just adding a name value) that referenced AjaxPro in web. config at the system. webServer node:

 

Under the

<! -- ======================== AjaxPro =========== IIS 7 exclusive node ============ -->
<Add name = "GaGa_gagahjt" verb = "*" path = "*. ashx" type = "AjaxPro. AjaxHandlerFactory, AjaxPro.2"/>
<! -- =========== AjaxPro ========= register AjaxPro.2 or else it fails on iis 7 ============ ===-->

 

 

I hope to help you. I wish you a pleasant job!

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.