473,471 Members | 1,938 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How IIS Server Comes to know that which web page is "Start Page" in any application?

5 New Member
Hi Pals,
I want to know about that how IIS Server comes to know about
the starting page of any application built in C# or Vb.NET.

Though in IDE, we are doing this by right clicking the selected web
page from application & choosing the "Set As Start Page".

But how IIS Server comes to know about it? I will appreciate if
any one help me in this...

Regards
Unni
Dec 25 '06 #1
3 11191
sashi
1,754 Recognized Expert Top Contributor
Hi Pals,
I want to know about that how IIS Server comes to know about
the starting page of any application built in C# or Vb.NET.

Though in IDE, we are doing this by right clicking the selected web
page from application & choosing the "Set As Start Page".

But how IIS Server comes to know about it? I will appreciate if
any one help me in this...

Regards
Unni
Hi there,

You need to make a little configuration magic in IIS, lets assume your startup document is named as <xyz.aspx>, you need to add this file name to the startup document section of the IIS.

Right click on default website, select properties and click on document tab, you will have an option to add <xyz.aspx> as well as set the priority to the file by moving it up or down, hope it helps. Good luck & Take care.
Dec 26 '06 #2
jaketrimble
14 New Member
Hi Pals,
I want to know about that how IIS Server comes to know about
the starting page of any application built in C# or Vb.NET.

Though in IDE, we are doing this by right clicking the selected web
page from application & choosing the "Set As Start Page".

But how IIS Server comes to know about it? I will appreciate if
any one help me in this...

Regards
Unni
1. in IIS look at the "properties" of the directory for which you want to see the start up page.

2. once the dialog box opens I am pretty sure you select the "documents" tab...if not just click through the tabs until the next step makes sense.

3. You should see a list of possible start pages i.e...

index.asp
default.asp
default.htm....you get the picture

anyway,...
this is where you can set what page you want as your "default" start page.

for example:
if you wanted your default.aspx page to be the home page of your site...

you would put it at the top of the list or make it the only possible option for your start page...

also by doing this you can make links back to your home page look like this...
<a href="./">Home</a>
or with a query string
<a href="./?action=start">Home</a>

instead of...
<a href="default.aspx>Home</a>
or with a query string
<a href="defautl.aspx?action=start">Home</a>

Also, if you set a specific "Start Page" for your "root" directory in IIS, every time you make a NEW directory, IIS should apply the same settings.

hope this helps. let me know if it doesn't

cheers!
Jan 6 '07 #3
estillore
17 New Member
Go to Control Panel
Click Administrative Tools
Open your IIS
Right click Default Website
Click Properties
Go to Documents
Add the page you want to appear first
Put it at the top
Click Apply and OK

;-)
estillore
Feb 2 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Mullin Yu | last post by:
if i put the same code at the windows application or console, i can logon to the computer. but, if i put the same code at the windows service and start it, i still can't logon to the machine. ...
3
by: Trevor Andrew | last post by:
Hi There, I have a small ASP.NET application under development. I am using VS.NET 2002 (2003 upgrade is on the way) with .NET Framework 1.1. It is hosted on a web hosting service in the US. I am...
0
by: Don | last post by:
The projects that are listed under "Open an Existing Project" on the "Projects" tab of the "Start Page" do not seem to update correctly when I open Start, Open or Save a project. Is there a way...
2
by: Brian | last post by:
Is there a way to set the "start in" folder for a windows service? I am running under the Local System account, and the start in folder seems to be "c:\windows\system32". I use some relative...
3
by: jbeteta | last post by:
Hello, I have a problem declaring variables. I need to create an object oRpte as ReportClass on WebForm1.aspx and be able to use its value on WebForm2.aspx. For declaring the property oRpte()...
2
by: Unnikrishnan | last post by:
Hi Pals, Merry Christmax to everyone I want to know about that how IIS Server comes to know about the starting page of any application built in C# or Vb.NET. Though in IDE,...
0
by: active | last post by:
Sometimes when I After I click "Start Debugging" I get a "File not Found" Exception. Could not load file or assembly 'FormTesting, Version=1.0.2646.36738, Culture=neutral, PublicKeyToken=null'...
1
by: kimiraikkonen | last post by:
Hi, i have 2 forms, first form has a button that brings user to toggle second form, and second form contains a integrated web-browser component which has a auto-start flash (the flash contains...
0
by: Hetal | last post by:
We recently upgraded to VS 2008 and for some reason, the environment does not show "Start Page" in full screen mode even when setting in Environment -Startup is set to "Show Start Page". It does...
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
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...
0
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...
0
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.