467,912 Members | 1,639 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,912 developers. It's quick & easy.

default website

js
Does anyone know how to create a web project with Visual Studio.Net 2003
on IIS6 running on Windows Server 2003? The IIS has the default website
disabled, and a new website is created. I have been developing ASP
applications on this new website by editing individual file in Visual
Studio, because I could not get VS to create a project with default
website disabled. I chose this approach so I don't have to use virtual
directory under the default website, and users just type \\mywebserver
to access the default page. Just a test, I renamed several ASP page
with ASPX file extension. They all worked. Now I want to add true ASPX
pages with CodeBehind in C# into the mix, but I am not sure how to
compile the new files without an web project. Should I create a bin
folder for each folder that has ASPX files, or just create a bin folder
under the applicaiton root? I would like to create a new ASPX web
project on the IIS, but it throws an error:

The default web access mode for this project is set to file share, but
the project folder at 'http://myserver/myapplication' can not be opened
with the path '\\myserver\wwwroot$\myapplication'.

I tried to open it with FrontPage Server Extensions option, it did not
work either. In the Management Console, the IIS look like this.

Internet Information Services
- MyServerName
+ Application Pools
- Web Sites
+ Default Web Site (Stopped)
- MyApplication

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #1
  • viewed: 1599
Share:
1 Reply
change the home directory under the default web site option in the IIS
console manager to the folder were your web site resides.

"js" wrote:
Does anyone know how to create a web project with Visual Studio.Net 2003
on IIS6 running on Windows Server 2003? The IIS has the default website
disabled, and a new website is created. I have been developing ASP
applications on this new website by editing individual file in Visual
Studio, because I could not get VS to create a project with default
website disabled. I chose this approach so I don't have to use virtual
directory under the default website, and users just type \\mywebserver
to access the default page. Just a test, I renamed several ASP page
with ASPX file extension. They all worked. Now I want to add true ASPX
pages with CodeBehind in C# into the mix, but I am not sure how to
compile the new files without an web project. Should I create a bin
folder for each folder that has ASPX files, or just create a bin folder
under the applicaiton root? I would like to create a new ASPX web
project on the IIS, but it throws an error:

The default web access mode for this project is set to file share, but
the project folder at 'http://myserver/myapplication' can not be opened
with the path '\\myserver\wwwroot$\myapplication'.

I tried to open it with FrontPage Server Extensions option, it did not
work either. In the Management Console, the IIS look like this.

Internet Information Services
- MyServerName
+ Application Pools
- Web Sites
+ Default Web Site (Stopped)
- MyApplication

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Goober | last post: by
3 posts views Thread by John Holmes | last post: by
2 posts views Thread by js | last post: by
4 posts views Thread by Gordowey | last post: by
reply views Thread by dgk | last post: by
4 posts views Thread by Nobody | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.