This has been driving me insane for the past few days and couldn't get around it but have finally figured it out:
In my machine.config file I had an entry under <system.web>
:
<deployment retail="true" />
This seems to override any other customError settings that you have specified in a web.config file, so setting the above entry to:
<deployment retail="false" />
now means that I can once again see the detailed error messages that I need to.
The machine.config
is located at
32-bit
%windir%Microsoft.NETFramework[version]configmachine.config
64-bit
%windir%Microsoft.NETFramework64[version]configmachine.config
Hope that helps someone out there and saves a few hours of hair-pulling.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…