Solved

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

Posted on 2009-05-19
5
255 Views
Last Modified: 2013-12-17
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
Comment
Question by:mmedi005
  • 3
  • 2
5 Comments
 
LVL 14

Expert Comment

by:_Stilgar_
ID: 24427316
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
 

Author Comment

by:mmedi005
ID: 24431995
how do I do this, set the debug=true in the webconfig or is there another way?
0
 
LVL 14

Accepted Solution

by:
_Stilgar_ earned 500 total points
ID: 24432052
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
 

Author Comment

by:mmedi005
ID: 24432121
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
 
LVL 14

Expert Comment

by:_Stilgar_
ID: 24432231
Yes, you're not initializing one of your objects.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now