Work Summary (16)-Ajax. netframework3.5 sys undefined Solution

Source: Internet
Author: User
Problem description:

Initially192.168.168.17TheProjectCannot be accessed on the Internet. Later I found thatIE6But inIE7Normal access. The error message is Microsoft.AjaxFramework error"SysUndefined"

For example:


Solution:

1.CheckWeb. configWhether the file contains the following information:

compilation debug = " true " >

assemblies >

Add Assembly = " system. web. extensions, version = 3.5.0.0, culture = neutral, publickeytoken = 31bf3856ad364e35 "/>

</Assemblies>

</Compilation>

 

<Pages>

controls >

Add tagprefix = " Asp " namespace =" system. web. ui " Assembly =" system. web. extensions, version = 3.5.0.0, culture = neutral, publickeytoken = 31bf3856ad364e35 "/>

< Add Tagprefix = "ASP"Namespace="System. Web. UI. webcontrols"Assembly="System. Web. Extensions, version = 3.5.0.0, culture = neutral, publickeytoken = 31bf3856ad364e35"/>

controls >

</Pages>

 

httphandlers >

remove verb = " * " path =" *. asmx "/>

Add verb = " * " path =" *. ashx " type =" ajaxpro. ajaxhandlerfactory, ajaxpro.2 "/>

< Add Verb = "*"Path="*. Asmx"Validate="False"Type="System. Web. Script. Services. scripthandlerfactory, system. Web. Extensions, version = 3.5.0.0, culture = neutral, publickeytoken = 31bf3856ad364e35"/>

< Add Verb = "*"Path="* _ Appservice. axd"Validate="False"Type="System. Web. Script. Services. scripthandlerfactory, system. Web. Extensions, version = 3.5.0.0, culture = neutral, publickeytoken = 31bf3856ad364e35"/>

< Add Verb = "Get, head"Path="Scriptresource. axd"Type="System. Web. Handlers. scriptresourcehandler, system. Web. Extensions, version = 3.5.0.0, culture = neutral, publickeytoken = 31bf3856ad364e35"Validate="False"/>

</Httphandlers>

<Httpmodules>

Add name = " scriptmodule " type =" system. web. handlers. scriptmodule, system. web. extensions, version = 3.5.0.0, culture = neutral, publickeytoken = 31bf3856ad364e35 "/>

</Httpmodules>

2.Check if all the information is consistent.IIS.


Check whether. axdIng in:C: \ windows \ Microsoft. NET \ framework \ v2.0.50727 \ aspnet_isapi.dll

 

3.If these settings are normal. Check the time on the server.

The next day, we found that the year on the server is2006Year, but when I checked the time yesterday, I didn't check the year. I only checked the time (it is estimated that this step may have passed yesterday, so I don't want to do the following.)

4.Compared with the configuration on the test server and the product server, there is no difference.

5.If all of the above are normal, you have to consider whether it is. NET FrameworkAttempt repair or reinstallation

this problem is caused by the server . net Framework versions are inconsistent with those in the development environment, the version on the server is 3.5 , therefore, you can install the SP1 patch on the server later.

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.