The
Inherits
attribute in the
.asax
file needs to be the name of the class in the
.asax.vb
file.
The class in the
.asax.vb
file needs to inherit from the composite web base-class.
Global.asax:
<%@ Application Codebehind="Global.asax.vb" Inherits="WebApp.Global_asax" Language="vb" %>
Global.asax.vb:
Public Class Global_asax
Inherits Microsoft.Practices.CompositeWeb.WebClientApplication
...
End Class