Sunday, March 11, 2012

Ajax 1.0 Delpoyment problems

Hi Phil,

I have some similar problem and here was my solution, may be that would help your team too :

- Delete the AjaxControlToolkit.dll from *all* your bin directoties

- download the latest AjaxControlToolkit.dll and put it in *all* your bin directories

- Uninstall all the ajax extension installation

- download the latest stable (don't take the February ctp ...) Microsoft Ajax Extension and install it

- Use visual studio to create a blank site from the AjaxToolkitSite template and take the web.config file

- add your sensitive infos in the web.config file (don't do the opposite because there are always tricky invisible changes in those **** config files)

- finally, empty your browser cache.

That's it, a bit long but should resolve most developper problem :)


Hi,

Thank you for your suggestons. I have followed them through creating a new one page application with a new standard web.config. I deployed this to the server having cleared browser cache, unistalled ajax extensions and reinstalled ajax extensions, removed any systems.web.extensions.dll from bin directories etc and still when I browse this new application on the server I get postbacks not ajax calls.

I am really confused as to what it could be. It's like the installation of ajax extensions on the server hasn't registered correctly everything it needs to with IIS or it thinks any browser is not ajax compliant.

Hope someone has some more suggestions, this great technology is useless if we can't deploy it

Phil


We have the same Problem

I hae posted a couple of times the same problem. We have an application deployed in Windows 2003 Server with IIS 6. Ajax 1.0 is installed in this machine and GAC seems to normal.

We deployed a simple application with an updatepanel in three similar Windows 2003 installations. It works correctly on two of them, but shows EXACTLY same behavior as you noted. The page does not produce an error but posts back like non-ajax pages.
I have checked views, logs and everything else, but could not find any clue to why this happens.

Without resolving this issue I am very reluctant to use Ajax in any production applications.

SGS


I am having this same issue.

I have been developing these AJAX webapps for a while now. I know that my code is written properly. I have tested it on my local machine, and in fact, it used to work on the production server (Windows 2003). A couple of weeks ago, however, the AJAX stopped behaving as expected on the server. I received postbacks instead of the AJAX partial page renders. We have since rebooted, redownloaded and reinstalled the AJAX extensions on the server and my local machine. I've tried creating new, simple test AJAX-enabled web applications, but they still produce normal postbacks on this server and behave properly elsewhere.

Has anyone found the cause/solution?


hi.

I had the same problem and this is what helped me finally:
http://forums.asp.net/p/1051240/1485691.aspx#1485691

pasted from that forum:


1)open IIS and right click on your web site virtual directory and then click properties
2)then on virtual directory tab click on configuration button
3)In mappings tab ,make configuration like this.
Executable: "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" .locate this file
Extension: .axd
Verbs:All Verbs
Script Engine:checked
Check that file exists:do not check this .


There I checkedall verbsfor the extensions.cs, .aspx, ... and my problem was solved :)


No comments:

Post a Comment