S
Saber
I get an error message when using Profile object in global.asax :
Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs)
Dim browser As String = "test"
Profile.Browser = browser 'line 25
End Sub
Error message:
Object reference not set to an instance of an object.
(it points to line 25)
I don't think it is because of bad connection or database related stuff,
because in other pages of my project (except global.asax) it works properly.
TIA for your responses
Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs)
Dim browser As String = "test"
Profile.Browser = browser 'line 25
End Sub
Error message:
Object reference not set to an instance of an object.
(it points to line 25)
I don't think it is because of bad connection or database related stuff,
because in other pages of my project (except global.asax) it works properly.
TIA for your responses