Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 trying to use global.asax.....'Event Args' problem

Author  Topic 

bubberz
Constraint Violating Yak Guru

289 Posts

Posted - 2006-02-07 : 10:29:55
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!

bubberz
Constraint Violating Yak Guru

289 Posts

Posted - 2006-02-07 : 11:03:52
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!
Go to Top of Page
   

- Advertisement -