Closed pvones closed 8 years ago
@pvones If you are having issues with the Full .NET Framework or .NET Runtime, the best way to file a bug is at Connect (http://connect.microsoft.com/VisualStudio) or through Product Support (https://support.microsoft.com/en-us/contactus?ws=support) if you have a contract.
There is bug in ServerProtocol.GenerateFaultString method at line 136
If there is a custom Exception class that overrides Message property and returns null value thrown in a web service method, the .NET Framework code throws NullReferenceException at text.Length expression because text variable has null value. Please fix it, it is supposed to return correct SOAP fault message. Note that it occurs when custom errors mode is on only.
Possible fix
Trace output
Steps to reproduce. Create new (legacy) ASP.NET Web Service
SOAP request
SOAP response