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

problrm ajax request in iis

1 Answer 121 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
reza bazargan
Top achievements
Rank 1
reza bazargan asked on 26 Apr 2012, 06:23 AM
hi;
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

1 Answer, 1 is accepted

Sort by
0
Accepted
Pavlina
Telerik team
answered on 27 Apr 2012, 08:29 AM
Hi,

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:

http://blogs.telerik.com/aspnetmvcteam/posts/08-02-27/web-resources-demystified-part-1.aspx
http://blogs.telerik.com/aspnetmvcteam/posts/08-02-28/web-resources-demystified-part-2.aspx
http://blogs.telerik.com/aspnetmvcteam/posts/08-07-18/web-resources-demystified-part-3-troubleshooting.aspx

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

Regards,
Pavlina
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.
Tags
General Discussions
Asked by
reza bazargan
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or