Credo di sì, prova con
Server.GetLastError().GetBaseException()