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.

Re: Windows Mobile 6 and CF 2 SP1 or SP2 and migration by Peter

Peter
Fri May 18 03:53:28 CDT 2007

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"
<DCOMfromNETCFtoDesktopapplication@discussions.microsoft.com> wrote in
message news:7736DBFE-9B92-4607-83AB-18313A23DE0F@microsoft.com...
> 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.


Re: Windows Mobile 6 and CF 2 SP1 or SP2 and migration by DCOMfromNETCFtoDesktopapplication

DCOMfromNETCFtoDesktopapplication
Fri May 18 22:25:00 CDT 2007

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.

"Peter Foot [MVP]" wrote:

> 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"
> <DCOMfromNETCFtoDesktopapplication@discussions.microsoft.com> wrote in
> message news:7736DBFE-9B92-4607-83AB-18313A23DE0F@microsoft.com...
> > 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.
>
>