Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

trying to use global.asax file for error handling

Status
Not open for further replies.

clanm

Programmer
Joined
Dec 26, 2005
Messages
237
Location
US
I just tried to add a global.asax file to my application, and get:

Type 'Event Args' is not defined

...in the parameters section for the routines inside the global.asax page.

I want to have the page errors / exceptions notices sent to the development team, but I can't get past this 'Event Args' error.

Thanks!
 
I'm trying the following and the build liked it:

Imports System.EventArgs


...subroutine now looks like:

Sub Application_Error(ByVal sender As Object, ByVal e As System.EventArgs)

..instead of previous:

Sub Application_Error(ByVal sender As Object, ByVal e As EventArgs)

Any suggestions are welcome!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top