problrm ajax request in iis

2 posts, 1 answers
  1. reza bazargan
    reza bazargan avatar
    2 posts
    Member since:
    Sep 2004

    Posted 26 Apr 2012 Link to this post

    I've use ajax radcontrols, when i run the application in vs everything is OK;  but when i deploy the application and use iis , i see some exception in ajax request,

    1. Uncaught Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500

    all requests break on iis;

    and that is my response preview :

    Server Error in '/' Application.

    Object reference not set to an instance of an object.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Source Error: 

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace: 

    [NullReferenceException: Object reference not set to an instance of an object.]
       Telerik.Web.UI.RadCompression.Compress(HttpApplication application) +568
       Telerik.Web.UI.RadCompression.PreRequestHandlerExecute(Object sender, EventArgs e) +43
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75


    i have never seem any exception in my code when i debug; i thing that is really silly issue ; but i cant resolve that
  2. Answer
    Pavlina avatar
    6187 posts

    Posted 27 Apr 2012 Link to this post


    The reasons for this error may vary and that is why I suggest you utilize the general troubleshooting tips from this page (the bottom section concerning server error 500 in particular).

    It can also be useful to get familiar with the 'Web Resources Demystified' series of blog posts by my colleague Atanas Korchev and the third series in particular:

    as they can help us identify the reason for the erroneous behavior and how to address it.

    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top