473,746 Members | 2,262 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VS2005 - Unable to open local iis site other than localhost

I have a win2003 server workstation with multiple webs, each web has it's
own ip address. In VS2005, if I select to open an existing web site, select
Local IIS, the dialog correctly displays a list of all of my webs, however
if I attempt to open a site under and web other than localhost I receive the
message:
"Unable to open the Web 'http://localhost/anywebappname'. The Web
'http://localhost/anywebappname' does not exist"

Obviously that's not true as I can (1) open a site under any local web in VS
2003 and (2) I can open the same site in VS 2005 using File System instead.
It would seem either something is not setup correctly or I have encountered
a bug.
Brad
Jan 6 '06 #1
6 3632
Hi Brad,

Welcome to ASPNET newsgroup.
Regarding on the open multiple local websites (with distinct ip address) in
vs 2005 problem, I think it maybe configuration specific. Is each site
(local) explicitly being assigned an ip address that mapped to a network
adapter? Also, have you used other host headers or port on those sites
other than local host(default site)? I've just performed some tests on my
local WIN 2K3 svr box, (with two network apdaters each assigned an IP
address), after that I can correctly open or create new asp.net 2.0 website
in both the two sites in IIS from VS 2005.... (through the LOCAL IIS
panel)...

So I think there should be some other setting cause the problem. Would you
provide some furhter info on your local network environment condition and
the IIS's IP setting ....
BTW, for vs 2003, it use file share or fpse to connect a certain
webapplication in IIS(local or remote), while in vs 2005, it only use file
share (not fpse) to connection local IIS websites....

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Brad" <la**@newsgroup .nospam>
| Subject: VS2005 - Unable to open local iis site other than localhost
| Date: Fri, 6 Jan 2006 10:33:19 -0800
| Lines: 17
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| Message-ID: <eG************ **@TK2MSFTNGP09 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: xllc.ris.lane.o r.us 199.79.32.18
| Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP09.phx. gbl
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3690 99
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| I have a win2003 server workstation with multiple webs, each web has it's
| own ip address. In VS2005, if I select to open an existing web site,
select
| Local IIS, the dialog correctly displays a list of all of my webs,
however
| if I attempt to open a site under and web other than localhost I receive
the
| message:
| "Unable to open the Web 'http://localhost/anywebappname'. The Web
| 'http://localhost/anywebappname' does not exist"
|
| Obviously that's not true as I can (1) open a site under any local web in
VS
| 2003 and (2) I can open the same site in VS 2005 using File System
instead.
| It would seem either something is not setup correctly or I have
encountered
| a bug.
|
|
| Brad
|
|
|

Jan 9 '06 #2
I do not have an adapter per ip address. My pc has one dedicated ip address
and multiple reserved ip addresses, registered in the hosts file which only
work locally. No host headers or ports on any of the sites.

Here is sample form my hosts file (C:\WINDOWS\sys tem32\drivers\e tc\hosts)

127.0.0.1 localhost

### Reserved Addresses for my local sites
192.168.0.10 ecommerce
192.168.0.11 portal
192.168.0.12 public
192.168.0.13 appserver
192.168.0.14 developer
This all works fine in IIS and works with VS2003

Brad

"Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
news:nG******** ******@TK2MSFTN GXA02.phx.gbl.. .
Hi Brad,

Welcome to ASPNET newsgroup.
Regarding on the open multiple local websites (with distinct ip address) in
vs 2005 problem, I think it maybe configuration specific. Is each site
(local) explicitly being assigned an ip address that mapped to a network
adapter? Also, have you used other host headers or port on those sites
other than local host(default site)? I've just performed some tests on my
local WIN 2K3 svr box, (with two network apdaters each assigned an IP
address), after that I can correctly open or create new asp.net 2.0 website
in both the two sites in IIS from VS 2005.... (through the LOCAL IIS
panel)...

So I think there should be some other setting cause the problem. Would you
provide some furhter info on your local network environment condition and
the IIS's IP setting ....
BTW, for vs 2003, it use file share or fpse to connect a certain
webapplication in IIS(local or remote), while in vs 2005, it only use file
share (not fpse) to connection local IIS websites....

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Brad" <la**@newsgroup .nospam>
| Subject: VS2005 - Unable to open local iis site other than localhost
| Date: Fri, 6 Jan 2006 10:33:19 -0800
| Lines: 17
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| Message-ID: <eG************ **@TK2MSFTNGP09 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: xllc.ris.lane.o r.us 199.79.32.18
| Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP09.phx. gbl
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3690 99
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| I have a win2003 server workstation with multiple webs, each web has it's
| own ip address. In VS2005, if I select to open an existing web site,
select
| Local IIS, the dialog correctly displays a list of all of my webs,
however
| if I attempt to open a site under and web other than localhost I receive
the
| message:
| "Unable to open the Web 'http://localhost/anywebappname'. The Web
| 'http://localhost/anywebappname' does not exist"
|
| Obviously that's not true as I can (1) open a site under any local web in
VS
| 2003 and (2) I can open the same site in VS 2005 using File System
instead.
| It would seem either something is not setup correctly or I have
encountered
| a bug.
|
|
| Brad
|
|
|
Jan 9 '06 #3
Hi Brad,

Thanks for your response.
Well, after some further tests, I've found the problem you met. Actually,
this is because the VS 2005 IDE's Open Site wizard's Local IIS option only
use "localhost" as the servername when opening site, that cause it always
be forwarded to the default site. And for your other sites on the machine,
I'm not sure whether you've installed Front page server extension on it, if
you've installed it , you can use the "Remote Site" option to open them
through the "http://ip address/....." url that will let the vs 2005 IDE to
open the site through FPSE ...

Also, for the local IIS with mutltiple IP sites, I'll also consult some
other IIS/vs2005 experts to see whether this is an existing issue. I'll
also update you soon.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Brad" <la**@newsgroup .nospam>
| References: <eG************ **@TK2MSFTNGP09 .phx.gbl>
<nG************ **@TK2MSFTNGXA0 2.phx.gbl>
| Subject: Re: VS2005 - Unable to open local iis site other than localhost
| Date: Mon, 9 Jan 2006 07:35:11 -0800
| Lines: 95
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| Message-ID: <uo************ **@TK2MSFTNGP14 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: xllc.ris.lane.o r.us 199.79.32.18
| Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP14.phx. gbl
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3695 18
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| I do not have an adapter per ip address. My pc has one dedicated ip
address
| and multiple reserved ip addresses, registered in the hosts file which
only
| work locally. No host headers or ports on any of the sites.
|
| Here is sample form my hosts file (C:\WINDOWS\sys tem32\drivers\e tc\hosts)
|
| 127.0.0.1 localhost
|
| ### Reserved Addresses for my local sites
| 192.168.0.10 ecommerce
| 192.168.0.11 portal
| 192.168.0.12 public
| 192.168.0.13 appserver
| 192.168.0.14 developer
|
|
| This all works fine in IIS and works with VS2003
|
| Brad
|
|
|
| "Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
| news:nG******** ******@TK2MSFTN GXA02.phx.gbl.. .
| Hi Brad,
|
| Welcome to ASPNET newsgroup.
| Regarding on the open multiple local websites (with distinct ip address)
in
| vs 2005 problem, I think it maybe configuration specific. Is each site
| (local) explicitly being assigned an ip address that mapped to a network
| adapter? Also, have you used other host headers or port on those sites
| other than local host(default site)? I've just performed some tests on
my
| local WIN 2K3 svr box, (with two network apdaters each assigned an IP
| address), after that I can correctly open or create new asp.net 2.0
website
| in both the two sites in IIS from VS 2005.... (through the LOCAL IIS
| panel)...
|
| So I think there should be some other setting cause the problem. Would you
| provide some furhter info on your local network environment condition and
| the IIS's IP setting ....
| BTW, for vs 2003, it use file share or fpse to connect a certain
| webapplication in IIS(local or remote), while in vs 2005, it only use file
| share (not fpse) to connection local IIS websites....
|
| Regards,
|
| Steven Cheng
| Microsoft Online Support
|
| Get Secure! www.microsoft.com/security
| (This posting is provided "AS IS", with no warranties, and confers no
| rights.)
| --------------------
| | From: "Brad" <la**@newsgroup .nospam>
| | Subject: VS2005 - Unable to open local iis site other than localhost
| | Date: Fri, 6 Jan 2006 10:33:19 -0800
| | Lines: 17
| | X-Priority: 3
| | X-MSMail-Priority: Normal
| | X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| | Message-ID: <eG************ **@TK2MSFTNGP09 .phx.gbl>
| | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| | NNTP-Posting-Host: xllc.ris.lane.o r.us 199.79.32.18
| | Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP09.phx. gbl
| | Xref: TK2MSFTNGXA02.p hx.gbl
| microsoft.publi c.dotnet.framew ork.aspnet:3690 99
| | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| |
| | I have a win2003 server workstation with multiple webs, each web has
it's
| | own ip address. In VS2005, if I select to open an existing web site,
| select
| | Local IIS, the dialog correctly displays a list of all of my webs,
| however
| | if I attempt to open a site under and web other than localhost I receive
| the
| | message:
| | "Unable to open the Web 'http://localhost/anywebappname'. The Web
| | 'http://localhost/anywebappname' does not exist"
| |
| | Obviously that's not true as I can (1) open a site under any local web
in
| VS
| | 2003 and (2) I can open the same site in VS 2005 using File System
| instead.
| | It would seem either something is not setup correctly or I have
| encountered
| | a bug.
| |
| |
| | Brad
| |
| |
| |
|
|
|

Jan 10 '06 #4
Steven -
I did some experimenting and found:
-- If I attempt to open a site by opening the previous VS2003 solution it
fails as it seems to want front page extensions (cannot event get as far as
the migration wizard). Based on your statement about remotes sites and
FPSE, it would seem VS2005 thinks it is a remote site and without FPSE. I
added FPSE to the webs but continued to get the same error, that is cannot
open the site without FPSE.

-- If I add a host header to each webs I previously noted then the I can
open them through the open site wizard and through a VS2003 solution
(migration wizard successfully runs against the site). Note, I removed the
FPSE from the webs prior to this (I normally do not have FPSE)

I'm not sure if that tells us I had something set up incorrectly or if there
is a problem is VS2005 that I have managed to work around...or both.

Brad
"Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
news:kS******** ******@TK2MSFTN GXA02.phx.gbl.. .
Hi Brad,

Thanks for your response.
Well, after some further tests, I've found the problem you met. Actually,
this is because the VS 2005 IDE's Open Site wizard's Local IIS option only
use "localhost" as the servername when opening site, that cause it always
be forwarded to the default site. And for your other sites on the machine,
I'm not sure whether you've installed Front page server extension on it, if
you've installed it , you can use the "Remote Site" option to open them
through the "http://ip address/....." url that will let the vs 2005 IDE to
open the site through FPSE ...

Also, for the local IIS with mutltiple IP sites, I'll also consult some
other IIS/vs2005 experts to see whether this is an existing issue. I'll
also update you soon.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: "Brad" <la**@newsgroup .nospam>
| References: <eG************ **@TK2MSFTNGP09 .phx.gbl>
<nG************ **@TK2MSFTNGXA0 2.phx.gbl>
| Subject: Re: VS2005 - Unable to open local iis site other than localhost
| Date: Mon, 9 Jan 2006 07:35:11 -0800
| Lines: 95
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| Message-ID: <uo************ **@TK2MSFTNGP14 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: xllc.ris.lane.o r.us 199.79.32.18
| Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP14.phx. gbl
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3695 18
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| I do not have an adapter per ip address. My pc has one dedicated ip
address
| and multiple reserved ip addresses, registered in the hosts file which
only
| work locally. No host headers or ports on any of the sites.
|
| Here is sample form my hosts file (C:\WINDOWS\sys tem32\drivers\e tc\hosts)
|
| 127.0.0.1 localhost
|
| ### Reserved Addresses for my local sites
| 192.168.0.10 ecommerce
| 192.168.0.11 portal
| 192.168.0.12 public
| 192.168.0.13 appserver
| 192.168.0.14 developer
|
|
| This all works fine in IIS and works with VS2003
|
| Brad
|
|
|
| "Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
| news:nG******** ******@TK2MSFTN GXA02.phx.gbl.. .
| Hi Brad,
|
| Welcome to ASPNET newsgroup.
| Regarding on the open multiple local websites (with distinct ip address)
in
| vs 2005 problem, I think it maybe configuration specific. Is each site
| (local) explicitly being assigned an ip address that mapped to a network
| adapter? Also, have you used other host headers or port on those sites
| other than local host(default site)? I've just performed some tests on
my
| local WIN 2K3 svr box, (with two network apdaters each assigned an IP
| address), after that I can correctly open or create new asp.net 2.0
website
| in both the two sites in IIS from VS 2005.... (through the LOCAL IIS
| panel)...
|
| So I think there should be some other setting cause the problem. Would you
| provide some furhter info on your local network environment condition and
| the IIS's IP setting ....
| BTW, for vs 2003, it use file share or fpse to connect a certain
| webapplication in IIS(local or remote), while in vs 2005, it only use file
| share (not fpse) to connection local IIS websites....
|
| Regards,
|
| Steven Cheng
| Microsoft Online Support
|
| Get Secure! www.microsoft.com/security
| (This posting is provided "AS IS", with no warranties, and confers no
| rights.)
| --------------------
| | From: "Brad" <la**@newsgroup .nospam>
| | Subject: VS2005 - Unable to open local iis site other than localhost
| | Date: Fri, 6 Jan 2006 10:33:19 -0800
| | Lines: 17
| | X-Priority: 3
| | X-MSMail-Priority: Normal
| | X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| | Message-ID: <eG************ **@TK2MSFTNGP09 .phx.gbl>
| | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| | NNTP-Posting-Host: xllc.ris.lane.o r.us 199.79.32.18
| | Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP09.phx. gbl
| | Xref: TK2MSFTNGXA02.p hx.gbl
| microsoft.publi c.dotnet.framew ork.aspnet:3690 99
| | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| |
| | I have a win2003 server workstation with multiple webs, each web has
it's
| | own ip address. In VS2005, if I select to open an existing web site,
| select
| | Local IIS, the dialog correctly displays a list of all of my webs,
| however
| | if I attempt to open a site under and web other than localhost I receive
| the
| | message:
| | "Unable to open the Web 'http://localhost/anywebappname'. The Web
| | 'http://localhost/anywebappname' does not exist"
| |
| | Obviously that's not true as I can (1) open a site under any local web
in
| VS
| | 2003 and (2) I can open the same site in VS 2005 using File System
| instead.
| | It would seem either something is not setup correctly or I have
| encountered
| | a bug.
| |
| |
| | Brad
| |
| |
| |
|
|
|
Jan 10 '06 #5
Hi Brad,

Well, I've just discussed with some other VS guys and for multiple sites on
the same machine, if we want to open them in VS 2005 through LOCAL IIS
option, we may need to either separate those sites through different port
number or Host Headers. I've performed some tests in my local windows 2003
server and that works. I used host headers to distinct each site and I can
open them through the sites listed in the VS 2005 local iis list(vs 2005
will use the host header url to open the site...).... Also, no FPSE is
needed.. I think you can also have a try on this to see whether this
helps. Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


--------------------
| From: "Brad" <la**@newsgroup .nospam>
| References: <eG************ **@TK2MSFTNGP09 .phx.gbl>
<nG************ **@TK2MSFTNGXA0 2.phx.gbl>
<uo************ **@TK2MSFTNGP14 .phx.gbl>
<kS************ **@TK2MSFTNGXA0 2.phx.gbl>
| Subject: Re: VS2005 - Unable to open local iis site other than localhost
| Date: Tue, 10 Jan 2006 07:58:18 -0800
| Lines: 172
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| Message-ID: <OF************ *@TK2MSFTNGP12. phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: xllc.ris.lane.o r.us 199.79.32.18
| Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP12.phx. gbl
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3698 05
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Steven -
| I did some experimenting and found:
| -- If I attempt to open a site by opening the previous VS2003 solution
it
| fails as it seems to want front page extensions (cannot event get as far
as
| the migration wizard). Based on your statement about remotes sites and
| FPSE, it would seem VS2005 thinks it is a remote site and without FPSE.
I
| added FPSE to the webs but continued to get the same error, that is
cannot
| open the site without FPSE.
|
| -- If I add a host header to each webs I previously noted then the I can
| open them through the open site wizard and through a VS2003 solution
| (migration wizard successfully runs against the site). Note, I removed
the
| FPSE from the webs prior to this (I normally do not have FPSE)
|
| I'm not sure if that tells us I had something set up incorrectly or if
there
| is a problem is VS2005 that I have managed to work around...or both.
|
| Brad
|
|
| "Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
| news:kS******** ******@TK2MSFTN GXA02.phx.gbl.. .
| Hi Brad,
|
| Thanks for your response.
| Well, after some further tests, I've found the problem you met. Actually,
| this is because the VS 2005 IDE's Open Site wizard's Local IIS option only
| use "localhost" as the servername when opening site, that cause it always
| be forwarded to the default site. And for your other sites on the machine,
| I'm not sure whether you've installed Front page server extension on it,
if
| you've installed it , you can use the "Remote Site" option to open them
| through the "http://ip address/....." url that will let the vs 2005 IDE to
| open the site through FPSE ...
|
| Also, for the local IIS with mutltiple IP sites, I'll also consult some
| other IIS/vs2005 experts to see whether this is an existing issue. I'll
| also update you soon.
|
| Regards,
|
| Steven Cheng
| Microsoft Online Support
|
| Get Secure! www.microsoft.com/security
| (This posting is provided "AS IS", with no warranties, and confers no
| rights.)
|
|
| --------------------
| | From: "Brad" <la**@newsgroup .nospam>
| | References: <eG************ **@TK2MSFTNGP09 .phx.gbl>
| <nG************ **@TK2MSFTNGXA0 2.phx.gbl>
| | Subject: Re: VS2005 - Unable to open local iis site other than localhost
| | Date: Mon, 9 Jan 2006 07:35:11 -0800
| | Lines: 95
| | X-Priority: 3
| | X-MSMail-Priority: Normal
| | X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| | Message-ID: <uo************ **@TK2MSFTNGP14 .phx.gbl>
| | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| | NNTP-Posting-Host: xllc.ris.lane.o r.us 199.79.32.18
| | Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP14.phx. gbl
| | Xref: TK2MSFTNGXA02.p hx.gbl
| microsoft.publi c.dotnet.framew ork.aspnet:3695 18
| | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| |
| | I do not have an adapter per ip address. My pc has one dedicated ip
| address
| | and multiple reserved ip addresses, registered in the hosts file which
| only
| | work locally. No host headers or ports on any of the sites.
| |
| | Here is sample form my hosts file
(C:\WINDOWS\sys tem32\drivers\e tc\hosts)
| |
| | 127.0.0.1 localhost
| |
| | ### Reserved Addresses for my local sites
| | 192.168.0.10 ecommerce
| | 192.168.0.11 portal
| | 192.168.0.12 public
| | 192.168.0.13 appserver
| | 192.168.0.14 developer
| |
| |
| | This all works fine in IIS and works with VS2003
| |
| | Brad
| |
| |
| |
| | "Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
| | news:nG******** ******@TK2MSFTN GXA02.phx.gbl.. .
| | Hi Brad,
| |
| | Welcome to ASPNET newsgroup.
| | Regarding on the open multiple local websites (with distinct ip address)
| in
| | vs 2005 problem, I think it maybe configuration specific. Is each site
| | (local) explicitly being assigned an ip address that mapped to a network
| | adapter? Also, have you used other host headers or port on those sites
| | other than local host(default site)? I've just performed some tests on
| my
| | local WIN 2K3 svr box, (with two network apdaters each assigned an IP
| | address), after that I can correctly open or create new asp.net 2.0
| website
| | in both the two sites in IIS from VS 2005.... (through the LOCAL IIS
| | panel)...
| |
| | So I think there should be some other setting cause the problem. Would
you
| | provide some furhter info on your local network environment condition
and
| | the IIS's IP setting ....
| | BTW, for vs 2003, it use file share or fpse to connect a certain
| | webapplication in IIS(local or remote), while in vs 2005, it only use
file
| | share (not fpse) to connection local IIS websites....
| |
| | Regards,
| |
| | Steven Cheng
| | Microsoft Online Support
| |
| | Get Secure! www.microsoft.com/security
| | (This posting is provided "AS IS", with no warranties, and confers no
| | rights.)
| | --------------------
| | | From: "Brad" <la**@newsgroup .nospam>
| | | Subject: VS2005 - Unable to open local iis site other than localhost
| | | Date: Fri, 6 Jan 2006 10:33:19 -0800
| | | Lines: 17
| | | X-Priority: 3
| | | X-MSMail-Priority: Normal
| | | X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
| | | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| | | Message-ID: <eG************ **@TK2MSFTNGP09 .phx.gbl>
| | | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| | | NNTP-Posting-Host: xllc.ris.lane.o r.us 199.79.32.18
| | | Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP09.phx. gbl
| | | Xref: TK2MSFTNGXA02.p hx.gbl
| | microsoft.publi c.dotnet.framew ork.aspnet:3690 99
| | | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| | |
| | | I have a win2003 server workstation with multiple webs, each web has
| it's
| | | own ip address. In VS2005, if I select to open an existing web site,
| | select
| | | Local IIS, the dialog correctly displays a list of all of my webs,
| | however
| | | if I attempt to open a site under and web other than localhost I
receive
| | the
| | | message:
| | | "Unable to open the Web 'http://localhost/anywebappname'. The Web
| | | 'http://localhost/anywebappname' does not exist"
| | |
| | | Obviously that's not true as I can (1) open a site under any local web
| in
| | VS
| | | 2003 and (2) I can open the same site in VS 2005 using File System
| | instead.
| | | It would seem either something is not setup correctly or I have
| | encountered
| | | a bug.
| | |
| | |
| | | Brad
| | |
| | |
| | |
| |
| |
| |
|
|
|

Jan 11 '06 #6
Hi Brad,

How are you doing on this issue or does the further info in my last reply
helps some? If there're anything else we can help, please feel free to post
here.

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| X-Tomcat-ID: 106813150
| References: <eG************ **@TK2MSFTNGP09 .phx.gbl>
<nG************ **@TK2MSFTNGXA0 2.phx.gbl>
<uo************ **@TK2MSFTNGP14 .phx.gbl>
<kS************ **@TK2MSFTNGXA0 2.phx.gbl>
<OF************ *@TK2MSFTNGP12. phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: st*****@online. microsoft.com (Steven Cheng[MSFT])
| Organization: Microsoft
| Date: Wed, 11 Jan 2006 05:44:14 GMT
| Subject: Re: VS2005 - Unable to open local iis site other than localhost
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| Message-ID: <zS************ **@TK2MSFTNGXA0 2.phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| Lines: 212
| Path: TK2MSFTNGXA02.p hx.gbl
| Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:3699 91
| NNTP-Posting-Host: tomcatimport2.p hx.gbl 10.201.218.182
|
| Hi Brad,
|
| Well, I've just discussed with some other VS guys and for multiple sites
on
| the same machine, if we want to open them in VS 2005 through LOCAL IIS
| option, we may need to either separate those sites through different port
| number or Host Headers. I've performed some tests in my local windows
2003
| server and that works. I used host headers to distinct each site and I
can
| open them through the sites listed in the VS 2005 local iis list(vs 2005
| will use the host header url to open the site...).... Also, no FPSE is
| needed.. I think you can also have a try on this to see whether this
| helps. Thanks,
|
| Steven Cheng
| Microsoft Online Support
|
| Get Secure! www.microsoft.com/security
| (This posting is provided "AS IS", with no warranties, and confers no
| rights.)
|
|
|
|
|
|
| --------------------
| | From: "Brad" <la**@newsgroup .nospam>
| | References: <eG************ **@TK2MSFTNGP09 .phx.gbl>
| <nG************ **@TK2MSFTNGXA0 2.phx.gbl>
| <uo************ **@TK2MSFTNGP14 .phx.gbl>
| <kS************ **@TK2MSFTNGXA0 2.phx.gbl>
| | Subject: Re: VS2005 - Unable to open local iis site other than localhost
| | Date: Tue, 10 Jan 2006 07:58:18 -0800
| | Lines: 172
| | X-Priority: 3
| | X-MSMail-Priority: Normal
| | X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| | Message-ID: <OF************ *@TK2MSFTNGP12. phx.gbl>
| | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| | NNTP-Posting-Host: xllc.ris.lane.o r.us 199.79.32.18
| | Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP12.phx. gbl
| | Xref: TK2MSFTNGXA02.p hx.gbl
| microsoft.publi c.dotnet.framew ork.aspnet:3698 05
| | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| |
| | Steven -
| | I did some experimenting and found:
| | -- If I attempt to open a site by opening the previous VS2003 solution
| it
| | fails as it seems to want front page extensions (cannot event get as
far
| as
| | the migration wizard). Based on your statement about remotes sites and
| | FPSE, it would seem VS2005 thinks it is a remote site and without FPSE.

| I
| | added FPSE to the webs but continued to get the same error, that is
| cannot
| | open the site without FPSE.
| |
| | -- If I add a host header to each webs I previously noted then the I
can
| | open them through the open site wizard and through a VS2003 solution
| | (migration wizard successfully runs against the site). Note, I removed
| the
| | FPSE from the webs prior to this (I normally do not have FPSE)
| |
| | I'm not sure if that tells us I had something set up incorrectly or if
| there
| | is a problem is VS2005 that I have managed to work around...or both.
| |
| | Brad
| |
| |
| | "Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
| | news:kS******** ******@TK2MSFTN GXA02.phx.gbl.. .
| | Hi Brad,
| |
| | Thanks for your response.
| | Well, after some further tests, I've found the problem you met.
Actually,
| | this is because the VS 2005 IDE's Open Site wizard's Local IIS option
only
| | use "localhost" as the servername when opening site, that cause it
always
| | be forwarded to the default site. And for your other sites on the
machine,
| | I'm not sure whether you've installed Front page server extension on
it,
| if
| | you've installed it , you can use the "Remote Site" option to open them
| | through the "http://ip address/....." url that will let the vs 2005 IDE
to
| | open the site through FPSE ...
| |
| | Also, for the local IIS with mutltiple IP sites, I'll also consult some
| | other IIS/vs2005 experts to see whether this is an existing issue. I'll
| | also update you soon.
| |
| | Regards,
| |
| | Steven Cheng
| | Microsoft Online Support
| |
| | Get Secure! www.microsoft.com/security
| | (This posting is provided "AS IS", with no warranties, and confers no
| | rights.)
| |
| |
| | --------------------
| | | From: "Brad" <la**@newsgroup .nospam>
| | | References: <eG************ **@TK2MSFTNGP09 .phx.gbl>
| | <nG************ **@TK2MSFTNGXA0 2.phx.gbl>
| | | Subject: Re: VS2005 - Unable to open local iis site other than
localhost
| | | Date: Mon, 9 Jan 2006 07:35:11 -0800
| | | Lines: 95
| | | X-Priority: 3
| | | X-MSMail-Priority: Normal
| | | X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
| | | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| | | Message-ID: <uo************ **@TK2MSFTNGP14 .phx.gbl>
| | | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| | | NNTP-Posting-Host: xllc.ris.lane.o r.us 199.79.32.18
| | | Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP14.phx. gbl
| | | Xref: TK2MSFTNGXA02.p hx.gbl
| | microsoft.publi c.dotnet.framew ork.aspnet:3695 18
| | | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| | |
| | | I do not have an adapter per ip address. My pc has one dedicated ip
| | address
| | | and multiple reserved ip addresses, registered in the hosts file which
| | only
| | | work locally. No host headers or ports on any of the sites.
| | |
| | | Here is sample form my hosts file
| (C:\WINDOWS\sys tem32\drivers\e tc\hosts)
| | |
| | | 127.0.0.1 localhost
| | |
| | | ### Reserved Addresses for my local sites
| | | 192.168.0.10 ecommerce
| | | 192.168.0.11 portal
| | | 192.168.0.12 public
| | | 192.168.0.13 appserver
| | | 192.168.0.14 developer
| | |
| | |
| | | This all works fine in IIS and works with VS2003
| | |
| | | Brad
| | |
| | |
| | |
| | | "Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
| | | news:nG******** ******@TK2MSFTN GXA02.phx.gbl.. .
| | | Hi Brad,
| | |
| | | Welcome to ASPNET newsgroup.
| | | Regarding on the open multiple local websites (with distinct ip
address)
| | in
| | | vs 2005 problem, I think it maybe configuration specific. Is each site
| | | (local) explicitly being assigned an ip address that mapped to a
network
| | | adapter? Also, have you used other host headers or port on those sites
| | | other than local host(default site)? I've just performed some tests
on
| | my
| | | local WIN 2K3 svr box, (with two network apdaters each assigned an IP
| | | address), after that I can correctly open or create new asp.net 2.0
| | website
| | | in both the two sites in IIS from VS 2005.... (through the LOCAL IIS
| | | panel)...
| | |
| | | So I think there should be some other setting cause the problem.
Would
| you
| | | provide some furhter info on your local network environment condition
| and
| | | the IIS's IP setting ....
| | | BTW, for vs 2003, it use file share or fpse to connect a certain
| | | webapplication in IIS(local or remote), while in vs 2005, it only use
| file
| | | share (not fpse) to connection local IIS websites....
| | |
| | | Regards,
| | |
| | | Steven Cheng
| | | Microsoft Online Support
| | |
| | | Get Secure! www.microsoft.com/security
| | | (This posting is provided "AS IS", with no warranties, and confers no
| | | rights.)
| | | --------------------
| | | | From: "Brad" <la**@newsgroup .nospam>
| | | | Subject: VS2005 - Unable to open local iis site other than localhost
| | | | Date: Fri, 6 Jan 2006 10:33:19 -0800
| | | | Lines: 17
| | | | X-Priority: 3
| | | | X-MSMail-Priority: Normal
| | | | X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
| | | | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| | | | Message-ID: <eG************ **@TK2MSFTNGP09 .phx.gbl>
| | | | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| | | | NNTP-Posting-Host: xllc.ris.lane.o r.us 199.79.32.18
| | | | Path:
TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP09.phx. gbl
| | | | Xref: TK2MSFTNGXA02.p hx.gbl
| | | microsoft.publi c.dotnet.framew ork.aspnet:3690 99
| | | | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| | | |
| | | | I have a win2003 server workstation with multiple webs, each web has
| | it's
| | | | own ip address. In VS2005, if I select to open an existing web
site,
| | | select
| | | | Local IIS, the dialog correctly displays a list of all of my webs,
| | | however
| | | | if I attempt to open a site under and web other than localhost I
| receive
| | | the
| | | | message:
| | | | "Unable to open the Web 'http://localhost/anywebappname'. The Web
| | | | 'http://localhost/anywebappname' does not exist"
| | | |
| | | | Obviously that's not true as I can (1) open a site under any local
web
| | in
| | | VS
| | | | 2003 and (2) I can open the same site in VS 2005 using File System
| | | instead.
| | | | It would seem either something is not setup correctly or I have
| | | encountered
| | | | a bug.
| | | |
| | | |
| | | | Brad
| | | |
| | | |
| | | |
| | |
| | |
| | |
| |
| |
| |
|
|

Jan 16 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
2790
by: Brad | last post by:
Error when opening a solution with a web services project in it: "Unable to open the Web project 'myproj'. The file path 'c:\code\myservice' does not correspond to the URL 'http://localhost/myservices'. The two need to map to the same server location. HTTP Error 404: Object Not Found" First, this error comes up on a system that is serving other web services just fine. Second, the main issue here is project collaboration. We use CVS for...
6
1591
by: jhcorey | last post by:
Hello, I'm trying to figure out how to reference a web service from a VS2005 web site project. I know how to do this in VS2003. I've been combing msdn for samples, but I've only found the MovieCollection app, which is a windows app, and doesn't compile for me. If anybody can point me to a sample I'd appreciate it.
0
5651
by: jsausten | last post by:
I am having this ridiculously frustrating problem, migrating an existing web app to VS.2005. Initially I was able to successfully convert my VS 2002 app, by opening the Localhost site using the new 'Local IIS' option (File -> Add Existing Web Site ->. Local IIS -> Select the Localhost site) and everything was OK. However, when I shut down and reboot, I was unable to open the same project and got the following error: "Unable to open...
6
1817
by: gerry | last post by:
I am almost at the end of my rope - I have to go through this process everytime a new version of studio is released or it is installed on a new machine - what a (^%&$^& pain. I am trying to debug a web app from within vs.net 2005 locally on windows 2003 server I just cannot get debugging to work anywhere other than localhost I completely uninstalled the ie enhanced security I've been through all of the doc's i can google
5
1993
by: GaryDean | last post by:
(my original post was inaccurate but this post accurately describes what I think is a very bad vs2005 bug) short description... Deleting a dataset and recreating it from the dataadapter causes VS.Net 2005 to render the associated .resx and .vb file inoperative. detail... I converted an asp 1.1 vb.net app using the vs2005 conversion wizard and then retested the app after conversion.
10
2537
by: musosdev | last post by:
Hi guys I'm trying to migrate to VS2005... I've managed to do that, but realised I'd opened my web projects as file projects, and I'm getting the error about network BIOS command limit. Anyway, I decided to have a go at loading them as web projects from our Win2k3 server. It gets so far and then says "The web server does not appear to have FrontPage server extensions installed".
7
2755
by: Greg P | last post by:
I know this is a long post, please bear with me. I have been working on this all weekend to no avail although I have done a good amount of research (see most pertinent links that I've looked at below). Please help me get through this!!! I'm having some serious problems attaching a .mdf file and accessing it. I have a WroxUntied.mdf that I want to attach and then run the website that uses it. This is a .mdf file from wrox books. This file...
3
6142
by: fniles | last post by:
In our ASP page, we call XMLHttp to download XML files. When calling our page using localhost (localhost/myWebSite/myPage.htm), it works, but when calling using the IP address of the web server (xx.x.x.xxx/myWebSite/myPage.htm), I got "Permission denied" error in the HTTP.Open statement. Set http = CreateObject("Microsoft.XmlHttp") http.open "Get", "http://" & "xx.x.x.xxx" & "/XMLFiles/N-1min.xml", ALSE --> permission denied error
3
1952
by: Tom | last post by:
I'm building a web application using VS 2005. This application uses Windows authentication to 'authenticate'. However, when I test it (debug) via the VS 2005 built-in test server, it doesn't work. I.E. It won't authenticate. Is there a way to do Windows authentication using the built-in VS 2005 test server? Thanks in advance. Tom --
0
9516
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9351
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9286
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9219
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8229
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6062
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4587
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4840
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2768
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.