Questions tagged [httpunhandledexception]

8 questions
5
votes
1 answer

How to stop ASP.Net website throwing HttpUnhandledException exception while browsing forward/back through paged listing of items?

I have an ASP.Net hosted website which displays a list of results as a DataGrid or ASP.Net Repeater with paging of results. If one scrolls quickly through the pages by pressing the Previous/Next tabs sometimes an HttpUnhandledException is thrown and…
reddi.tech
  • 2,183
  • 1
  • 16
  • 18
3
votes
1 answer

Why is this rear exception happening "System.IO.IOException" in MySql.Data.MySqlClient.MySqlConnection.Open()?

The stack trace details: System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.AggregateException: One or more errors occurred. ---> System.IO.IOException: Received an…
3
votes
3 answers

HttpUnhandledException ASP.NET

I have a ASP.NET website. If I make a request for a page it works most of the times, but sometimes I get an HttpUnhandledException. I have tried to log the errors, but from the errors messages I'm not able to solve the problem. StackTrace: at…
jweber
  • 589
  • 5
  • 16
2
votes
0 answers

ASP.NET ToolkitScriptManager AsyncPostBackError - throw exception from Content Page

Wonder if anyone can help. I'm trying to implement the ToolScriptManager OnAsyncPostBackError. The ToolkitScriptManager is on the Masterpage and I've set the OnAsyncPostBackError property:
Ianc22
  • 119
  • 10
1
vote
2 answers

HttpContext.Current.User.IsInRole raises HttpUnhandledException. Why?

While I was working on my localhost it worked flawlessly. However, when I deployed the application to another server it started to raise an exception. Basically, this is the instruction that causes the…
aleafonso
  • 2,244
  • 8
  • 38
  • 58
0
votes
3 answers

Link list program to Display Student marks

#include #include #include void Insert(); void DisplayList(); struct Student { char Name[10]; int Marks; struct Student *Next; } *Start; int main() { Start = NULL; int Choise; while (1) { …
0
votes
1 answer

StackOverflowException was unhandled HResult=-2147023895

public void serialcek() { while (!exitThread) { foreach (ManagementObject currentObject in theSearcher.Get()) { try { …
0
votes
0 answers

asp.net error Server cannot set content type after HTTP headers have been sent

I get the above error in my asp.net webforms application when using httpcontext to download a zip file. the code that handles the download works perfect when deployed to production server, but only on my machine that is where i get the error. any…
Andris Mudiayi
  • 459
  • 2
  • 6
  • 21