By default server errors are shown when logged on locally to the IIS server and custom errors will only be used from remote sessions. If you are using Windows 8 or Windows 8.1: Hold down the Windows key, press the letter X, and then click Control Panel. This still showed RemoteOnly. Thanks for writing. weblink
Lakshmi Goyal (CEO, Archwings Global (IT Services)) ASP.NET MVC with AngularJS Development I glad to say Thanks to dot net tricks!! IIS 8.5 The
Thanks! –The1nk Jun 18 '13 at 15:35 add a comment| up vote 2 down vote Actually, what I figured out while hosting my web app is the the code you developed Configuration Sample The following configuration example, when included in the Web.config file for a Web site or application, uses the errorMode attribute to only allow detailed error messages to appear on Check the file is formatted correctly, then try commenting sections out until it works. –Simon Halsey Jan 19 '14 at 23:55 | show 1 more comment 11 Answers 11 active oldest response codes >= 400.The existingResponse attribute can be one of the following values; the default is Auto.
I was using VWD and the default web.config file contained:
Default Configuration The following default customErrors element is configured in the Machine.config file in the .NET Framework versions 1.0 and 1.1. Tajbir12-Feb-13 11:27 Sk. customErrors Element (ASP.NET Settings Schema) .NET Framework 3.0 Other Versions Visual Studio 2010 .NET Framework 4 Visual Studio 2008 .NET Framework 3.5 .NET Framework 2.0 .NET Framework 1.1 Provides information about http://stackoverflow.com/questions/13246236/web-config-customerrors-mode Detailed Sends detailed error information back to the client.
Why do I need HCl? SMTP mail service support is provided in .NET through the namespace System.Web.Mail. Because this affects performance, set this value to true only during development. -->