Sunday, March 11, 2012

Application set up within website breaks AJAX?

hello.

have you checked if the ajax is installed in the server? another thing you migh do is use fiddler to see the http traffic. itl'll point you in the right direction...


Hi,

AJAX is installed on the server. The postback works fine if I remove the application within the website, but as soon as I add that application back in, it stops working. I've tried putting the application into a different application pool, putting the AJAX specific things into the web.config on the website, the application and both, but still don't get the response back.

Is fiddler a free bit of software? Never heard of it tbh


hello.

yes, fiddler is free and you'll really want to have it if you're doing web development:

http://www.fiddlertool.com/fiddler/


I installed fiddler, but it's not really telling me much tbh.

Do you see the same behavior when accessing the site locally from the server console?


hello again.

~what do you mean? if you're not getting a refresh of your partial postback, it'll let you see if you're at least communicating with the server and when you don't get a response you'll get the server error.

now, if you're opening fiddler on the server and you're using ie, then make sure you're using the machine name and not localhost (if you're a firefox user you'll have to configure firefox so that it uses fiddler as a proxy)


Hi,

Thanks for your help. I've not been able to get it to work, and didn't really have time to get fiddler to work. I've just made the page work with standard postbacks for the moment, and will go back to look again if I've got time.

Thanks again

No comments:

Post a Comment