Hi, I have a SilverLight control for Login users in a webservice.
Well, this rules ok in localhost and LAN, but when I update in production server I get an error. The code for my webservices is:
<OperationContract()> _
Public Function ValidateUser(ByVal portalId As String, ByVal PortalName As String, ByVal userName As String, ByVal Password As String) As String
Dim loginStatus As UserLoginStatus = UserLoginStatus.LOGIN_FAILURE
Dim objUser As UserInfo = UserController.ValidateUser(portalId, userName, Password, "", PortalName, "", loginStatus)
UserController.UserLogin(portalId, userName, Password, "", PortalName, "", loginStatus, False)
Dim eventArgs As UserAuthenticatedEventArgs = New UserAuthenticatedEventArgs(objUser, userName, loginStatus, "DNN")
eventArgs.Authenticated = (loginStatus <> UserLoginStatus.LOGIN_FAILURE)
eventArgs.Message = ""
Dim result As Boolean = UserAuthenticated(Nothing, eventArgs, portalId, PortalName)
Return result
End Function
And I get null reference in UserController.UserLogin
Any Idea what is the problem?
Best Regards.