Unable To Connect To Remote Server

  • Thread starter Thread starter Jon Vaughan
  • Start date Start date
J

Jon Vaughan

I have the following code :
Which is being called from a C# Smart device project form and is being
displayed via the vs.net 2003 ppc emulator. Tthe problem that im getting is
that when it tries to call the web service I get the error "Unable to
connect to the remote server", which is caught by the exception over the
soap exception.

I read that this could be a firewall thing , so i dropped the firewall,
which made no difference.
I have tested this code on a vb.net form and it works first time.

public bool DoLogin()

{

bool blnLoginSucessful;

DataSet dsLogin;

blnLoginSucessful = false;

CustomerEngine.Customer objWebservice;

string strError;

strError = "OK";

objWebservice = new CustomerEngine.Customer();

try

{

dsLogin = objWebservice.PinNumberLogin(PinNumber,strError);


blnLoginSucessful = true;
 
This error can't be because im calling a web service that uses a vb.net
service with a byref ?

I'm struggling to find an answer as you may have guessed :D
 
Back
Top