Smart Device App fails calling simple Web Service...
From: Terry Mulvany (thmulvany_at_yahoo.com)
Date: 04/12/04
- Next message: Kevin Daly: "Re: What is the MSDE number of users limit?"
- Previous message: cfyam: "Emulator use"
- Next in thread: casey chesnut: "Re: Smart Device App fails calling simple Web Service..."
- Reply: casey chesnut: "Re: Smart Device App fails calling simple Web Service..."
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 11 Apr 2004 21:07:18 -0700
I have a smart device application that cannot communicate with a web
service.
I am getting the following exception...
An unhandled exception of type 'System.Net.WebException' occurred in
System.Web.Services.dll
Additional information: Unable to connect to the remote server
I am running on XP Pro, VS.Net 2003. I have built a very basic Web Service
that returns a DataSet from a sql server stored proc using MS.AppBlock.Data.
Then I wrote a Web Form App that SUCCESSFULLY consumed the web service by
way of a datagrid on the form.
I then create a Smart Device App project, added a Web Reference to
[first line suceeds and second fails]
NOTE: it does not have anything to do with setting the datagrid datasource
any help would be greatly appreciated, thanks group.
http://localhost/
that succeeded in the web form app].
I am runnig the smart dev app thru (F5/debug) via deployment to the Pocket
PC 2002 emulator. When I put a breakpoint on the line that instantiates the
class in the web service it does not throw an exception only on the next
line where it tries to run the web method in this class that returns the
dataset.
localhost.ScheduleWS s = new localhost.ScheduleWS();
dgMain.DataSource = s.GetWeeklySchedule();
prop, because it throws the same exception when i just try to set a dataset
variable to the return of the web method.
Relevant Pages
... I am trying to use a datagrid control on a smart device application. ... Reference Exception... ...
(microsoft.public.dotnet.languages.vb)
... I am trying to use a datagrid control on a smart device application. ... Reference Exception... ...
(microsoft.public.dotnet.framework.compactframework)
... I am trying to use a datagrid control on a smart device application. ... Reference Exception... ...
(microsoft.public.dotnet.framework.windowsforms)
... I am trying to use a datagrid control on a smart device application. ... Reference Exception... ...
(microsoft.public.dotnet.general)
... I am trying to use a datagrid control on a smart device application. ... Reference Exception... ...
(microsoft.public.dotnet.framework.windowsforms.controls)