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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to change error view for ASPX page??

Status
Not open for further replies.

ivan9843

Programmer
Sep 25, 2003
19
CA
PLease, help, I am new to ASP.NEt.
Here is a problem, when I run ASPX page it gives me a runtime error without description, How do I change it, so I can see a detailed description for it( running IIS), or is there way to do it in Visual Studio.NET ( something F8 button in Visual Studio 6.0)?
Please, help,
Thanks in advance.
Ivan
 
Make sure that your web.config file looks like this:
Code:
<?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?>
<configuration>
  <system.web>
    <customErrors mode=&quot;Off&quot; />
    <compilation debug=&quot;true&quot; />
  </system.web>
</configuration>
If you don't have a web.config file, create one and copy this into it. Better to copy/paste as web.config is case sensitive.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top