The Request and Response objects are not available in the
Application_OnStart. So, I'm not sure who you would "show a specific page"
TO. I'm thinking that maybe you want to use Session_OnStart instead.
However, be aware that this will run every time a new user Session starts
(every time a new user logs into your app).
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.
"Salvador" <Sa******@discussions.microsoft.com> wrote in message
news:3E**********************************@microsof t.com...
Hi,
When my web application starts I want to create some instances, if an
exception is raisen I want to show a specific page instead of the main
page.
How can I transfer the execution to a new page?
using Server.Transfer doesn't work cause I don't have a page yet.
Thanks in advance
--
Salvador Alvarez Patuel
Exony Ltd - London, UK