I have a generic class which we have been using for years successfully with only minor changes. But now it fails all together and I do not understand why? It is very generic in content and does little but very importent as it will not fir the ability to read from the Web.Config file
It does not recognise teh word "GLOBAL" as a class name?
ERROR - Public Class Global the work "Global" produces - "Keyword is not valid as an identifyer"
CODE----------------------------------------------------------------
Imports
System.Web
Imports System.Web.SessionState
Imports Microsoft.VisualBasic
Public Class Global
Inherits System.Web.HttpApplication
#Region
" Component Designer Generated Code "
Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
' Fires when the application is started
WebAppConfig.Init(Context)
End Sub
Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs)
' Fires when the session is started
End Sub
...
...
...
End Class