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);
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.