473,385 Members | 1,740 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

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
1 1854
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Pranab | last post by:
On my local sandbox , in IIS I created some Websites . Now when I try to create a ASP.NET we app , it tries to create it in the website last created and fails . But my requirement is to create...
5
by: gerry | last post by:
single machine - W2Kserver , IIS5 , VS.NET 2003 I spent some time struggling with what looked like the dreaded asp.net debugging configuration problem but none of the solutions for this did any...
2
by: Goober | last post by:
I have the following default.aspx page that works properly. However, what I want to do is to link the graphics within it (that are hard coded now in the default web page) to our corporate...
3
by: John Holmes | last post by:
We have a couple of websites on our Intranet IIS server. We use the default website for some vended web apps, but the majority of our intranet exists on another IIS configured website. The problem...
2
by: js | last post by:
I am using Visual Studio 2003. An IIS is installed on a separate box with the Remote Debugger server component from VS2003. Initially, I created a new blank project in VS2003 under the IIS's...
2
by: Pranab | last post by:
On my local sandbox , in IIS I created some Websites . Now when I try to create a ASP.NET web application , it tries to create it in the website last created and fails . But my requirement is...
4
by: Gordowey | last post by:
I do know if this is the right Group to post this question.... well, here I go.. I would like to know how can i do this I would like to let my users typing ONLY "www.mysite.com/sp", to do...
0
by: dgk | last post by:
We've inherited a number of applications and one of them lives on its own server, in the default website. Looking at IIS, the aspx and other files are in the default website entry. All the...
4
by: Nobody | last post by:
Hi, I'm using ASP.NET w/ Visual Studio 2005 and the .net development server... how do I set the default start up page? right now when I go to http://localhost/WebSite I get a directory listing....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...

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.