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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Creating a route in asp.net webforms 2 25
help with regular expression to search string 6 23
List<PaisEntity> - show some 1 24
Send SMS from VB via Sierra Wireless Modem 2 21
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

813 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

14 Experts available now in Live!

Get 1:1 Help Now