In the server. netframework2.0 environment, how can I enable the site to run Ajax programs without changing the server settings?

Source: Internet
Author: User
Microsoft official Ajax site: http://www.asp.net/ajax/

Under the. net2.0 framework, configure the Asp.net Ajax site on the remote server:

1.

Because. ASP is not integrated in the netframework2.0 framework. net Ajax extensions, so you need to find a way to put ASP. NET 2.0 Ajax extensions core file system. web. extensions. DLL itself is copied to the bin directory of your site.

Note:
In the. netframework3.5 framework and later versions, the ASP. NET Ajax extensions environment has been integrated, so you do not need to install this option manually.

2.
First download aspajaxextsetup. MSI from the Internet
:
Http://www.microsoft.com/downloads/details.aspx? Familyid = ca9d90fa-e8c9-42e3-aa19-08e2c027f5d6 & displaylang = en

Then install aspajaxextsetup. MSI on your local machine.

And then in the installation directory

C: \ Program Files \ Microsoft ASP. NET \ ASP. NET 2.0 Ajax extensions \ v1.0.61025

Find

System. Web. Extensions. Design. dll
System. Web. Extensions. dll

Put these two files in the bin directory of your site.

-----------------
Then download ajaxcontroltoolkit.zip from the Internet,
:
Http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx? Releaseid = 11121

After decompression,
Copy all ajaxcontroltoolkit. DLL files under ajaxcontroltoolkit \ samplewebsite \ bin to the bin directory of your site.

Upload all the content in the bin directory to the server.

Note that the Web. config under the root directory of the site must be generated as follows:

Create a Website: ASP. NET Ajax-Enable Web site, and then generate Web. config because Ajax is necessary in Web. config.ProgramConfiguration. Otherwise, the Ajax program cannot run on the site.

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.