Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

exception

How should I log exceptions in ASP.NET?

August 27, 2022 by Magenaut

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 #.

Categories ASP.NET, Q&A Tags .net, asp.net, c#, exception, logging Leave a comment

Logging username with Elmah for WCF Webservices

August 26, 2022 by Magenaut

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.

Categories ASP.NET, Q&A Tags asp.net, elmah, exception, logging, wcf Leave a comment

ASP.NET Exception: The remote name could not be resolved: ‘apiconnector.com’

August 25, 2022 by Magenaut

As the title suggests, I’m getting the following exception from an ASP.NET page

Categories ASP.NET, Q&A Tags asp.net, c#, exception, navigation Leave a comment

How do I extract the inner exception from a soap exception in ASP.NET?

August 25, 2022 by Magenaut

I have a simple web service operation like this one:

Categories ASP.NET, Q&A Tags .net, asp.net, exception, soap, web-services Leave a comment

Client-Side CommunicationException while Service works properly

August 25, 2022 by Magenaut

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

Categories ASP.NET, Q&A Tags .net, asp.net, c#, exception, wcf Leave a comment

Catching unhandled exceptions in ASP.NET UserControls

August 25, 2022 by Magenaut

I’m dynamically loading user controls adding them to the Controls collection of the web form.

Categories ASP.NET, Q&A Tags asp.net, exception, user-controls Leave a comment

Can’t seem to handle XMLException?

August 25, 2022 by Magenaut

I have the following code in one of our projects webpages:

Categories ASP.NET, Q&A Tags asp.net, c#, exception, xml Leave a comment

Stack overflow error in C# set/get

August 25, 2022 by Magenaut

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

Categories ASP.NET, Q&A Tags asp.net, c#, exception Leave a comment

ApplicationException or create custom exceptions?

August 24, 2022 by Magenaut

In my file repository, I will throw the following exceptions when the InsertFile() method is called:

Categories ASP.NET, Q&A Tags .net, asp.net, c#, exception, exception-handling Leave a comment

specifying MaxHttpCollectionKeys for a specific page?

August 24, 2022 by Magenaut

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.

Categories ASP.NET, Q&A Tags asp.net, exception, web-config Leave a comment
Older posts
Newer posts
← Previous Page1 … Page3 Page4 Page5 … Page9 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress