Ajax. NET 1.0 configuration error Solution

Source: Internet
Author: User
Development Environment: XP-sp2; VS 2005; IIS 5.1; ASP. NET 2.0 Ajax extensions

Test environment:Windows Server 2003-sp1; IIS 6.0;

Debug and run locally Ajax. net ProgramThere is no problem at all, but once uploaded to the server, there will be many Web. config File exception. The following are two typical exceptions:
configuration error
description: an error occurred during the processing of a configuration file required to service This request. please review the specific error details below and modify your configuration file appropriately.
parser error message: cocould not load file or assembly ' system. web. extensions, version = 1.0.61025.0, culture = neutral, publickeytoken = 31bf3856ad364e35 ' or one of its dependencies. the system cannot find the specified file.

configuration error
description: an error occurred during the processing of a configuration file required to service This request. please review the specific error details below and modify your configuration file appropriately.
parser error message: cocould not load file or assembly ' system. web. extensions. design, version = 1.0.61025.0, culture = neutral, publickeytoken = 31bf3856ad364e35 ' or one of its dependencies. the system cannot find the specified file.

The cause of this problem lies in Microsoft, which is automatically generated when we released the website. DLL File to the program Bin Directory. However Ajax. NET 1.0 Key cannot be automatically added DLL File Bin Directory. Therefore, we need to add them manually.

The method is very simple. Find your installation Ajax. NET 1.0 Directory, which is generally C: \ Program Files \ Microsoft ASP. NET \ ASP. NET 2.0 Ajax Extensions \ v1.0.61025

Put System. Web. Extensions. dll File and System. Web. Extensions. Design. dll File copy Bin Directory. Which file to copy depends on you? Web. config File exception information depends.

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.