prova a mettere il codice per l'errore dettagliato nel Global.asax nell'evento Application_Error:
ed a puntare, nelle pagine degli statuscode, a risorse .htm e non .aspx.codice:Exception err = Server.GetLastError(); Response.Clear(); Response.Write("<h1>" + err.InnerException.Message + "</h1>"); Response.Write("<pre>" + err.ToString + "</pre>"); Server.ClearError();