problem with pocket pc emulator on localhost in VS 2005

HI,

I'm trying to develop a Mobile web application in Visual Studio 2005 (in Framework 1.1).

I am trying to run it in Pocket PC 2003 Emulator. But when i press F5, i get an error saying that the application cannot open http://localhost/.../..aspx

(I have added the emulator.exe file as default browser thru File->Browse With->Add..)

Can anybody help me regarding this problem as to why i cannot rum my application on localhost/pocket pc emulator



Answer this question

problem with pocket pc emulator on localhost in VS 2005

  • H.w.Hendrick

    Ilya,

    Your reply is helpful. I am new to developign mobile web apps.

    I have followed the procedure on MSDN in order to run my application on the Pocket PC emulator . i.e i have gone to File->Browse With-> Add-> Emulator.exe.

    Now i am trying to view with THIS browser (which is the emulator).

    In the above procedure, am i not changing the path of my host name (from the localhost to emulator's host name )

    Can you you let me know the procedure to use the actual hsot name of emulator and how to view my mobile application in the Pocket PC Emulator.


  • KrankyKat

    Thanks for the link. I'll look into the forum.
  • MMansour

    Using 'localhost' instead of actual host name is probably #1 mistake with WS. 'localhost' means 'host, this software is running on'. Since it's running on emulator, that would be emulator itself. You do not have IIS, ASP.Net and WS on emulator (note emulator is an emulated device and it is a separate entity from desktop which emulator is running on), so connection would sure fail. Please use actual host name instead to fix this issue.



  • Jumpsteady

    This forum is for applications running on devices and not for WEB applications which are running on server. So, the best place to ask would be dedicated ASP.Net forums here: http://forums.asp.net/

    Anyway, you should use server name in URL, not the emulator's name. It’s no different from accessing WEB application from PC other than server - you use server name to reach the server and not PC name.

    You can simply type correct URL in Pocket IE on emulator. Probably there’s a way to configure IDE to do it for you, but I’m no expect on that. ASP.Net gurus would know.



  • problem with pocket pc emulator on localhost in VS 2005