[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 276
  • Last Modified:

Using a Timer Control and and UpdatePanel, but I get an error...(see below)...why am I getting this error?

Using a Timer Control and and UpdatePanel, but I get an error...(see below)...why am I getting this error?

Error:

Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 0
0
mmedi005
Asked:
mmedi005
  • 3
  • 2
1 Solution
 
_Stilgar_Commented:
I assume you're getting this in a message box - as in exceptions thrown during an AJAX request. You'll have to execute your app using Visual Studio in Debug mode and track the code after the postback throwing this...
0
 
mmedi005Author Commented:
how do I do this, set the debug=true in the webconfig or is there another way?
0
 
_Stilgar_Commented:
No, open the project with VS and press F5. You can set breakpoints in your code, or just wait for an exception to be thrown and not handled, VS will alert you about that.

See for example:
http://www.4guysfromrolla.com/webtech/chapters/VSNETDEBUG/
http://www.devx.com/tips/Tip/18204
http://weblogs.asp.net/lduveau/archive/2007/01/14/debugging-asp-net-ajax-with-visual-studio-2005-and-vista.aspx
0
 
mmedi005Author Commented:
ok, i'll try that.....

when i set the debug=true...

i got a message box stating: Object reference not set to an instance of an object.

But this does not happen till about 3-5 minutes of the page sitting there.

I'll try the other debug method, but any ideas about why the other message is popping up....
0
 
_Stilgar_Commented:
Yes, you're not initializing one of your objects.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now