Click here to Skip to main content
15,892,768 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
VB
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

1 solution

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:
XML
<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>
 
Share this answer
 
v2

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900