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
259 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

831 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