prova a mettere il codice per l'errore dettagliato nel Global.asax nell'evento Application_Error:


codice:
Exception err = Server.GetLastError();
Response.Clear();
Response.Write("<h1>" + err.InnerException.Message + "</h1>");
Response.Write("<pre>" + err.ToString + "</pre>");
Server.ClearError();
ed a puntare, nelle pagine degli statuscode, a risorse .htm e non .aspx.