I'm just getting started with ASP.NET, using VS 2005. As an exercise, I
opened the root web site in VS 2005 and created a simple welcome page. I
saved the page as Default.aspx and made sure that name was the first name on
the list id the default documents in the IIS control panel.
IIS doesn't recognize Default.aspx as the default page for the IIS root web.
It will open the page if I type http://localhost/Default.aspx, and if I
create an HTML-only Default.htm page, it will recognize that as the default
page. But it won't take Default.aspx as the default.
Anybody know why? Thanks.
--
David Veeneman
Foresight Systems 9 6549
Is your IIS configured to run with ASP.NET?
Go to c:\Windows\Microsoft.NET\framework\v2.0xxxx
and then give to command
aspnet_regiis -i
restart your computer and let me know it if still does not recognize.
--
Thanks
Vipul Patel
C# MVP www.microsoft.com/mvp
Log bugs at http://msdn.microsoft.com/productfeedback
"David Veeneman" <da****@nospam.com> wrote in message
news:O4*************@TK2MSFTNGP11.phx.gbl... I'm just getting started with ASP.NET, using VS 2005. As an exercise, I opened the root web site in VS 2005 and created a simple welcome page. I saved the page as Default.aspx and made sure that name was the first name on the list id the default documents in the IIS control panel.
IIS doesn't recognize Default.aspx as the default page for the IIS root web. It will open the page if I type http://localhost/Default.aspx, and if I create an HTML-only Default.htm page, it will recognize that as the default page. But it won't take Default.aspx as the default.
Anybody know why? Thanks.
-- David Veeneman Foresight Systems
In the properties for the default website or the particular website in IIS,
under the Documents tab, you need to add Default.aspx
"David Veeneman" <da****@nospam.com> wrote in message
news:O4*************@TK2MSFTNGP11.phx.gbl... I'm just getting started with ASP.NET, using VS 2005. As an exercise, I opened the root web site in VS 2005 and created a simple welcome page. I saved the page as Default.aspx and made sure that name was the first name on the list id the default documents in the IIS control panel.
IIS doesn't recognize Default.aspx as the default page for the IIS root web. It will open the page if I type http://localhost/Default.aspx, and if I create an HTML-only Default.htm page, it will recognize that as the default page. But it won't take Default.aspx as the default.
Anybody know why? Thanks.
-- David Veeneman Foresight Systems
No, that didn't change anything. The command ran successfully, but as
before, http://localhost/Default.aspx brings up the default page, but http://localhost brings up the localstart ("You do not have a default page")
page.
Any other suggestions? Thanks.
"Vipul Patel" <vi***********@hotmail.com> wrote in message
news:e5**************@TK2MSFTNGP10.phx.gbl... Is your IIS configured to run with ASP.NET?
Go to c:\Windows\Microsoft.NET\framework\v2.0xxxx and then give to command aspnet_regiis -i
restart your computer and let me know it if still does not recognize.
-- Thanks Vipul Patel C# MVP www.microsoft.com/mvp Log bugs at http://msdn.microsoft.com/productfeedback
"David Veeneman" <da****@nospam.com> wrote in message news:O4*************@TK2MSFTNGP11.phx.gbl... I'm just getting started with ASP.NET, using VS 2005. As an exercise, I opened the root web site in VS 2005 and created a simple welcome page. I saved the page as Default.aspx and made sure that name was the first name on the list id the default documents in the IIS control panel.
IIS doesn't recognize Default.aspx as the default page for the IIS root web. It will open the page if I type http://localhost/Default.aspx, and if I create an HTML-only Default.htm page, it will recognize that as the default page. But it won't take Default.aspx as the default.
Anybody know why? Thanks.
-- David Veeneman Foresight Systems
I knew a Vipul Patel once, are you from the Southeast USA?
1. Open IIS Admin
2. Stop the site
3. Right-click then open properties
4. If there is an asp.net tab, make sure the correct version (1.1 or
2.0, etc..) is running
5. Create default.aspx on the documents tab and move it to the top of
the list
6. Remove the others (default.htm, etc...)
7. Remove the default.htm, index.html, etc documents in the site
8. Close properties and start the site.
9. If you type http://localhost, it should work.
David Veeneman wrote: I'm just getting started with ASP.NET, using VS 2005. As an exercise, I opened the root web site in VS 2005 and created a simple welcome page. I saved the page as Default.aspx and made sure that name was the first name on the list id the default documents in the IIS control panel.
IIS doesn't recognize Default.aspx as the default page for the IIS root web. It will open the page if I type http://localhost/Default.aspx, and if I create an HTML-only Default.htm page, it will recognize that as the default page. But it won't take Default.aspx as the default.
Anybody know why? Thanks.
-- David Veeneman Foresight Systems
Did you create you project as a virtual directory or did you use the
new file-based model?
If using file based then by default, no virtual directory is created.
To view your webform you use the built in web server by pressing
Ctrl-F5 (Debug menu, Start without debugging)
I think that you might have to reboot if you change versions of
asp.net. It doesn't matter if you stop and start IIS. At least, that
has been my experience.
Good point. If you are using the file-based model, then use "Publish
Web Site" from the build menu and then type "http://localhost" as the
destination. You can also uncheck the "Allow site to be updateable..."
checkbox if you want the code behind AND aspx pages compiled before it
copies them. After this, you should be able to access it with
"http://localhost".
Virtual directory web, in IIS. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Michael G. Schneider |
last post by:
On Nov 16th I asked about a problem where ASP pages, which were located on a
UNC-share, would not work correctly. IIS would not recognize, if the ASP
page has been changed.
Nobofy had a hint...
|
by: Angie Robinson |
last post by:
When I try to install the Duwamish samples, either the VB or C# ones, I get a
message saying that I must install the .net framework sdk version 1.0.3705
and then it quits. I have version 1.1.4322...
|
by: Schoo |
last post by:
I have an asp.net app that uses session objects (ag. session("UserID")).
The app works fine in development/debug mode. I released it to the test
server (Windows 2000 server with other .NET...
|
by: Brent White |
last post by:
The aspx file was originally default.aspx, but I'm putting some other
aspx files in that same virtual directory and I want to give it a more
meaningful name. I renamed default.aspx in the IDE to...
|
by: John Mick |
last post by:
Hi,
I have renamed aspx to .ret and would like visual studio to recognize .ret
file as an aspx file
recognize = show designer, intellisense, group up with corresponding
codebehind in solution...
|
by: blackdog |
last post by:
I load to *.aspx into web server, but my web only recognize Microsoft
..NET
Framework Version:1.1.xxxxx
It could not recognize Framework Version:2.0.
Currently I have Microsoft Visual Studio...
|
by: Rolf Welskes |
last post by:
Hello,
this is a hint only.
If you make a custom control for example witch generates code
<div......</div>
and I put such a control in a page
then in html-view of the aspx-file
I could...
|
by: tranzpupy |
last post by:
Hi, Everybody,
My ASP site will only display with a port number in the url.
How do I make IIS display it without the port number??
I've created a web site in VS 2005 called webapp1 with one...
|
by: GaryDean |
last post by:
We have a new server2003 machine that was built like all the rest - IIS and
everything needed to run asp.net apps. We have a test asp.net website that
we use for new machines to make sure...
|
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...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
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...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
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,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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$) {
}
...
|
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
|
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...
| |