473,569 Members | 2,648 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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\www root$\myapplica tion'.

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 1868
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\www root$\myapplica tion'.

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
1117
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 it in the Default We Site mapped to C:\Inetpub\wwwroot Can anybody guide me how to do that ?
5
2084
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 good. Outside of the ide I am able to browse to an existing web app with no problem and I can load the web app project in the visual studio ide and...
2
2307
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 website, which has the same graphics rotated on a 30 day basis or so. They have a standard naming convention where I know the 3 graphics are always going...
3
1622
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 I'm having is that my Web Deployment Project just asks for what virtual directory I want to install into and it doesn't give any options for the...
2
1640
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 Default Website then added all my old project's files into the new project. Then I manually created a new website using IIS Management Console, assigned...
2
1727
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 to create it in the Default We Site mapped to C:\Inetpub\wwwroot Can anybody guide me how to do that ?
4
1853
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 directty to the "default" page for this directory ....let´s say "www.mysite.com/sp/default.aspx"
0
944
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 applications that I've written go to virtual directories under the default website. One of my co-workers installed the application on a test server and...
4
11101
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. I know I'm supposed to have a "Default.aspx", but I wanted to rename it to something else. Is it possible to change the name its looking for in the...
0
7701
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7924
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. ...
0
8130
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...
1
7677
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...
0
7979
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...
0
6284
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...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3643
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2115
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.