Skip to main content

All Questions

5 votes
1 answer
4k views

Throwing an exception only when project is in debug mode [duplicate]

I am developing an ASP.NET web forms application. I have many functions that throw some exception on some particular situation. But there are a lot of functions. I don't want to remove and add throw ...
Aishwarya Shiva's user avatar
0 votes
2 answers
2k views

Updating tableadapter throws error Input string was not in a correct format

When I call TA.Update(row) I receive the following error, but I have no idea how to debug it. Is there a way to determine which exact field is causing the issue? Server Error in '/' Application. ...
Adam's user avatar
  • 6,211
2 votes
1 answer
122 views

Which method in the stack trace does the exception belong to?

In a stack trace - has the exception occurred in the last method, in the method before the last method or in the method that was to follow (i.e. it didn't get that far because of the exception)? So, ...
user avatar
8 votes
1 answer
838 views

Exception seems to be thrown repeatedly when debugging

I am debugging an exception in my ASP.NET Application (C# , visual studio). this exception is thrown at the top level of another thread (this is not the problem, i changed that behaviour to not throw ...
Dennis's user avatar
  • 14.5k
1 vote
1 answer
369 views

Output from an Exception class in App_Code

I am trying to see what exception is happening on my dev clients devserver (our servers are fine) and I have an TestException.cs class that handles the most of my exceptions from my sql statement ...
cdub's user avatar
  • 25.8k
2 votes
2 answers
1k views

Exception thrown in referenced project?

I have a Visual Studio 2010 solution consisting of 2 projects: Core, a C# class library project which handles the functionality and data access UI, an ASP.NET 4 website (.NET Framework 4) that ...
Daniel  Hursan's user avatar
2 votes
2 answers
4k views

ASP.NET application throwing "unable to find assembly" error for NHibernate

So let me start by saying that the weird thing about this error is that the application is running, and the error bubbles to the event log, but it's intermittent. Sometimes it's 2 hours between it ...
Paul's user avatar
  • 36.4k
0 votes
1 answer
682 views

Trouble debugging asp.net web service

I'm having trouble figuring out why my web service is not working correctly when called from my asp.net application in production only. I am able to run my asp.net application locally, calling the ...
earthling's user avatar
  • 5,274
1 vote
4 answers
431 views

Moving Current execution position in an ASP.NET project

I'm not sure why but in my asp.net project in this code block when i get an exception on GetRequestStream() i cannot move my cursor to another point in the function as i normally do when i get a ...
user avatar
5 votes
2 answers
4k views

CLR Debugger, ASP.NET -- how to increase timeout?

I'm trying to debug a problem (exception being thrown) in an ASP.NET MVC program using the Microsoft CLR Debugger. It works pretty well, except after a minute or two, the debugger gets detached (the ...
Ken's user avatar
  • 1,537
2 votes
1 answer
22k views

What causes the System.Web.HttpException with error code 0x80070057 on Page.Flush while debugging in VS2005?

Here is the complete error message: An exception of type 'System.Web.HttpException' occurred in System.Web.dll but was not handled in user code Additional information: The remote host ...
Ishmael's user avatar
  • 32.7k