Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / January 2006

Tip: Looking for answers? Try searching our database.

Pocket PC using .NET compact framework fails to connect to Web Service

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Duff - 23 Jan 2006 05:55 GMT
Our application, built using the .NET Compact Framework, is running on
a Symbol handheld (Windows Mobile 2003). It is supposed to call an
intranet web service on a computer in the same subnet. We are using a
DLink router with fixed IP addresses. We can successfully access and
run the web service without error from IE on the local machine where
the web service is running, and from any other computer in the internal
network. The web service has run successfully several times from the
handheld device.

However, now it will no longer run at all from the handheld device and
we are not able to identify what has changed to make it cease to
function. We now get a Web Exception error message and if we dig deep
enough into the exception in the MS Visual Studio "Watch" window under
debug mode, we can see that the return error is a "GATEWAY TIMEOUT"
error. From Internet Explorer on the handheld device we get the message
"[code = GATEWAY_TIMEOUT] a gateway timeout occurred. The server is
unreachable. Retry the request."

It appears that the issue is between the handheld and the gateway
router. We have no filters set up on the firewall on the router that
would prevent the handheld from accessing. The handheld is definitely
calling the correct IP address for the web service, it just cannot
connect. Any ideas?
Alex Yakhnin [MVP] - 23 Jan 2006 16:28 GMT
Can you access your web server from PIE on the device?

--
Alex Yakhnin, .NET CF MVP
www.intelliprog.com | www.opennetcf.org

> Our application, built using the .NET Compact Framework, is running on
> a Symbol handheld (Windows Mobile 2003). It is supposed to call an
[quoted text clipped - 19 lines]
> calling the correct IP address for the web service, it just cannot
> connect. Any ideas?
Duff - 24 Jan 2006 00:42 GMT
No, we cannot access the web server, we get the exact same error
message when we attempt to access the default.htm in the web server
root.
Duff - 24 Jan 2006 19:12 GMT
We found the issue. The Symbol hand held inadvertantly had the network
connection type reset to "proxy server". We think that the previous
(working) network connection got overwritten in a session of Active
Sync (on a different desktop machine, where the hand held connection
type was configured as "Standard" instead of "Guest"). So be cautious
with Active Sync sessions when troubleshooting access to web services!
With the network connection type restored on the hand held, we can
again access the web service.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.