Windows Mobile 6 and CF 2 SP1 or SP2 and migration

G

Guest

Hello,
I'm trying to run a software in Windows Mobile 6.It was written for Compact
Framework v2.0, which installer is NETCFv2.wm.armv4i.cab and runs without
troubles in Windows Mobile 5. The software currently has communication with a
web server using SSL and but know running on Windows Mobile 6(WM6) the
a class System.Net.HttpWebRequest.Create(urlPath) throws a exception and
says: Could not establish connection to network.
I'm not sure if the compact framework needed by Windows Mobile 6 application
is the v2 SP2 or v2 SP1 just because the pages to download the SDK for WM6
says v2 SP2, but when the installers is running verify for the v2 SP1 its
confuse.
Its necesary a migration of something, I, even, change the software platform
for Windows Mobile 6 Professional SDK on Visual Studio 2005.
Thanks guys by your feedbacks.
 
P

Peter Foot [MVP]

When you create a HttpWebRequest the compact framework uses Connection
Manager under the hood to try to establish a connection to the internet. You
need to handle this exception as there are numerous reasons why this may
fail. Does your WM6 device have a connection setup in connection manager -
if you launch internet explorer mobile can it successfully connect and
display a page?

Peter

--
Peter Foot
Device Application Development MVP
www.peterfoot.net | www.inthehand.com

"DCOM from NETCF to Desktop application"
 
G

Guest

Thanks Peter, but yes the application has Internet access, if you ask by this.
And I resolve the problem, was the CF v2.0 I'm not sure why?,...but I ought
to be installed the Cf v2.0 sp2...i thought that the version sp1, will go to
work.
Another question is there another possiblity to, change the permissions of
the files created by cab file in the visual studio 2005?
Thanks again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top