Click here to Skip to main content
12,508,798 members (57,023 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: ASP.NET
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
 
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

how to resolve it..
pls support me..
Posted 30-Dec-12 19:50pm

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

The message tells you what to to:
"create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off"."
You will then be able to see the details about the error. Without them, neither you nor I can do anything but guess.

Here is an example from one of mine:
<configuration>
  <appSettings file="WebAppSettings.config">
    ...
  </appSettings>
  <connectionStrings configSource="WebConnectionString.config"/>
  <system.web>
    <authorization>
      ...
    </authorization>
    <customErrors defaultRedirect="~/Whoops.aspx" mode="Off" redirectMode="ResponseRewrite">
      <error statusCode="403" redirect="~/NoAccess.aspx"/>
      ...
    </customErrors>
  Permalink  
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160927.1 | Last Updated 31 Dec 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100