Ajax should pay attention to whether there is. ashx extension in IIS

Source: Internet
Author: User
Ajax should pay attention to whether there is. ashx extension in IIS

A local web Program Put it in the <span href = "http://www.im286.com/tag.php? Name = % B7 % Fe % Ce % F1 % C6 % F7 "class =" t_tag "> server </span>. The web program uses ajax to round-trip data. <Br/> check the generated HTML statement. Code <Font style = "font-size: 13px "> <font color =" # 0000ff "> & lt; </font> <font color = "#800000"> script </font> <font color = "# ff0000"> type </font> <font color = "# 0000ff" >=& quot; text/JavaScript & quot; </font> <font color = "# ff0000"> SRC </font> <font color = "# 0000ff" >=& quot; /Cargo/csharpwrapper/Common. ashx & quot; </font> <font color = "# 0000ff"> & Gt; & lt;/</font> <font color = "#800000"> script </font> <font color = "# 0000ff"> & gt; </font> <font color = "#000000"> <br/> <br/> & nbsp; & nbsp; </font> <font color = "# 0000ff"> & lt; </font> <font color = "#800000"> script </font> <font color = "# ff0000"> T Ype </font> <font color = "# 0000ff" >=& quot; text/JavaScript & quot; </font> <font color = "# ff0000"> SRC </font> <font color = "# 0000ff" >=& quot;/Cargo/csharpwrapper/SD. supercargo. webapp. forms. productinfoajax, SD. supercargo. webapp. ashx & quot; </font> <font color = "# 0000ff"> & gt; & lt; /</font> <font color = "#800000"> script </font> <font color = "# 0000ff"> & gt; </font> <font color = "#000000"> <br/> </font> <br/> that is, Ajax should be up. Check that no parent application exists in the directory where the application is located. Check the IIS extension. There is no. ashx extension on the server. This is probably the problem. Add <br/> select an application, property-> virtual directory-> Configuration-> ing-> Add <br/> Save and exit, everything works.

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.