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"
StackTrace:
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"
ErrorCode=10061
NativeErrorCode=10061
StackTrace:
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()
InnerException: