ASP.NET Error Handling
-
Hi : I am developing this application in ASP.NET and VB.Net. I am trying to do some Error Logging. Based on all the stuff written out by many people i have decided to handle it in the Global.Asax application_error event. In this event i redirect the control to a page called frmError.aspx This is the code i have to try capturing the details of the error that occurred. 'Dim exceptionExError As New Exception() 'exceptionExError=Server.GetLastError 'Label_Temp.Text = exceptionExError.Message All the articles written either use 'exceptionExError=Context.Error.GetBaseException or 'exceptionExError=Server.GetLastError For some reason this piece of code just keeps cranking and then ultimately renders the frmErrorPage.aspx as not available. However the frmErrorPage.aspx gets displayed when i remove this section of the code off. So i do not realy understand what's wrong with this code. Thanks in advance for the help. Regards Pradhip.S If a Building is Completed then why do they call it BUILDING ??