Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to view error messages in brower (web.config)

Status
Not open for further replies.

wrbodine

Programmer
Aug 24, 2000
302
US
Hi,

I have an .aspx page that is in a project on our development server. I copied all of these pages over to a directory created on the live web server (this is our 1st asp.net project). When the page comes up in the browser, it displays the Runtime error page,
Server Error in '/' Application.,
This page suggests modifying the web.config file to be like so:

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

<configuration>
<system.web>
<customErrors mode=&quot;Off&quot;/>
</system.web>
</configuration>

The web.config file in this folder already has this code. I then created a new web.config file for the root directory of the web site as well, with no change.

Is there some other way I need to set up the project other than just copying the files into a directory? Or something else I need to do to view the page (and its full error messages) properly?

Thanks,
Ray
 
<%@Page Debug=&quot;True&quot; %> might do the trick ;)

regards,
Blaxo
 
Thanks, Blaxo....

That didn't change anything. I changed machine.config as well, just in case, and search on the machine for all web.config files, which were all already set correctly. I have no idea what's going on here.

Any help would be greatly appreciated!!

Thanks,
Ray
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top