• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 205
  • Last Modified:

Server Error in '/' Application.

How can we show the detailed error? we have set the <customErrors mode="Off"/> on the webconfig but still it wont display.


Server Error in '/' Application.

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".

<!-- Web.Config Configuration File -->

        <customErrors mode="Off"/>
  • 2
  • 2
1 Solution
is this a development machine or a production machine ?

it means that an error occurred ...

if its a development machine turn on remote errors in your web config ...

if its a production machine check this out http://support.microsoft.com/default.aspx?scid=kb;en-us;306355
epmoAuthor Commented:
Thanks gregory, we got to display the error finally, but now can't connect to the database ..

Cannot find table 0.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IndexOutOfRangeException: Cannot find table 0.

Connection string looks correct, it connects from a dev server and a production server, but not from this server in specific.
The sql server can be accessed from the machine where the app is located.

if you weren't accessing the sqlserver you should get a different error than this ...

this is after it tries to access the sql server ...

its doing something like this ...

DataTable dt = DataSet.Tables[0]

without making sure that the table is there ...

most likely another area of code is failing before this and not showing the exception ... what is that exception?

epmoAuthor Commented:
Thanks! - It's was MDAC.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now