Ajax application not working when deployed to web server


I installed the extender and then the toolkit and was able to create the sample application described here: http://ajax.asp.net/ajaxtoolkit/Walkthrough/UsingSampleExtender.aspx

 However, when I deploy the webpage to my company's web server I get the following error when I try to run it:

Server Error in '/ajaxtest' Application.

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: Could 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 file specified. (E:\WebSites\ajaxtest\web.config line 41)

Source Error:

Line 39: 		</httpHandlers>
Line 40: 		<httpModules>
Line 41: 			<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
Line 42: 		</httpModules>
Line 43: 	</system.web>

Source File: E:\WebSites\ajaxtest\web.config    Line: 41

 The file it is referencing (E:\WebSites\ajaxtest\web.config) is there. Does anyone have any idea what's going on? I've Googled the problem and searched on here but nothing seems to work.

Thanks in advance!

Reply Tyleulenspiegel 3/26/2007 3:52:13 PM
See related articles to this posting

Do you have System.Web.Extensions.dll in the bin directory in the server?

Nuno Agapito

Don't forget to click "Mark as Answer" on the post that helped you.
This credits that member, earns you a point and marks your thread as Resolved.
Reply Agapito 3/26/2007 5:06:07 PM

Do you mean the bin application of my AJAX enabled web app?

 If so, that particular DLL is not in the bin folder, but it's not in the bin folder on my local machine either and it runs fine there. It just doesn't run on the web server.

Reply Tyleulenspiegel 3/26/2007 6:03:21 PM
If you don't have a bin of your application in the bin folder, maybe it's because you don't have a webApp project but a web site project. But, in both cases, you should have more dll's in the bin folder and that dll's should be copied to the bin folder on the server!

Nuno Agapito

Don't forget to click "Mark as Answer" on the post that helped you.
This credits that member, earns you a point and marks your thread as Resolved.
Reply Agapito 3/26/2007 8:30:45 PM

That's true. It is a web site project and not a web app project. However, I do have a bin folder for the application on my development machine and the server. When run on my development machine the application works, but when run on the server it doesn't. And neither bin folder has the dll you mentioned.

 I'm sorry if I was confusing before.

Regardless, I will see about getting that dll into the proper folder and see what happens from there. Thanks again for your help and advice!

Reply Tyleulenspiegel 3/26/2007 8:36:59 PM

The dll you need should be here:

C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025\System.Web.Extensions.dll

Put it on bin folder on server and it should work, I hope. :P 

Nuno Agapito

Don't forget to click "Mark as Answer" on the post that helped you.
This credits that member, earns you a point and marks your thread as Resolved.
Reply Agapito 3/26/2007 8:53:00 PM

SWEET! That did the trick!

 Thanks a million, Agapito! I really appreciate it.

Reply Tyleulenspiegel 3/26/2007 9:05:33 PM

Gracias!  Friend!  it worked. 



hittem in the head ed.
Reply Webmonkeymon 3/31/2007 11:56:52 PM
asp.net.ajax_control_toolkit 17819 articles. 0 followers. Follow

7 Replies

Similar Articles

[PageSpeed] 17


Similar Artilces:

Ajax call works fine when run under debugger (Visual Studio) but when deployed to web server responsetext is always empty
Hi, I'm writing an Asp.Net web app that mines IIS log(s) based on users' search criteria.  The web app has a pool of background threads to search multiple files in parallel.  Even so it can take some time as our IIS logs are large.  To keep the user informed of the search progress I used Microsoft.XMLHTTP object to make http requests (response has status) which I display via the document.title.  When I run this under Visual Studio debugger it works great.  I deployed it to a Windows 2003 server under IIS.  Now when the XMLH...

AJAX not working on deployed server, but works on test server
Hello, I tried to search on this question, but I'm not sure how to form it, so if it has been answered, my appologies. I had an application developed by a 3rd party company using ASP.NET (2.0, C#) and AJAX.  On their test server the AJAX is working.  I have a page that has three drop downs.  The top drop down populates the second and the second populates the third.  On my production box, the app is not getting the new data for the second and third drop downs.  (But it does on the test server)  I am running MS 2003 server with IIS and ASP.NET and AJAX insta...

Web application on same server as SQL Server 2005 does not work
Hi all I have a web application on a machine (running on WINDOWS SERVER 2003) which also happens to have SQL Server 2005 also installed. The Web App uses the database on the SQL Server. Reporting Services is also set up, which also means report server is setup on that same machine. My problem is that the web app above works perfectly when I run it from my local machine or our test server (both accessing the SQL Server above) but when I run the app from the machine where SQL Server resides, the forms authentication does not work, and any session data is completely removed for no reason...

Deploying Ajax application in a server without Ajax extensions installed
Hi.I'm thinking on depliying new (to be developed) application which will use Ajax Toolkit to hosted server in which Ajax extensions aren't installed and I cant intall it.It is posible just adding the required files to the web application and doing some configuration on Web.config?TIA.  Yes, providing the server is running in full trust mode.  If the server is configured to run in a lower trust mode, I don't think it will work. If server is configured to run in full trust mode, simply upload the AJAX dlls into the application bin directory.BruceDiscountASP.NET: Devel...

Ajax features not working on the server where ajax enable site is deployed
Hi, I have a web site devoped using AjaxControlToolkit 3.0 and VS 2008. all work well on my machine, but if I try to host the site on a server having OS windows server 2003 and IIS 6. Ajax feature of the web site do not work, like calender extender of mask edit extender. bin directory of my web site contains Ajaxcontroltoolkit.dll and other folder required. Any help or pointers on this is highly appriciated.  regards, pravincheers,  are you getting any errors?  if so, pls post em.BruceDiscountASP.NET: Developer Ready ASP.NET Web Hosting- Microsoft Gold Certified Partner- ...

Web setup project to deploy a Web application to a target server
I am working on Visual Studio 2005 web setup..I need to customize installation address, scenario is as follows:  I have web setup (.msi) on my machine..while installing the website, the setup is capturing current machine websites to install the website. I want to install the website on different server...I must be able give the IP address of my target server and expecting the websetup to install the website on target server. Only websetup .msi is available on my current machine, i also have the access to target machine. Is there any way that would do my requirement? Copy pr...

Report works fine from web server but not from asp.net web application
I have a report that works fine from the reporting server but not when called from the asp.net application using a link to the reporting server where the report is located. I also checked the parameters and all values are correctly being passed. When I run the report from the server itself i.e. by logging onto the web server everything works well, but not when I use hyperlink from the wb application. Hi,  From your description, you mentioned the report can be accessed directly from the report server, but when you deployed it into an asp.net application, it failed to work, right?&nbs...

AJAX on iis7 not working on web host but works on my iis6 Development Server
I have AJAX on my asp.net 2.0 site, my development server has iis 6 and have recently begun using a web host that supports AJAX and runs iis 7.  Everything runs fine exept AJAX.  I don't even get an error it usually just performs a full post back when I click on an AJAX link.        I have been searching for weeks for something to help me.  By the way, my web.config does contain: <xhtmlConformance mode="Transitional" /> I would really appriciate any help on this matter, I have run out ideas on this ...

What is reason why application works perfectly on local development server but not on the web server
We have an application where some of the aspects work through the web pages and other aspects do not even though the entire application works without fault on the development machine.  Is there a setting within Visual Studio 2005 which needs to be altered?  The first of our problems was in this function: private void SaveImages() { if (Session["UserType"].Equals("Customer")) { if (FileUpload1.FileName != "") /* { ResizeImage(300, 300, FileUpload1.PostedFile.FileName, Server.MapPath("~\\Customer\\" + Session["username"].ToString() + "\\Classifieds_Images\\") + FileUpload1.Fi...