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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need a complete list of ASP.NET page load events 3 26
ADO.NET ENTITY DATA MODEL 3 30
Why is some text in blue in Visual Studio? 6 22
Variable Event ? 3 22
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
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…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

911 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

22 Experts available now in Live!

Get 1:1 Help Now