Convert Http Exception to String
<%@ Page Language="vb" EnableSessionState="false" %> <html> <head> <script runat="server"> Sub Page_Load() Try Session("foo") = "Foo" Catch HttpEx As HttpException Message.Text = "ERROR:</br>" Message.Text &= "String Representation of Exception: " & _ HttpEx.ToString() & "</br>" End Try End Sub </script> </head> <body> <asp:label id="Message" forecolor="red" runat="server"/> </body> </html>