How should I log exceptions in ASP.NET?
How should I log exceptions? I never tried logging in .NET before. Nor try to dump exceptions to a txt (or binary) file. I dont require a text file, just a way to view the logs with the file and line #.
How should I log exceptions? I never tried logging in .NET before. Nor try to dump exceptions to a txt (or binary) file. I dont require a text file, just a way to view the logs with the file and line #.
We are using the approach described here to log our webservice errors with Elmah. And this actually works, but sadly the username beeing logged is empty.
As the title suggests, I’m getting the following exception from an ASP.NET page
I have a simple web service operation like this one:
Currently i am facing a problem i do not understand. I have an wcf client that calls a wcf service through several threads at the same time (both on the same machine). Sometimes, i encounter the well-known System.ServiceModel.CommunicationException
I’m dynamically loading user controls adding them to the Controls collection of the web form.
I have the following code in one of our projects webpages:
I was working on a public comments part of an application on Friday when I got a stack overflow error, which confused me so I thought I’d ask for help. And searching the web using the expression ‘stack overflow’ is a bit self-defeating! I wanted to do an HtmlEncode on the set statement of the … Read more
In my file repository, I will throw the following exceptions when the InsertFile() method is called:
I am wondering if there is a way to change this value for a particular page, instead of setting it for the entire project. We are running into the limit, but only for a couple pages. Our project is using .NET 3.5.