G
Guest
Hello:
I am trying to initialize a User object at application start:
Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
' Fires when the application is started
Dim loOutcome As InnoBox_BO.User._Outcome
Dim goUser As InnoBox_BO.User
goUser = InnoBox_BO.User.GetInstance
loOutcome =
goUser.CreateByUserID(HttpContext.Current.User.Identity.Name)
End Sub
I am getting an exception that says that
HttpContext.Current.User.Identity.Name is not valid.
Can somebody help me?
Thanks.
Venki
I am trying to initialize a User object at application start:
Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs)
' Fires when the application is started
Dim loOutcome As InnoBox_BO.User._Outcome
Dim goUser As InnoBox_BO.User
goUser = InnoBox_BO.User.GetInstance
loOutcome =
goUser.CreateByUserID(HttpContext.Current.User.Identity.Name)
End Sub
I am getting an exception that says that
HttpContext.Current.User.Identity.Name is not valid.
Can somebody help me?
Thanks.
Venki