J
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
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