Page.ErrorPage property

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

Michael

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

Francis Shanahan

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,173
Latest member
GeraldReund
Top