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
asp.net.ajax_control_toolkit 17816 articles. 5 followers. Follow

7 Replies

Similar Articles

[PageSpeed] 9
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
Similar Artilces:

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...

Access local server(LAN Server) from Web Server(Web Application Server)
Hello All I have a local server for my LAN and a Web server(at remote location).Is it possible to access my Local Server from my Web Server ? Thanks MS  ...

AJAX Extension in asp.net 2.0 when i choose asp.net web site and run ajax control it will not work but if i choose asp.net ajax enabled web site ajax extensions are working file
 AJAX Extension in asp.net 2.0 when i choose new  asp.net web site and run ajax control it will not work but if i choose asp.net ajax enabled web site ajax extensions are working file.Because of this i will not able to use ajax extension in my previous website which are created in asp.net 2.0. Please help me how i will do it ..or i will convert all previous code in to ajax enabled web site but it is time consuming i think .. please give me proper solution i am new in asp.net development Sandeep, Nothing can help u better than this video RegardsKINJAL"Mark the post as an...

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...

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...

How do I add changes to a deployed web application without re-deploying a new web application
I recently built a setup project in VS.  I deployed the project to my production web server. Later, I made some changes to a few aspx.vb pages.My question is: How do I add those changes to the production web site  WITHOUT  building another setup project and re-deploying the entire web site. I tried to copy the new <webapplication.dll> to the production server. I got an error.I made no changes to the .aspx pages.I later created a completely new setup project, then it worked. I found the solution. What was your solution? Are you able to share it. ...

Web Deployment of a Web Application:why the vbproj file is in the Web Deployment folder
Hello, I'm an old ASP and new ASP 1.1 developer.Now I have to work with ASP 2.0 and I'm testing the new features but there are things that are not clear.. I created a web application (converted from an ASP.NET 2.0 web site) and I was trying to build the web application project.These are the Property Pages Settings:Configuration:ReleaseCompilation: Allow this precompiled site to be updatable .. checkedOutput Assemblies: Merge all outputs to a single assembly  is checked                    ...

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...

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...

Deployment instructions/process of ASP.NET web application to the Web Server.
Good afternoon All, I am developing a multilingual ASP.NET Web Application (AJAX for javascript multilingual ). Could somebody guide me or help me? I really appreciate your help. (1) Deployment instructions to the web server (or links from where i can get this information) for deployment of multilingual ASP.NET Web Application. (2) Can the asp and asp.net share the same virtual directory (I mean can asp and asp.net pages in the same virtual directory) on the web server. Should i take some precautions before deployment? (3) What i have to do with the resource files. I mean deployment i...

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 ...

threaded web application not working on Windows Server 2003 Web Edition
Apologies if this is in the wrong forum area - can it be moved if this is the case? I am developing a vb.net aspx web application, which accepts data over the internet, and then processes, before sending a reply. I have been asked to change it so that the reply is sent as soon as the data has been properly received, and then perform the processing without making the client wait. I have implemented this by starting a thread to do the processing. This way, the reply is sent much quicker. This works perfectly well on my development machine (Windows XP Pro), but when I post it up to...

Unable to Publish the ASP.Net (AJAX enabled) web application on the web server
Hello,I am a newbie to ASP.Net. I created my first web application using ASP.Net.The project compiles and runs perfectly from my local machine.I did a copy website from my local application onto the web server.Now, when I open the server website on the VS Expresss Edition, and build it. I get Errors that says:Error 1 Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. \\\wwwroot\\Form.aspx 396 Error 107 Element 'CalendarExtender' is not a known element. This can occur if the...

Microsoft AJAX Application Works On LocalHost But Not Web Host
I recently made some changes to a example site: http://www.countrycodelist.com. The site functions correctly on my computer but when I upload it to a remotee server it does not.  I have tested it in both medium and full trust and it still does not work on a remote host. The URL of the page that I want to become the primary page is here: http://www.countrycodelist.com/Default_Test.aspx  The code for the web service calls and bridge is almost entirely based on the example here: http://www.asp.net/learn/videos/view.aspx?tabid=63&id=66.  It works on my personal computer fi...

Deploying web application to server
When I build web application on my local server is there a way to transfer it to another witout need to compile it again wish Visual Studio? And how? Thanks for any info on this subject... Hi, you can simply FTP all your site files (web.config, aspx, ascx, asax, image files, etc) to your web server. Then FTP the dll file in your bin folder to the bin folder on the new server. Or you can use "Copy Project..." in VS.net to copy your production files to a server. ...

Ajax is not working on application server
Hi guys, I am using asp.net Ajax extensions on my web application, it worked fine while debugging but when i implemented my application through IIS it didnt work as i want...It keeps refreshing as if there is no Ajax tools what so ever...I tried doing ajax application using javascript (without Ajax extension tools) and worked fine in both debugging and IIS.What seems the problem?  is there something missing in my web.config that i need to configure? Thanks Did you install the ASP.NET AJAX extensions on the server?  (If not using .Net 3.5) If using .Net 3.5, does the server ...

Web Deployment Newbie...can I still deploy the regular way if Web Deployment doesnt work how I need?
Hi guys. I have some projects I need to deploy to a remote server(outisde the company firewall)I am using the current 2.0 method of publishing the files to a local directory and FTP'ing to the remote server. I replace DLL files when needed. If I install Web Deployment will any of the existing methods of publishing a website be affected ?Can I use the PRE-web development method to publish once its installed ?   Thanks     I am assuming you are talking about Web Deployment Projects addin. Yes, publish will still work without any problem if you install Web Deployme...

Web service (uses COM object) works through VS built-in Web server, but fails when deployed in IIS
hi all, I have a asp.net 2.0 web application project with a web service. the web service returns a dataset, based on input params. When I run the web service using F5, it works (it is being served by VS built-in web server), but when I run the web service from browser, it hits the IIS (i already set up the virtual directory) and i dont see any data in the output XML. The web service uses reference to an Interop dll for COM object. I am sure there is a prob with interop dll, as other web services seem to work fine.. I searched a lot but could not figure out this weird behavior.. ...

Pls describe , Deploying "Microsoft Reportviewer with ASP.Net in VS 2008" Web Application to WEB Server
   Hi, I am using VS 2008 , I have doubt for uploading Microsoft Reportviewer with  ASP.net WEB Application Pls describe , Deploying "Microsoft Reportviewer with ASP.Net in VS 2008" Web Application to WEB Server   Regards Praveen    ...

AJAX not working on server, works on test server and developer machine
I use ASP.NET AJAX on my web page. The page consists of two textboxes and two buttons. Textbox 1 is within an update panel triggered by button 1 and the other textbox is updated by full page postback caused by button 2. This works perfectly on my developer machine and on a test server (W2K3) but when I publish it to the real server (W2K3 Server) the page always posts back when clicking button 1 instead of just updating the textbox within the update panel. When I look at the source of the generated page in the browser I see that the server version of the page does not include a...

how to convert existing web application to AJAX based web application
 Hy, i have developed a web application in asp.net 2.0 but due to so many post backs i want to convert this application to AJAX based to fulfill the future requirements, if you have any idea then please share with me, thanks in advance Regards, Aamir Dharani  This post has the answer you're looking for: http://forums.asp.net/p/1144152/1854320.aspxHanan Schwartzberg--------------------http://www.lionsden.co.il...