Could not establish connection to network

S

Sam

Hi!
I'm developing an application for Pocket Pc with VS2008, CF 3.5, C#, WM6.
It cannot access to internet connection, while when I use iexplorer,
skyfire, parlingo,skye, jbed and so on...they access to internet connection.
The error message (that I catch) is: "Could not establish connection to
network".
I tried wifi and activesync internet connection both.
My application access to internet without any problem when executed on
emulator.
In Settings->connections->select network->I set both to "My work Netwok".
And when I connect ppc to wifi network I set it to "Work Network".
What is the problem?
Thanks!
Bye.
 
A

Alberto Silva - Microsoft MVP - Device Application

Hi,
It seems that you can access internet on the emulator, but not on a real
device, is that it?

To connect a device to the internet using the ActiveSync connection, you
must be sure that the connection to ActiveSync has been established (it's
not important for this matter if you choose to create a partnership or
connect as guess, but YOU HAVE TO choose one option when ActiveSync prompts
you), and on ActiveSync connection setting choose 'connects to the
Internet'.

If you want to connect the device to the Internet using wifi, you have to
set the Wifi connection to 'internet'.

'Work network' setting are used to access resources inside your intranet. If
you need to enter a 'work' address which includes dots (like myserver.local
or an IP address), you have to include that address in the connections
exception list, otherwise the Internet connection is used.

--

Alberto Silva
www.moving2u.pt - R&D Manager
http://msmvps.com/AlbertoSilva - Blog
Microsoft MVP - Device Application Development
 
S

Sam

Hi,
It seems that you can access internet on the emulator, but not on a real
device, is that it?
Yes, but only for application that I deploy on my device. Other applications
can acess to internet.
To connect a device to the internet using the ActiveSync connection, you
must be sure that the connection to ActiveSync has been established (it's
not important for this matter if you choose to create a partnership or
connect as guess, but YOU HAVE TO choose one option when ActiveSync
prompts you), and on ActiveSync connection setting choose 'connects to the
Internet'.
I did it. But my application doesn't work.
set the Wifi connection to 'internet'.
I did it as well.

Even if I develop a simple application using a HttpWebRequest object the
error is the same!!
Maybe are there some settings should I set?
Please help me :)
thanks.
Bye.
 
S

Sam

I cannot update my s.o. using windows update application on the device.
Always the same error...
Ps. I have activesync connected.
 
A

Alberto Silva - Microsoft MVP - Device Application

Hi,
If other applications in the device can access the internet, there is no
reason why yours can't... are you using a valid address for the webrequest?

--

Alberto Silva
www.moving2u.pt - R&D Manager
http://msmvps.com/AlbertoSilva - Blog
Microsoft MVP - Device Application Development
 
S

Sam

Hi,
If other applications in the device can access the internet, there is no
reason why yours can't... are you using a valid address for the
webrequest?
I think this so. I'm sure because the same application works on another
device!!
I'll never solve this problem :-(.
 
Joined
Jul 7, 2009
Messages
1
Reaction score
0
Hi Sam,

Did you end up with a solution to your problem? I've got exactly the same problem on my new HTC Touch Pro 2! I'd love to know if you have found a way to connect successfully!

Thanks in advance

James
 

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