471,088 Members | 1,295 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,088 software developers and data experts.

Call Web Method from PDA device (Really need this Help)

Hi there,

I can connect to the WebMethod from the WM6 emulator, but i cant connect from the device :S

Shouldnt the device work as fine as the Emulator???

I change the web reference url to my local machine but it does just make it work to the emulator. Why this is happening???

I got an apresentation like in 3/4 hours :S and i got to show the app in the device :S

Someone can help me???

Thanks in advance.

Edit: Here's the exception. maybe it could help to know the problem:

System.Net.WebException was unhandled
Message="Unable to connect to the remote server"
at System.Net.HttpWebRequest.finishGetResponse()
at System.Net.HttpWebRequest.GetResponse()
at System.Web.Services.Protocols.WebClientProtocol.Ge tWebResponse()
at System.Web.Services.Protocols.HttpWebClientProtoco l.GetWebResponse()
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.doInvoke()
at System.Web.Services.Protocols.SoapHttpClientProtoc ol.Invoke()
at Video_Surveillance_PDA_WM6.DataBaseConnect.Service .Login()
at Video_Surveillance_PDA_WM6.Login.submit_Click()
at System.Windows.Forms.Control.OnClick()
at System.Windows.Forms.Button.OnClick()
at System.Windows.Forms.ButtonBase.WnProc()
at System.Windows.Forms.Control._InternalWnProc()
at Microsoft.AGL.Forms.EVL.EnterMainLoop()
at System.Windows.Forms.Application.Run()
at Video_Surveillance_PDA_WM6.Program.Main()
InnerException: System.Net.Sockets.SocketException
Message="No connection could be made because the target machine actively refused it"
at System.Net.Sockets.Socket.ConnectNoCheck()
at System.Net.Sockets.Socket.Connect()
at System.Net.Connection.doConnect()
at System.Net.Connection.connect()
at WorkItem.doWork()
at System.Threading.Timer.ring()
Jul 11 '08 #1
0 1268

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

11 posts views Thread by Dave Rahardja | last post: by
5 posts views Thread by Eric BOUXIROT | last post: by
2 posts views Thread by Mosfet | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.