Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Ajax > IIS 7 - Integrated Pipeline Mode
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Not answered IIS 7 - Integrated Pipeline Mode

Feed from this thread
  • Shark75 avatar

    Posted on Jun 3, 2010 (permalink)

    I wonder if anyone could tell me whether the Classic ASP.NET controls will work in IIS 7 using Integrated Pipeline mode on the application pool.

    I've been having some troubles in this mode in relation to the RadAjaxManager of Telerik ASP.NET Classic controls, so wondered if it was related to this and if it is, is there someway to get it to work with Integrated mode.

    Thanks in advance.

  • Iana Tsolova Iana Tsolova admin's avatar

    Posted on Jun 8, 2010 (permalink)

    Hi Shark75,

    Could you please elaborate a bit more on the issues you are facing and on what is your scenario? Then we can try replicating the issue and see if a solution can be found.

    Kind regards,
    Iana
    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.

  • Shark75 avatar

    Posted on Jun 9, 2010 (permalink)

    I had the following error when I had errors in my markup, but I couldn't see I had errors because it was failing to go to the error page to display the error (we use Response.Redirect in the global.asax to redirect to an error page).

    Error: 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.
    Source File: http://localhost/iManagerDEV14XX/WebResource.axd?d=x4ax9HL5Nkin4BPBhBYNfj83cDDvhwl0wiFk_PHyTwO-oZI2DEMpDi8YmFdeaxEH1GtvMizlG9ZMUZtflmrknQHi4yakDWIPtptrTCMExR81&t=634064113448927777
    Line: 1616




  • Iana Tsolova Iana Tsolova admin's avatar

    Posted on Jun 14, 2010 (permalink)

    Hi Shark75,

    Please confirm that you are properly redirected to the error page when ajax is disabled.
    Additionally, try the troubleshooting steps described in the below articles and let me know if it makes any difference:

    http://www.telerik.com/help/aspnet/ajax/ajxcontenttype.html
    http://www.telerik.com/help/aspnet/ajax/ajxerrorhandlinforajax.html


    Sincerely yours,
    Iana
    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.

  • Shark75 avatar

    Posted on Jun 14, 2010 (permalink)

    Some background of our application...

    We can't really turn Ajax off in our application because it's entirely integral to how the application works. We use Ajax to navigate to all of the content in the application. We do make use of ResolveUpdatedControls, firing commands through the RadAjaxManager direct from the client-side code using AjaxRequest() as well as through more standard code-behind and mark-up server side configured control registrations with the RadAjaxManager. We also have a mechanism in place to prevent multiple ajax requests from being fired at the same time (from the user clicking on controls that cause ajax commands to fire).

    Our application was developed on and for IIS 6, but recent developments see our products team asking us to also support IIS 7. Other than adding a default documents section to the web.config file we've made no changes to the application to make it run on IIS 7 (only the installation of it). This seems to work in much the same manner as it would on IIS 6 when running in Classic Mode and in Integrated Mode it seems to work except for handling errors.

    I did know about the http://www.telerik.com/help/aspnet/ajax/ajxcontenttype.html article you sent already actually because I read them when we were originally developing the application thanks.They helped us with the user control ID issues for dynamically loaded user controls, not using Server.Transfer and we do also make use of ResolveUpdatedControls on both client and server sides.

    In the test I'm performing on our application I'm simply editing some markup to introduce a parse error. The HttpParseException is thrown in the Default.aspx page whilst dynamically loading the user control (the one with the intentional markup mistake) into a Panel. With a breakpoint in the Page_Load method of the Error page you can see it does correctly redirect to the Error page. However the application just hangs on the client-side at that point and the error console in Firefox displays the error detailed in my previous reply (Unexpected ajax response was received...).

    With Ajax off I can add a markup error in the root page. For the error in the root page it does correctly then navigate to the error page without hanging. Because we use Ajax to navigate around I can't simulate an error in a dynmically loaded content control with Ajax off though.

    Adding client side handlers for the RadAjaxManager OnAjaxRequestError allows me to intercept the (Unexpected ajax response was received...) error, but what can I do with it?

    P.S. RadAjax assembly is 1.8.7.0.

  • Iana Tsolova Iana Tsolova admin's avatar

    Posted on Jun 17, 2010 (permalink)

    Hi Shark75,

    When the is intercepted in the OnAjaxRequestError client-side event you can redirect the user to the error page manually. However you can try debugging the project and thus finding what is the real cause of it.

    Regards,
    Iana
    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

  • Shark75 avatar

    Posted on Jun 18, 2010 (permalink)

    Can I confirm then that you do expect RadControls for ASP.Net to work with IIS 7 and Integrated Pipeline Mode?

  • Iana Tsolova Iana Tsolova admin's avatar

    Posted on Jun 23, 2010 (permalink)

    Hello Shark75,

    We are not aware of any issues with RadAjax for ASP.NET in IIS7 Pipeline Mode. However you can check if something additional (handlers, filters, etc.) runs in your IIS7 when the mentioned mode is set and check if it could be the reason for the ajax to fail.
    Other than this, you can try sending us a stripped sample project illustrating the error for further investigation.

    Regards,
    Iana
    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

  • Shark75 avatar

    Posted on Jul 13, 2010 (permalink)

    Just spent the afternoon again trying to resolve this issue and have found a solution which I thought I'd share in case it helps anyone else...

    Where I handle the Application_Error in the Global.asax file to redirect to the Error.aspx page I was using Response.Redirect("~/Error.aspx"), which I thought was ok, but having changed it to Response.RedirectLocation = "Error.aspx" it now correctly redirects to the Error page with the Application Pool running in Integrated Pipeline Mode.

  • Posted on Jan 17, 2011 (permalink)

    Hello,

    Fortunately I found this thread -- changing a number of Response.Redirect to Response.RedirectLocation has helped to get an application working after upgrading my development machine to Windows 7.

    It seems something with Telerik Ajax has broken with IIS7 (i.e. code that works on XP/IIS6 needs the change above to work on Win7/IIS7).     

    Can you raise a bug please?   I guess we have a workaround.. assuming it's safe to make this change :)

    Thanks,
    Mark

  • Iana Tsolova Iana Tsolova admin's avatar

    Posted on Jan 17, 2011 (permalink)

    Hi MarkUniSA,

    Check out this article for more information.

    Regards,
    Iana
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

  • Shark75 avatar

    Posted on Jan 17, 2011 (permalink)

    I don't think the suggested solution on that page is viable:
    1) Because you can't access the RadAjaxManager (which is defined on the page itself, in my case a master page) from the global.asax (where you handle unhandled exceptions).
    2) Because the RadAjaxManager Redirect method is not available for the classic Telerik ASP.NET RadControls library.

  • Iana Tsolova Iana Tsolova admin's avatar

    Posted on Jan 17, 2011 (permalink)

    Hello Shark75,

    Yes, you are right that RadAjax for ASP.NET does not have the Redirect() method.
    However, note that the "classic" controls are not supported any more. So we cannot provided fixes for them. And you should either use the workarounds suitable for you or migrate to the latest version of the controls.

    Best wishes,
    Iana
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

  • Posted on Jan 17, 2011 (permalink)

    Thanks Iana, unfortunately using the radajaxmanager.redirect causes the original error.  So it looks like we will have to use response.redirectlocation after all.

    Are you aware of any adverse impacts in doing this?

    Thanks to Shark75 for the workaround :)

  • Posted on Jan 17, 2011 (permalink)

    Just confirming that setting the IIS AppPool to Classic resolved the problem for us.  (We have not been able to get Integrated working in production with any of our apps - lots of web.config handler changes required to go from IIS6 to IIS7.)

    Hopefully this helps someone else.

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Ajax > IIS 7 - Integrated Pipeline Mode