Results 1 to 3 of 3

Thread: can't connect to internet...

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2005
    Posts
    1,168

    can't connect to internet...

    I'm creating a program for pocket pc, which uses a web service. When I try to debug the program, I use the pocket pc 2003 se emulator. When it gets to calling the webservice, it crashes saying that not connected to network. How do i make the emulator think that its connected to the internet? I tried to go to File->Configure...->Network. There are only 2 options that are not disabled, i tried checking them, but it didn't work.

    Note: The computer where i'm doing this has internet connection.

  2. #2
    Addicted Member
    Join Date
    Dec 2006
    Location
    Georgia
    Posts
    170

    Re: can't connect to internet...

    While I can't fix your issue directly related to the emulator, I can offer advice on how to keep it from crashing. Read the thread titled " Check for internet connection" in my signature. That should provide you with code to test whether or not you have internet access and you should be able to keep it from crashing.

  3. #3
    Fanatic Member Strider's Avatar
    Join Date
    Sep 2004
    Location
    Dublin, Ireland
    Posts
    612

    Re: can't connect to internet...

    open internet explorer on the emulator and browse to the url of your webservice.
    can you see the webservice url.

    also make sure you are not have 127.0.0.1 as that is the address of localhost and the emulator cannot resolve it to be your PC.
    Barry


    Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
    .NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0

    SQL Server 2005/2000/SQL Server CE 2.0


    If you like, rate this post

    Compact Framework for Beginners

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width