Page.ErrorPage property

  • Thread starter Thread starter Michael
  • Start date Start date
M

Michael

Hello,

I'm using Web Matrix and tried to add ErrorPage like this:
<%@ Page Language="C#" Debug="true" ErrorPage="hello.aspx" %>

I thought this would trap unhandled exceptions and redirects to hello.aspx;
it does not. Help.

Thanks.
 
Francis,

I'm using Web Matrix, and I can't find a web.config file; would you know if
Web Matrix store the web.config file in some specific folder?

Thanks.
 
Michael, I haven't used the web matrix tool but from what I've heard it just
helps you construct your aspx pages. The web.config is needed for all
ASP.NET applications and it should be in the root folder of your
application, under c:\inetpub\wwwroot\<application folder>\web.config

hope that helps,
-fs
 
Back
Top