throwing new Exception

  • Thread starter Thread starter Daniel Groh
  • Start date Start date
D

Daniel Groh

I have A.aspx and B.aspx

in A.aspx has a Server.Transfer to B.aspx

B.aspx has a throw new exception(Exception ex);

So when this Exception happens i have the message in A.aspx: Error
executing child request for B.aspx.

What could it be ?
 
Hi,


The expected way? The page that you requested was A after all.

IIRC this is the way it works, you may use Response.Redirect instead.

Cheers,
 
Back
Top