Category Archives: dotNET Exception Handling

System.Web.Services.Protocols.SoapException

.NET Exceptions – System.Web.Services.Protocols.SoapException

Making our way through the detailed .NET Exception Handling series, today we’ll be tackling the System.Web.Services.Protocols.SoapException. The SoapException is only the second exception we’ve covered in this series that deals with the Windows Communication Foundation (WCF) framework, which is used to build service-oriented applications. The System.Web.Services.Protocols.SoapException is a rather fundamental… continue reading →

System.Web.Services.Protocols.SoapException

.NET Exceptions – KeyNotFoundException

Next up in our continued .NET Exception Handling series we come to the System.Collections.Generic.KeyNotFoundException. In most cases the System.Collections.Generic.KeyNotFoundException is thrown when attempting to access a Collection element using a key that doesn’t exist within said collection. In this article we’ll take a closer look at the System.Collections.Generic.KeyNotFoundException, including where… continue reading →

System.Web.Services.Protocols.SoapException

.NET Exceptions – System.DllNotFoundException

Moving right along through our .NET Exception Handling series, today we’ll take a closer look at the System.DllNotFoundException. As indicated by the name, a System.DllNotFoundException occurs when attempting to import a DLL that doesn’t exist. In this article we’ll examine the System.DllNotFoundException in more detail, including where it resides in… continue reading →

System.Web.Services.Protocols.SoapException

.NET Exceptions – System.Security.SecurityException

Next up in our journey through our .NET Exception Handling series, today we’ll take a gander at the System.Security.SecurityException. System.Security.SecurityExceptions occur when the caller — that is, the executing user account — doesn’t have proper permissions to access a particular resource. Throughout this article we’ll examine the System.Security.SecurityException in more… continue reading →

System.Web.Services.Protocols.SoapException

.NET Exceptions – System.AccessViolationException

Making our way through the .NET Exception Handling series, today we’ll be exploring the System.AccessViolationException in more detail. A System.AccessViolationException occurs when unmanaged/unsafe code attempts to use memory that has not been allocated, or to memory that it doesn’t have access to. In this article we’ll explore the System.AccessViolationException a… continue reading →

System.Web.Services.Protocols.SoapException

.NET Exception Handling – System.ComponentModel.Win32Exception

Today, in our continued journey through the .NET Exception Handling series, we’ll be exploring the wide world of the System.ComponentModel.Win32Exception. As indicated by the Win32 part of the name, the System.ComponentModel.Win32Exception occurs only when dealing with legacy-style applications or code — where your application must invoke direct operating system calls,… continue reading →

System.Web.Services.Protocols.SoapException

.NET Exceptions – System.ServiceModel.FaultException

Moving along through our .NET Exception Handling series today we’re going to take a gander at the System.ServiceModel.FaultException. The System.ServiceModel.FaultException is the first error we’ve dealt with in this series that is tied directly to the Windows Communication Foundation (WCF) platform of services. These services act as a remote interface,… continue reading →

System.Web.Services.Protocols.SoapException

.NET Exception Handling – System.Net.WebException

Moving along through our .NET Exception Handling series today we’ll take a closer look at the System.Net.WebException. While .NET provides numerous exceptions that are related to connectivity and web issues, the System.Net.WebException is one of the most generic (and thus most common) errors you’ll see in your own adventures. Throughout… continue reading →