This is a migrated thread and some comments may be shown as answers.

Unexpected ajax response was received from the server while using Telerik controls in Windows Server 2008 and Asp.net 2.0 on IIS 7.5

3 Answers 302 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
shabbir
Top achievements
Rank 1
shabbir asked on 01 Apr 2011, 08:53 PM
Dear Telerik,

We are licensed users of Telerik Q1 2008. All this while we were using Rad controls on Windows 2003 server and IIS 6.0. Last week as we had new development servers with Windows server 2008 and IIS 7.5 we moved our application there. Everything was working fine application wise. But when i landed onto a page where i was using AjaxLoadingPanel and RadAjaxPanel. I was getting this below error and the application stops working:

Unexpected ajax response was received from the server.
This may be caused by one of the following reasons:
 - Server.Transfer.
 - Custom http handler.
- Incorrect loading of an "Ajaxified" user control.
Verify that you don't get a server-side exception or any other undesired behavior, by setting the EnableAJAX property to false.

URI: myservername/WebResource.axd?d=uhkdlyZ3IGhyOao7S0yHjNAwgV0VX7_TnXhcGI6Q4a1ztQM-s7exLRggzpAGr_x0zRRNleiH4luLqEHWTVMdEGhocyj_xtBnX4XkSI1n0PYXQq2ECXRZEk1R6ijWzUSpwG8C21eaJT6KSQdvi7NsI3dVKzuFzbDtmilk_RN-z5blCkPl0&t=634278494199247819

Actually to get the LoadingPanel I am redirecting to a different page from Grid link button and I am using Response.Redirect method to navigate to another page. I have checked everywhere in Google but couldn't find anything. Can you please suggest me any settings i need to change for Rad controls in IIS 7.5 or Windows server 2008. To give anonymous access we are using Webresource.,axd in Location path in web.config.

It is bit urgent so please kindly suggest or give your inputs ASAP.

Thanks
Maddy

3 Answers, 1 is accepted

Sort by
0
Accepted
Pavel
Telerik team
answered on 04 Apr 2011, 08:27 AM
Hi Maddy,

As explained in this help article, Response.Redirect() does not work in IIS 7. You can use RadAjaxManager.Redirect() method instead.

Best wishes,
Pavel
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
shabbir
Top achievements
Rank 1
answered on 04 Apr 2011, 04:21 PM
Thanks a lot. It works fine after the change
0
ashish
Top achievements
Rank 1
answered on 11 Aug 2011, 12:39 PM
Hi,

I am facing a weird problem calling RadAjaxManager.Redirect() !!
In Firefox 5.0, it is not redirecting whereas everywhere else it is working. Can you help me out?

Regards,
Ashish S.
Tags
General Discussions
Asked by
shabbir
Top achievements
Rank 1
Answers by
Pavel
Telerik team
shabbir
Top achievements
Rank 1
ashish
Top achievements
Rank 1
Share this question
or