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.WebE xception was unhandled
Message="Unable to connect to the remote server"
StackTrace:
at System.Net.Http WebRequest.fini shGetResponse()
at System.Net.Http WebRequest.GetR esponse()
at System.Web.Serv ices.Protocols. WebClientProtoc ol.GetWebRespon se()
at System.Web.Serv ices.Protocols. HttpWebClientPr otocol.GetWebRe sponse()
at System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.doInvok e()
at System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.Invoke( )
at Video_Surveilla nce_PDA_WM6.Dat aBaseConnect.Se rvice.Login()
at Video_Surveilla nce_PDA_WM6.Log in.submit_Click ()
at System.Windows. Forms.Control.O nClick()
at System.Windows. Forms.Button.On Click()
at System.Windows. Forms.ButtonBas e.WnProc()
at System.Windows. Forms.Control._ InternalWnProc( )
at Microsoft.AGL.F orms.EVL.EnterM ainLoop()
at System.Windows. Forms.Applicati on.Run()
at Video_Surveilla nce_PDA_WM6.Pro gram.Main()
InnerException: System.Net.Sock ets.SocketExcep tion
Message="No connection could be made because the target machine actively refused it"
ErrorCode=10061
NativeErrorCode =10061
StackTrace:
at System.Net.Sock ets.Socket.Conn ectNoCheck()
at System.Net.Sock ets.Socket.Conn ect()
at System.Net.Conn ection.doConnec t()
at System.Net.Conn ection.connect( )
at WorkItem.doWork ()
at System.Threadin g.Timer.ring()
InnerException:
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.WebE xception was unhandled
Message="Unable to connect to the remote server"
StackTrace:
at System.Net.Http WebRequest.fini shGetResponse()
at System.Net.Http WebRequest.GetR esponse()
at System.Web.Serv ices.Protocols. WebClientProtoc ol.GetWebRespon se()
at System.Web.Serv ices.Protocols. HttpWebClientPr otocol.GetWebRe sponse()
at System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.doInvok e()
at System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.Invoke( )
at Video_Surveilla nce_PDA_WM6.Dat aBaseConnect.Se rvice.Login()
at Video_Surveilla nce_PDA_WM6.Log in.submit_Click ()
at System.Windows. Forms.Control.O nClick()
at System.Windows. Forms.Button.On Click()
at System.Windows. Forms.ButtonBas e.WnProc()
at System.Windows. Forms.Control._ InternalWnProc( )
at Microsoft.AGL.F orms.EVL.EnterM ainLoop()
at System.Windows. Forms.Applicati on.Run()
at Video_Surveilla nce_PDA_WM6.Pro gram.Main()
InnerException: System.Net.Sock ets.SocketExcep tion
Message="No connection could be made because the target machine actively refused it"
ErrorCode=10061
NativeErrorCode =10061
StackTrace:
at System.Net.Sock ets.Socket.Conn ectNoCheck()
at System.Net.Sock ets.Socket.Conn ect()
at System.Net.Conn ection.doConnec t()
at System.Net.Conn ection.connect( )
at WorkItem.doWork ()
at System.Threadin g.Timer.ring()
InnerException: