473,405 Members | 2,349 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,405 software developers and data experts.

Web Site Default Document

Does anybody know how to set the Default Document (like Start.aspx) to a new
Virtual Directory? I found this article on the Internet and read with the
interest.

http://www.c-sharpcorner.com/Code/20...irtualDirs.asp

The code is simple and the most important thing - it works. What I could not
find on the Internet is how to set the default document for the just created
Virtual Directory (Properties, Documents,...), say my document should not be
like "Default.html", but "Start.aspx". So using the example I wrote the app
to create the virtual directory for my WebApp. The problem is to reset the
list of default documents created by default and add my own document.

Any idea how to do that?

Regards,
Dmitri.
Nov 19 '05 #1
1 1492
The property you are after is DefaultDoc :
http://msdn.microsoft.com/library/de...65b2f5d222.asp
and browse around for the IIS SDK documentation.

--
Patrice

"Just D." <no@spam.please> a écrit dans le message de
news:4Y78f.60678$WR2.26606@fed1read03...
Does anybody know how to set the Default Document (like Start.aspx) to a new Virtual Directory? I found this article on the Internet and read with the
interest.

http://www.c-sharpcorner.com/Code/20...irtualDirs.asp

The code is simple and the most important thing - it works. What I could not find on the Internet is how to set the default document for the just created Virtual Directory (Properties, Documents,...), say my document should not be like "Default.html", but "Start.aspx". So using the example I wrote the app to create the virtual directory for my WebApp. The problem is to reset the
list of default documents created by default and add my own document.

Any idea how to do that?

Regards,
Dmitri.

Nov 19 '05 #2

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

Similar topics

4
by: George Hester | last post by:
My site is all one color basically. But I'd like to give the user the ability to make the site a color of their choice. I have it set up so that they can choose the color of the logon page and save...
0
by: John Roper | last post by:
Hi, I have an issues with my web app deployment project. The project actually has an ASP.NET site and a web service site, which are both destined to be virtual directories under a root website...
64
by: Dave | last post by:
A friend of mine pointed out the other day that certain elements on my web site are too small. But in most of what I publish, fonts are at default size or smaller, and my images are easy to see. I...
54
by: richard_quick_uk | last post by:
Hi, If anyone's got the time I'd really appreciate any feedback on the accessibility of this site: http://www.cata.co.uk/_index.a­sp
2
by: Larry Brindise | last post by:
I have deployed an ASP.NET application successfully on Windows 2000 and 2003. When I deploy it on an XP Pro machine (fresh install with framework 1.1 and IIS installed), I get a very unexpected...
1
by: Dave | last post by:
When I create a new asp.net project in Visual Studio it automatically creates a new web in IIS with the name of the project. How do I create asp.net pages that I want to run in my root (default)...
6
by: MaiyaHolliday | last post by:
Hello, I've recently installed apache on a new computer, and cannot figure out why my site will not process any includes. (it was working on my old one) There are no errors on the page such as...
2
by: tridirk | last post by:
Hi; I am getting a Objceted Expected Error on my forum site. I can't find what is wrong? Line: Char: Error: Object expected Code:0 the site is My SMF Forum
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?
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
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,...
0
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...
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...
0
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...
0
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,...
0
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...

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.