I totally agree with Mark,
Don't add attachments, just post a zip up on the web for us to download.
1 - you don't need to cast Server.GetLastError() to Exception, it returns an
exception.
2 - Look at the inner exception for more meaningful information
3 - You can't use an asp:content control without using a master page.
For #2, this should help:
Exception ex;
for (ex = Server.GetLastError(); ex.InnerException != null; ex =
ex.InnerException);
Karl
--
http://www.openmymind.net/ http://www.fuelindustries.com/
"RAM" <r_********@poczta.onet.plwrote in message
news:qv********************************@4ax.com...
Could anyone explain me the problem in simple application attached?
(undexpected exception)
Thank you vary much!
/RAM/