Page 1 of 1

Host-Only Network connection conflicts with IIS or VS2008

Posted: 1. Jul 2009, 00:19
by mikebridge
I just installed an Ubuntu gues on VirtualBox on Windows XP Pro SP3, and as part of the installation it created a new network connection called "VirtualBox Host-Only Network" with an IP address of 192.168.56.1.

A side-effect of this is that my Web Application does not load any longer in Visual Studio 2008. When I open the solution with this "VirtualBox Host-Only Network" enabled, the webapp fails to load with the message:
The local IIS URL http://localhost/MyWebApp specified for Web Project WebApp has not been configured. In order to open this project the virtual directory needs to be configured. Would you like to create the virtual directory now?
Clicking on "Yes" gives me an error "...Could not find the server 'http://localhost' on the local machine. Creating a virtual directory is only supported on the local IIS server."

However, when I disable the new VB network connection, the webapp loads fine. The problem is that I can't figure out how to get them both working simultaneously.

I can navigate to http://localhost/MyWebApp with a web browser. I'm confused about what's interfering with what here; pinging localhost still tells me it's 127.0.0.1 regardless of whether the VB network connection is enabled or disabled; I'm not sure what might be causing this. Has anyone else experienced this problem?

Thanks,

-Mike