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 / December 2006

Tip: Looking for answers? Try searching our database.

Debugging: Prevent upload to go via ActiveSync

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
cyberco - 23 Dec 2006 08:58 GMT
My WinMob 5 application uploads data to a server. If I want to debug
this behaviour I have to hook my device to my computer using ActiveSync
so that debug info goes to Visual Studio (2005). Unfortunately all data
traffic is routed via ActiveSync from that moment. Is there a way to
prevent this and have the device always use the cellphone network?
Paul G. Tobey [eMVP] - 27 Dec 2006 16:15 GMT
Assumption #1 is not correct.  You do not have to connect via ActiveSync to
debug.  Of course, trying to debug via the cellular network is going to be a
trick, if the packets will even be forwarded by the cell provider.  If you
have WiFi, you may be able to configure which network *that* connects to
(The Internet/Work), in such a way that debugging occurs over WiFi, but
connection to the server is via the phone network.  Here's the page that
tells how to debug without ActiveSync:

http://msdn2.microsoft.com/en-us/library/ms228708(VS.80).aspx

You may also be able to configure ActiveSync so that *it* looks like it's
connecting to Work, not to The Internet, which, depending on how you access
your server, may work, too.  The idea is to make the phone think that the
server is an Internet 'device'.  It will access named addresses with dots in
them (www.microsoft.com, myserver.myhost.com, etc.), through whichever
network connection connects to The Internet.  Names with no dots are assumed
to be on the Work network (localserver, joespc, etc.).

Paul T.

> My WinMob 5 application uploads data to a server. If I want to debug
> this behaviour I have to hook my device to my computer using ActiveSync
> so that debug info goes to Visual Studio (2005). Unfortunately all data
> traffic is routed via ActiveSync from that moment. Is there a way to
> prevent this and have the device always use the cellphone network?

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.