Issue connecting to network machine from emulator.

I have the emulatro version installed with VS 2005 CR Team edition.

Here are the steps:
1) Start the Device Emulator Manager
2) Right-click on Pocket PC 2003 SE Emulator and click Connect. I get the emulator window.
3) Right-click on Pocket PC 2003 SE Emulator and click Craddle. The ActiveSync connects and I get the Connected Synchronized message.
4) Use the Internet Explorer and connect to a web site. I get the page back.
5) Go under File Explorer and click on the third tool on the tool bar (Connect to a remote folder). Get the Open window. Type the path of my Machine \\MyMachine

I got the following message:

Network  Connecting to server....

Then I got the error message:

The network path was not found.

Then I got a second error message:

File Explorer Network resource cannot be found or you do not have permission to access the network.

The same steps from my real Pocket PC don't work neither. But when the Pockect PC is uncraddled and uses the wireless card, it works. I'm suspecting a ActiveSync issue. How can we use the ActiveSync as a network

Thanks in advance.


 


Answer this question

Issue connecting to network machine from emulator.

  • Balashanmugam

    Visual Studio 2005 RTM doesn't include the Windows kernel-mode driver that the emulator needs in order to talk directly to the network.  So enabling the NE2000 emulator will not work on builds past Beta2.

    However, you can get on the network via ActiveSync.  Cradle the emulator, then in PocketPC, click on the antenna icon, click settings, then pick the "Advanced" tab, click "Select Networks", and change the "Programs that automatically connect to the internet should connect using" from "My ISP" to "My Work Network".

    Barry


  • Bill DiPierre

    hi ,

    i am really suffering from this problem.

    i can not connect to the network via ppc2003 se emulator on visual studio 2005.

    i installed vpc driver(virtual machine network services driver version2.6....)but this exception occurs:'unable to connect' and 'the network resources can not be found or you dont have permission to access'.

    what i have tried are:

    -installing vs2005 on a new machine

    -installing vpc driver(version 2.6.)

    -reinstalling device emulator in vs 2005 setup

    -using active sync

    -changing emulator device id

    Note: once i managed to connect to the internet then it went

    i need any useful idea please help..


  • Michael Steinmetz

    There are a few ways to connect to the emulator, one is through the Ne2000 driver which you can turn on in the emulator by accessing the properties and in network turn on the Ne2000. That is the best way because it will work without having to do all the cradling hastle of activesync. Of couse you can do it with activesync too, which should work every time and has been pretty bullet proof for me except that I have to search for the connection almost everything I connect via activesync.

    Make sure your running the right version of the emulator and you can also try playing around with the command line options of DeviceEmulator.exe which is what starts the emulator. this is what I use:

    To start a clean run of the emulator I use this: ( Note that you will have to copy the PPC_2003_SE_WWE_ARMv4.bin to current dir. )

    "C:\Emulator\Microsoft Device Emulator\1.0\DeviceEmulator.exe" PPC_2003_SE_WWE_ARMv4.bin /s NeoSaveState /p /n /vmname NeoEmulator /skin neoskin.xml /nosecurityprompt

    Then save the state and you can remove the image bin and run it from the state.

    "C:\Emulator\Microsoft Device Emulator\1.0\DeviceEmulator.exe" /s NeoSaveState /p /n /vmname NeoEmulator /skin neoskin.xml /nosecurityprompt

    Hope this helps....



  • GlynP

    Barry,

    Thanks for your help.
    My settings were already as you described. To test my network connection I just try to connect by an open path to my host computer.

    - In the File Explorer, I click on the third tool on the tool bar ('Open Path').
    - in the Open window I type: \\MyHostMachine

    I get the following messages:
    - The network path was not found.
    - Network resource cannot be found or you do not have permission to access the network.

    I also tried with the ip address without success.




  • Gabriel Graves

    Thanks Vladimir, I'm going to work with our system guys.
    That must be the issue because wireless definitely works. It's only when cradled without the wireless turned on that I see deprecated network connection.


  • V0rtex

    you have to enable the driver from the PPC emulator itself. start>settings>connections>network cards. hope this helps.

  • kinpin9

    I had similar problem. couldn't connect to internet and didn't have network access. then after a lot of experimenting I enabled NE2000 network adapter and now it works. hope this helps.
  • Brenton House

    Thanks for the reply.

    I have the latest emulator installed on my machine (the one from VS 2005 CR).
    When I try to select 'Enable NE2000 PCMCIA...' I got an error message ' Failed to open the VPC Network Driver'.

    I don't know if there is a way to repair the emulator install...



  • bneacetp84

    I am running visual studio 2005 and it runs on my dev machine but when I package it up for machines that don't have visual studio installed. ( using device emulator preview ) it doesn't seem to be able to find the ne2000 network driver. I have the VM drivers installed too.

  • Ner1co

    What environment are you trying this in (home or office) The emulator appears as another PC on your network so it is subject to the same rules. ActiveSync tries to guess these rules on the basis of the configuration of the host PC, which gives your proxy configuration.

    It sounds like you are running on a network which may have some restrictions on it. For example if your company has IPSec enabled on the wired network and IPSec disabled on the wireless network - you would see this behavior. The WM OS family doesn't support IPSec so your PocketPC or emulator would not be able to initiate a connection to a PC that only accepts incoming IPSec connections.

    Can you solve your problem using "shared folders" feature Basically if you enter the desktop path you are trying to access into File\Configure\General Tab\Folder Sharing textbox - the files will be accessible under \Storage Card path on the emulator.

    Thanks,

    Vladimir

  • Issue connecting to network machine from emulator.