all groups > dotnet compact framework > january 2006 >
You're in the

dotnet compact framework

group:

Emulator won't connect with no IP or when address changes



Emulator won't connect with no IP or when address changes RobGSCL
1/27/2006 7:36:55 AM
dotnet compact framework: I'm having a twofold problem with the emulator in Visual Studio 2003.
When my IP address changes (typically when I move from my work network
to home), the studio loses the ability to launch an application. Oddly
enough it can still deploy. It must use a different mechanism for
deployment than it does for debug. The only way to fix it is to close
the studio and reopen it. Closing the emulator doesn't fix it and is
not needed.

The other half of the issue is that when I am not connected to a
network, I can't debug in the emulator. I considered making a cat5
loopback connector to trick media sense, but I was hoping there was a
way to fix this more gracefully.

Any input would be appreciated.

Thanks
Rob
Re: Emulator won't connect with no IP or when address changes gaurav.vaish NO[at]SPAM gmail.com
1/27/2006 8:16:37 AM
I am looking for the answer.. I am also unable to connect to my
emulators.. neither in 2003 nor in 2005.



Cheers,
Gaurav Vaish
http://www.mastergaurav.org
------------------------------
Re: Emulator won't connect with no IP or when address changes Chris Tacke, MVP
1/27/2006 11:30:39 AM
For issue #2 install the Microsoft Loopback Adapter.

-Chris


[quoted text, click to view]

Re: Emulator won't connect with no IP or when address changes Simon Hart
1/29/2006 12:00:00 AM
I never found a solution to this under VS2003. VS2005 no longers suffers
with this "feature".

As Chris says point 2, the Microsoft Loopback Network adapter will solve
this problem.
see here for instructions:
http://support.microsoft.com/default.aspx?scid=kb;en-us;236869

Simon.


[quoted text, click to view]

Re: Emulator won't connect with no IP or when address changes MasterGaurav
1/30/2006 9:33:59 AM
But I have both 2003 and 2005.
The problem still persists in 2005 as well.

I tried doing with SmartPhone as well.

I have tried the following in my emulator:

1. Invoke a simple WebService that I've installed on my IIS (Win XP,
SP2).
2. Directly browse the IIS through IE.

I always get that the host could not be found.



Cheers,
Gaurav Vaish
http://mastergaurav.org
----------------
Re: Emulator won't connect with no IP or when address changes Simon Hart
1/31/2006 11:34:13 AM
Hang on, I am getting confused. Are you the same person as RobGSCL?

As the original problem was debugging an application via Visual Studio 2003
when changing networks or not having a network available.

Your problem is failure to connect to a web service.

[quoted text, click to view]

AddThis Social Bookmark Button