473,385 Members | 1,673 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.

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\wwwroot

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 1713
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****@discussions.microsoft.com> wrote in message
news:09**********************************@microsof t.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\wwwroot

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****@discussions.microsoft.com> wrote in message
news:09**********************************@microsof t.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\wwwroot

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
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: ...
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...
4
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...
2
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. ...
4
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...
4
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...
2
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...
2
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...
2
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
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: 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:
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.