Connecting Tech Pros Worldwide Forums | Help | Site Map

IIS 5.0 Creating a new WEBSITE with VS.NET

ivanL
Guest
 
Posts: n/a
#1: Nov 19 '05
I am currently using the Default Website but want to add the following:

1. A local development WEBSITE (port 81)
2. A new WEBSITE (points to another host header www.newebsite.com)

VS.NET works fine with the Default Website alone BUT the problem is when I
add these new websites and try to create ANY new project in VS.NET, I get an
"ASP.NET Version 1.1 not running" error etc...

How can I get this setup to work and be able to create projects on ANY
website?

Thx a lot



Ken Cox [Microsoft MVP]
Guest
 
Posts: n/a
#2: Nov 19 '05

re: IIS 5.0 Creating a new WEBSITE with VS.NET


Hi Ivan,

You should use IIS Manager to add the new Web site and configure the host
header. Once you have that done, you should be able to create the project
for it as outlined here in Step 4:

http://msdn.microsoft.com/library/en...asp?frame=true


"ivanL" <ivanL@discussions.microsoft.com> wrote in message
news:5C216BFB-4296-4E60-8C05-C73EB5D476C8@microsoft.com...[color=blue]
>I am currently using the Default Website but want to add the following:
>
> 1. A local development WEBSITE (port 81)
> 2. A new WEBSITE (points to another host header www.newebsite.com)
>
> VS.NET works fine with the Default Website alone BUT the problem is when I
> add these new websites and try to create ANY new project in VS.NET, I get
> an
> "ASP.NET Version 1.1 not running" error etc...
>
> How can I get this setup to work and be able to create projects on ANY
> website?
>
> Thx a lot[/color]

Shailesh
Guest
 
Posts: n/a
#3: Nov 19 '05

re: IIS 5.0 Creating a new WEBSITE with VS.NET


Hi Ken,

I have created a web site in my IIS 5.0. The site is not created under
'Default Web Site', but as a individual site under IIS server. I changed the
default port from 80 to 81. Now I need to browse this site from remote
machine, but I am not able to do so. Can you guide me how can I achieve this.

Thanke you.
Shailesh

"Ken Cox [Microsoft MVP]" wrote:
[color=blue]
> Hi Ivan,
>
> You should use IIS Manager to add the new Web site and configure the host
> header. Once you have that done, you should be able to create the project
> for it as outlined here in Step 4:
>
> http://msdn.microsoft.com/library/en...asp?frame=true
>
>
> "ivanL" <ivanL@discussions.microsoft.com> wrote in message
> news:5C216BFB-4296-4E60-8C05-C73EB5D476C8@microsoft.com...[color=green]
> >I am currently using the Default Website but want to add the following:
> >
> > 1. A local development WEBSITE (port 81)
> > 2. A new WEBSITE (points to another host header www.newebsite.com)
> >
> > VS.NET works fine with the Default Website alone BUT the problem is when I
> > add these new websites and try to create ANY new project in VS.NET, I get
> > an
> > "ASP.NET Version 1.1 not running" error etc...
> >
> > How can I get this setup to work and be able to create projects on ANY
> > website?
> >
> > Thx a lot[/color]
>
>[/color]
Juan T. Llibre
Guest
 
Posts: n/a
#4: Nov 19 '05

re: IIS 5.0 Creating a new WEBSITE with VS.NET


If you created the application on port 81, use :

http://yourserver.com:81/

or via IP :
http://111.111.111.111:81/

to access yopur application.



Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Shailesh" <Shailesh@discussions.microsoft.com> wrote in message
news:F04BC80C-BD51-416C-B82E-4733A98A0FF0@microsoft.com...[color=blue]
> Hi Ken,
>
> I have created a web site in my IIS 5.0. The site is not created under
> 'Default Web Site', but as a individual site under IIS server. I changed
> the
> default port from 80 to 81. Now I need to browse this site from remote
> machine, but I am not able to do so. Can you guide me how can I achieve
> this.
>
> Thanke you.
> Shailesh
>
> "Ken Cox [Microsoft MVP]" wrote:
>[color=green]
>> Hi Ivan,
>>
>> You should use IIS Manager to add the new Web site and configure the host
>> header. Once you have that done, you should be able to create the project
>> for it as outlined here in Step 4:
>>
>> http://msdn.microsoft.com/library/en...asp?frame=true
>>
>>
>> "ivanL" <ivanL@discussions.microsoft.com> wrote in message
>> news:5C216BFB-4296-4E60-8C05-C73EB5D476C8@microsoft.com...[color=darkred]
>> >I am currently using the Default Website but want to add the following:
>> >
>> > 1. A local development WEBSITE (port 81)
>> > 2. A new WEBSITE (points to another host header www.newebsite.com)
>> >
>> > VS.NET works fine with the Default Website alone BUT the problem is
>> > when I
>> > add these new websites and try to create ANY new project in VS.NET, I
>> > get
>> > an
>> > "ASP.NET Version 1.1 not running" error etc...
>> >
>> > How can I get this setup to work and be able to create projects on ANY
>> > website?
>> >
>> > Thx a lot[/color]
>>
>>[/color][/color]


Shailesh
Guest
 
Posts: n/a
#5: Nov 19 '05

re: IIS 5.0 Creating a new WEBSITE with VS.NET


Juan,

I am trying to access the site by the way. But when I try to access the site
from remote machine I am not able to browse it. How can I access the site
from remote machine.

"Juan T. Llibre" wrote:
[color=blue]
> If you created the application on port 81, use :
>
> http://yourserver.com:81/
>
> or via IP :
> http://111.111.111.111:81/
>
> to access yopur application.
>
>
>
> Juan T. Llibre
> ASP.NET MVP
> http://asp.net.do/foros/
> Foros de ASP.NET en Español
> Ven, y hablemos de ASP.NET...
> ======================
>
> "Shailesh" <Shailesh@discussions.microsoft.com> wrote in message
> news:F04BC80C-BD51-416C-B82E-4733A98A0FF0@microsoft.com...[color=green]
> > Hi Ken,
> >
> > I have created a web site in my IIS 5.0. The site is not created under
> > 'Default Web Site', but as a individual site under IIS server. I changed
> > the
> > default port from 80 to 81. Now I need to browse this site from remote
> > machine, but I am not able to do so. Can you guide me how can I achieve
> > this.
> >
> > Thanke you.
> > Shailesh
> >
> > "Ken Cox [Microsoft MVP]" wrote:
> >[color=darkred]
> >> Hi Ivan,
> >>
> >> You should use IIS Manager to add the new Web site and configure the host
> >> header. Once you have that done, you should be able to create the project
> >> for it as outlined here in Step 4:
> >>
> >> http://msdn.microsoft.com/library/en...asp?frame=true
> >>
> >>
> >> "ivanL" <ivanL@discussions.microsoft.com> wrote in message
> >> news:5C216BFB-4296-4E60-8C05-C73EB5D476C8@microsoft.com...
> >> >I am currently using the Default Website but want to add the following:
> >> >
> >> > 1. A local development WEBSITE (port 81)
> >> > 2. A new WEBSITE (points to another host header www.newebsite.com)
> >> >
> >> > VS.NET works fine with the Default Website alone BUT the problem is
> >> > when I
> >> > add these new websites and try to create ANY new project in VS.NET, I
> >> > get
> >> > an
> >> > "ASP.NET Version 1.1 not running" error etc...
> >> >
> >> > How can I get this setup to work and be able to create projects on ANY
> >> > website?
> >> >
> >> > Thx a lot
> >>
> >>[/color][/color]
>
>
>[/color]
Juan T. Llibre
Guest
 
Posts: n/a
#6: Nov 19 '05

re: IIS 5.0 Creating a new WEBSITE with VS.NET


Like I said, if you create an application on port 81,
you must browse to it including the port on the URL.

http://www.yourserver.com:81/
( If you have a DNS name... )

or via IP :
http://111.111.111.111:81/
( If you don't have a DNS name.
Replace the 111.111.111.111 with the real IP address )

Does the machine where you created the application
have a fixed IP assigned to it ?

Or, does it have a variable IP ?





Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Shailesh" <Shailesh@discussions.microsoft.com> wrote in message
news:074CECE4-E7CD-431C-9559-E79D6C67CD5F@microsoft.com...[color=blue]
> Juan,
>
> I am trying to access the site by the way. But when I try to access the
> site
> from remote machine I am not able to browse it. How can I access the site
> from remote machine.
>
> "Juan T. Llibre" wrote:
>[color=green]
>> If you created the application on port 81, use :
>>
>> http://yourserver.com:81/
>>
>> or via IP :
>> http://111.111.111.111:81/
>>
>> to access yopur application.
>>
>>
>>
>> Juan T. Llibre
>> ASP.NET MVP
>> http://asp.net.do/foros/
>> Foros de ASP.NET en Español
>> Ven, y hablemos de ASP.NET...
>> ======================
>>
>> "Shailesh" <Shailesh@discussions.microsoft.com> wrote in message
>> news:F04BC80C-BD51-416C-B82E-4733A98A0FF0@microsoft.com...[color=darkred]
>> > Hi Ken,
>> >
>> > I have created a web site in my IIS 5.0. The site is not created under
>> > 'Default Web Site', but as a individual site under IIS server. I
>> > changed
>> > the
>> > default port from 80 to 81. Now I need to browse this site from remote
>> > machine, but I am not able to do so. Can you guide me how can I achieve
>> > this.
>> >
>> > Thanke you.
>> > Shailesh[/color][/color][/color]



Shailesh
Guest
 
Posts: n/a
#7: Nov 19 '05

re: IIS 5.0 Creating a new WEBSITE with VS.NET


Juan,

let me make thing clear.
I crated web site in my IIS, I have not created site under the 'Default Web
Site', but created the individual under server name. Lets assume site name as
'Myweb'.
As u know default port for all the sites under 'Default Web Site' is 80, and
I can't run more than one site on same port. So I changed the port for
'Myweb' to 81. Generally now I can browse the stie like
'http://localhost:81/default.aspx' from the machine where I hosted the site
or by giving the IP address instead of localhost from diff. machine in my
network. I dont need to browse the site outside my network.
But this way I am not able to browse the site from local as well as network
machine. Can u guide me what to do in this case.

Thank you.
Shailesh

"Juan T. Llibre" wrote:
[color=blue]
> Like I said, if you create an application on port 81,
> you must browse to it including the port on the URL.
>
> http://www.yourserver.com:81/
> ( If you have a DNS name... )
>
> or via IP :
> http://111.111.111.111:81/
> ( If you don't have a DNS name.
> Replace the 111.111.111.111 with the real IP address )
>
> Does the machine where you created the application
> have a fixed IP assigned to it ?
>
> Or, does it have a variable IP ?
>
>
>
>
>
> Juan T. Llibre
> ASP.NET MVP
> http://asp.net.do/foros/
> Foros de ASP.NET en Español
> Ven, y hablemos de ASP.NET...
> ======================
>
> "Shailesh" <Shailesh@discussions.microsoft.com> wrote in message
> news:074CECE4-E7CD-431C-9559-E79D6C67CD5F@microsoft.com...[color=green]
> > Juan,
> >
> > I am trying to access the site by the way. But when I try to access the
> > site
> > from remote machine I am not able to browse it. How can I access the site
> > from remote machine.
> >
> > "Juan T. Llibre" wrote:
> >[color=darkred]
> >> If you created the application on port 81, use :
> >>
> >> http://yourserver.com:81/
> >>
> >> or via IP :
> >> http://111.111.111.111:81/
> >>
> >> to access yopur application.
> >>
> >>
> >>
> >> Juan T. Llibre
> >> ASP.NET MVP
> >> http://asp.net.do/foros/
> >> Foros de ASP.NET en Español
> >> Ven, y hablemos de ASP.NET...
> >> ======================
> >>
> >> "Shailesh" <Shailesh@discussions.microsoft.com> wrote in message
> >> news:F04BC80C-BD51-416C-B82E-4733A98A0FF0@microsoft.com...
> >> > Hi Ken,
> >> >
> >> > I have created a web site in my IIS 5.0. The site is not created under
> >> > 'Default Web Site', but as a individual site under IIS server. I
> >> > changed
> >> > the
> >> > default port from 80 to 81. Now I need to browse this site from remote
> >> > machine, but I am not able to do so. Can you guide me how can I achieve
> >> > this.
> >> >
> >> > Thanke you.
> >> > Shailesh[/color][/color]
>
>
>
>[/color]
Closed Thread