Unable to connect to the remote server ...from a pocket pc emulator

  • I have a web service developed in VB 2005 connected to a sql server 2005 express. The code has an input and output parameter. I can consume the service without any problem using windows or web client application. But If I try using Pocket PC (2003 or even 2005) client (using the emulator) I get the message: “An unexpected error has occurred in clientPocketPC.exe. Select Quit and then restart this program, or select Details for more information Unable to connect to the remote server.” I selected Details to see what’s wrong and this was displayed:

    clientPocketPC.exe WeException Unable to connect to the remote server at System.Net.HttpWebRequesr.FinishGet Response ( ) at System.Net.HttpRequest.GetResponse ( ) at System.Web.Service.Protocols.WebClientProtocol.Protocols.WebClientProtcol.GetWebResponse ( ) at System.Web.ervices.Protocols.SoapHttpProtocol.doInvoke () at etc..

    Could this be a permission issue? I tried writing this code in Reference.vb: Me.Credentials = System.Net.Credentialcache.Defaultcredentials

    It didn’t work. I tried using the IP address of the localhost (127.0.01/wsOutputInoputPramam.Service.asmx) and tried without it (e.g. http://localhost/ wsOutputInoputPramam.Service.asmx) when adding a web reference but had no luck. I changed operating systems (from Vista to XP) but nothing worked.

    I went to the SQL Server 2005 and made sure all the protocols are enabled and enabled Local and Remote connections ..but I still get that error. Installing SQL Server 2005 SP2 did not help. Does anyone know why I get this error and how to fix it. Many thanks for any suggestions.

  • Well, I disabled IP security in Vista and it wroked fine!!! However, on another computer using XP I tried to disable IPSec service but that did nothing to rsolve the same problem!

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply