473,803 Members | 4,392 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Create ASP.NET web application in the Default Web Site

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\wwwr oot

Can anybody guide me how to do that ?

I have a doubt that when a new website is created in IIS , it becomes the
Default web site . If it is so , how to revert the default back to 'Default
Web
Site'

Nov 19 '05 #1
2 1734
You can get all the details you need here:
HOWTO: Create or Open a Visual Studio .NET Project in the Root Web
http://support.microsoft.com/default...b;en-us;303845

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Pranab" <Pr****@discuss ions.microsoft. com> wrote in message
news:09******** *************** ***********@mic rosoft.com...
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\wwwr oot

Can anybody guide me how to do that ?

I have a doubt that when a new website is created in IIS , it becomes the
Default web site . If it is so , how to revert the default back to
'Default
Web
Site'

Nov 19 '05 #2
The problem is not about creating a website in Root Web .

I have a scenario where I have multiple websites set up on the local sandbox .

Now , When i try to create a new web app , it tries to create it with the
website created last and not within Default Web Site(Root Web) .

If I delete the last website , VS.NEt tries to create the web app within the
website created before that . If I continue the process till all websites
other than the Default Web Site remains on IIS , then only the web app is
created with the Default Web Site ( Root Web ) .

I am not sure whether this is a limitation of IIS .

To Note , while creating multiple websites on IIS , I have assigned unique
host headers to all websites except the Default Web Site .
"Steve C. Orr [MVP, MCSD]" wrote:
You can get all the details you need here:
HOWTO: Create or Open a Visual Studio .NET Project in the Root Web
http://support.microsoft.com/default...b;en-us;303845

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Pranab" <Pr****@discuss ions.microsoft. com> wrote in message
news:09******** *************** ***********@mic rosoft.com...
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\wwwr oot

Can anybody guide me how to do that ?

I have a doubt that when a new website is created in IIS , it becomes the
Default web site . If it is so , how to revert the default back to
'Default
Web
Site'


Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
2137
by: Ian Quennell | last post by:
I have just installed VS.net on Windows 2000. I am trying to create a web application but I get the error "Error when attempting to create or open the web project located at the following URL: '//localhost/webapplication1' 'HTTP1.1 Inetrnal Server Error'. Any ideas??? please.....
1
1124
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 ?
4
3258
by: CM | last post by:
Hi there: I have a web project which can be open and run without problem. I didn't open the web application for a period and during which I didn't modified any IIS items, but now I cannot open any web project even cannot create a new one. The message for create a new web project is: (Open an oldASP project got similar error.) My system is Windows 2000 Server ---------------------- The default web access mode for this project is set to...
2
1504
by: mike kim | last post by:
I am in the middle of developing a web application using asp.net. I have used IIS default web site for the development, creating a virtual directory and so. My laptop is also my webserver. Instead of using Default web site and virtural directory, can I create a new web site on my web server for the development? What do I have to do create one and use it?
4
1404
by: Magnus Blomberg | last post by:
Hello! I have a properly working web server with one web site and several applications like www.mydomain.com www.mydomain.com/app1 www.mydomain.com/app2 Now I have created a new web site as www.sub.mydomain.com using host header in IIS.
4
4484
by: Mark | last post by:
Hello, I'm trying to install an ASP.Net project using the command line (SDK tools & perhaps IIS Admin scripts?) Does anyone know of an automatic, command-line-driven way, to creat the ASP.Net virtual directory, essentially mimicking whatever VS.Net does when it creates a web project? Ideally it would be as simple as "CreateAspWebApp.bat virtualPath PhysicalPath"
2
2685
by: §iD` | last post by:
Hi! I would like to create a virtual folder (which I want to mount) and populate managing his content by a DLL or something like that in VB.NET (2.0). How can I acomplish this? Thanks to all!
2
2240
by: cpchan | last post by:
Hello, Can I create a Web-based application (not a Web site) with Visual C# 2005 Express ? Or I have to use Visual Web Developer 2005 Express Edition, choose ASP.NET and then choose C# ? Are there any web-sites give me step-by-step Visual C# 2005 Express Web-based application development ?
2
1547
by: cmrchs | last post by:
Hello, I installed Visual Studio 2008 last week, created a web project and could run it. I had to deinstall it for some problems I had, installed it again, try to create a new web-project but now VS2008 comes up with the message "unable to create website... you must install IIS, ASP.NET, ..." I check in Control Panel\Installed programs and see that the WebPart
0
9699
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9562
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10289
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
10068
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9119
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7600
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6840
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5625
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4274
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.