Windows Develop Bookmark and Share   
 index > Windows Forms Sample Applications > problem logging on
 

problem logging on

I am running into an exception in the function below.  I have just started running this demo application, and it won't get past "dataservice.Authenticate()"  

It keeps throwing a SoapException and a message pops up "Server not responding.  Please try again."

What's wrong?

------------------------------------- 


Public Shared Function Authenticate(username As String, password As String) As WebServicesExceptionType
Dim dataService As IssueVisionServices = GetWebServiceReference(username, password)
Dim exceptionType As WebServicesExceptionType = WebServicesExceptionType.None

Try
            dataService.Authenticate()
        Catch webEx As WebException
exceptionType = WebServicesExceptionType.WebException
        Catch soapEx As SoapException
If soapEx.Actor = "Security" Then
exceptionType = WebServicesExceptionType.SoapException
Else
exceptionType = WebServicesExceptionType.WebException
End If
        Catch ex As Exception
            exceptionType = WebServicesExceptionType.Exception
        End Try
        
        Return exceptionType
    End Function
MigrationUser 1  Friday, August 13, 2004 3:37 PM
See solution in "Server not responding error on login" thread posted by me (oakfish).
MigrationUser 1  Thursday, September 16, 2004 9:26 AM

You can use google to search for other answers

Custom Search

More Threads

• Is it possible to use the PhotoListView outside of this application?
• Large DataSets
• How to get the latest version
• SQL-Server setup
• NewBye - Please wait at least 5 minutes between adding new species
• Well, this is it
• SQLHelper.ExecuteReader error.
• Where can I get TaskVision's Sql script?
• SQL requirements to Set up Terrarium server
• Class is not in the assembly