473,769 Members | 4,909 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

42 New Member
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:
Jul 11 '08 #1
0 1420

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

Similar topics

11
3624
by: Dave Rahardja | last post by:
OK, so I've gotten into a philosophical disagreement with my colleague at work. He is a proponent of the Template Method pattern, i.e.: class foo { public: void bar() { do_bar(); } protected: virtual void do_bar() {} };
1
3404
by: Marwan | last post by:
Hello I am using asynchronous delegates to make a call to a COM ActiveX object, but even though the call occurs on a separate thread, my UI is still blocking. If i put the thread to sleep in my delegate call, the application is well behaved (no UI freeze), but the call to the com object causes the UI to lock up Do I have to manage calls to an ActiveX object differently than using the BeginInvoke and a callback A sample of the code I...
2
2463
by: DraguVaso | last post by:
Hi, In the override of the Paint-method of a DataGridTextBoxColumn I want to show an image with BitBlt, to see what I can gain there on performance. The problem is: It doesn't show me the image in the DataGrid-Cell's, but a black background... Does anybody has any idea what I am doing wrong? Thanks a lot in advance,
5
2060
by: Alex | last post by:
Hi all, I'm sure this is really really easy but I do need some help. I'm writing a java stored prcedure to manage the assignment of IP addresses to mac addresses for a network device database I've got. Basically a user fills in a template detailing information about themselves, the location of the pc and its mac address. The SP takes this input info and scans a database table that stores the assigned ip addresses in a subnet looking...
2
2910
by: Sreedharan | last post by:
Hi, I am using C#. Is there no Join method (in thread class)for Smart device application? And Also i noticed that Name property isn't there(got compiler error when trying to use them) Is this a limitation for smart device application? Is there any forum/group available for Smart device application developer?
5
4227
by: Eric BOUXIROT | last post by:
hi all !!! i need to call this API : FTD2XX_API FT_STATUS WINAPI FT_ListDevices(PVOID pArg1,PVOID pArg2,DWORD Flags) i have a sample code in C++ that work fine... > FTD2XX_API FT_STATUS WINAPI FT_ListDevices(PVOID pArg1,PVOID pArg2,DWORD Flags) >
13
2214
by: Raj Wall | last post by:
Hi, I have an application that allows functionality extension by third party DLL's. All the specs for building these DLL's are targeted to c++, with demo.h files containing "extern" statements, etc. However not really knowing c++ I would rather use C#. Could you point me to documentation/information on how to use this c++ information to properly construct my C# routine to connect properly?
3
2519
by: Rudi | last post by:
Hello, following problem: At program end or release an assembly a serial device should get a final exit sequence. How can I do this? With Dispose() it's no problem, but this assembly is used in a com interop dll and it must be guaranteed, that the final sequence is send to the serial device, when the calling application dont send Close() or Dispose().
2
1617
by: Mosfet | last post by:
Hi, I am currently writing a graphical control(a list control) that can display a picture followed by some text and to do so I first calculate an item height and then I really draw. I was wondering if it would be a good idea to merge the two methods(calculating and drawing) knowing that when calculating we actually simulate a drawing. Basically my control is called the first time to calculate the height of an Item (MeasureItem) and...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10210
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9990
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9861
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7406
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5298
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3561
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2814
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.