473,414 Members | 1,577 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,414 software developers and data experts.

How to make IE show Default.aspx?

I created a home page and moved to the isp.

it contains 3 files:
Default.aspv
Default.aspx.vb
web.config

and the folder App.Data

Using IE to point to my home page folder it displays the folder contents as
if I did ftp.

If I click on Default.aspx it site displays OK.

So I add an index.html file and that shows when IE refreshes.

Can I do something so simply pointing IE to the folder makes the
Default.aspx display?
Thanks
Jul 23 '08 #1
8 2465
Your web server is not programmed to have default.aspx as a default page.
you may want to make sure it has asp.net capabilities because default.aspx
should really be added to the default page list already if the server
supports asp.net. Also, if index.html is in the list, it's usually more
indicative of a Unix/Linux server and not a Windows server.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - Expression

"AAaron123" <aa*******@roadrunner.comwrote in message
news:uB**************@TK2MSFTNGP04.phx.gbl...
I created a home page and moved to the isp.

it contains 3 files:
Default.aspv
Default.aspx.vb
web.config

and the folder App.Data

Using IE to point to my home page folder it displays the folder contents
as if I did ftp.

If I click on Default.aspx it site displays OK.

So I add an index.html file and that shows when IE refreshes.

Can I do something so simply pointing IE to the folder makes the
Default.aspx display?
Thanks
Jul 23 '08 #2
Thanks
I'll check

"Mark Fitzpatrick" <ma******@fitzme.comwrote in message
news:OH**************@TK2MSFTNGP06.phx.gbl...
Your web server is not programmed to have default.aspx as a default page.
you may want to make sure it has asp.net capabilities because default.aspx
should really be added to the default page list already if the server
supports asp.net. Also, if index.html is in the list, it's usually more
indicative of a Unix/Linux server and not a Windows server.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - Expression

"AAaron123" <aa*******@roadrunner.comwrote in message
news:uB**************@TK2MSFTNGP04.phx.gbl...
>I created a home page and moved to the isp.

it contains 3 files:
Default.aspv
Default.aspx.vb
web.config

and the folder App.Data

Using IE to point to my home page folder it displays the folder contents
as if I did ftp.

If I click on Default.aspx it site displays OK.

So I add an index.html file and that shows when IE refreshes.

Can I do something so simply pointing IE to the folder makes the
Default.aspx display?
Thanks

Jul 23 '08 #3
Hello AAaron123,

you can use use Default.asp/htmp because they are defaults for the IIS, or
go to IIS settings and add the default.aspx in the website properties

---
WBR,
Michael Nemtsev [Microsoft MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
AThanks
AI'll check
A"Mark Fitzpatrick" <ma******@fitzme.comwrote in message
Anews:OH**************@TK2MSFTNGP06.phx.gbl...
A>
>Your web server is not programmed to have default.aspx as a default
page. you may want to make sure it has asp.net capabilities because
default.aspx should really be added to the default page list already
if the server supports asp.net. Also, if index.html is in the list,
it's usually more indicative of a Unix/Linux server and not a Windows
server.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - Expression
"AAaron123" <aa*******@roadrunner.comwrote in message
news:uB**************@TK2MSFTNGP04.phx.gbl...
>>I created a home page and moved to the isp.

it contains 3 files:
Default.aspv
Default.aspx.vb
web.config
and the folder App.Data

Using IE to point to my home page folder it displays the folder
contents as if I did ftp.

If I click on Default.aspx it site displays OK.

So I add an index.html file and that shows when IE refreshes.

Can I do something so simply pointing IE to the folder makes the
Default.aspx display?

Thanks

Jul 23 '08 #4
I'm only having the problem with my ISP so I guess I'd have to get him to do
what you suggested to his software.

Thanks

"Michael Nemtsev [MVP]" <ne*****@msn.comwrote in message
news:90**************************@msnews.microsoft .com...
Hello AAaron123,

you can use use Default.asp/htmp because they are defaults for the IIS, or
go to IIS settings and add the default.aspx in the website properties

---
WBR, Michael Nemtsev [Microsoft MVP] :: blog:
http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

AThanks
AI'll check
A"Mark Fitzpatrick" <ma******@fitzme.comwrote in message
Anews:OH**************@TK2MSFTNGP06.phx.gbl...
A>
>>Your web server is not programmed to have default.aspx as a default
page. you may want to make sure it has asp.net capabilities because
default.aspx should really be added to the default page list already
if the server supports asp.net. Also, if index.html is in the list,
it's usually more indicative of a Unix/Linux server and not a Windows
server.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - Expression
"AAaron123" <aa*******@roadrunner.comwrote in message
news:uB**************@TK2MSFTNGP04.phx.gbl...

I created a home page and moved to the isp.

it contains 3 files:
Default.aspv
Default.aspx.vb
web.config
and the folder App.Data

Using IE to point to my home page folder it displays the folder
contents as if I did ftp.

If I click on Default.aspx it site displays OK.

So I add an index.html file and that shows when IE refreshes.

Can I do something so simply pointing IE to the folder makes the
Default.aspx display?

Thanks


Jul 23 '08 #5
So as explained earlier this is because index.html comes earlier in the list
of default files...

Couldn't you just rename the index.html file if you don't want this file to
be the default file ?
[cut]
>>>>>
If I click on Default.aspx it site displays OK.
>
So I add an index.html file and that shows when IE refreshes.
>
Can I do something so simply pointing IE to the folder makes the
Default.aspx display?
>
Thanks
>


Jul 23 '08 #6
The real file is Default.aspx

I only tried the index.html to see if that would work.

So as I understand it now the ISP looks for index.html but does not look for
Default.aspx

I normally would not have an index.html but If I could figure how to make an
index.html open the Default.aspx that would help.

Baring that the URL will have to include Default.aspx at the end.

thanks


"Patrice" <http://www.chez.com/scribe/wrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
So as explained earlier this is because index.html comes earlier in the
list of default files...

Couldn't you just rename the index.html file if you don't want this file
to be the default file ?
[cut]
>>>>>>
>If I click on Default.aspx it site displays OK.
>>
>So I add an index.html file and that shows when IE refreshes.
>>
>Can I do something so simply pointing IE to the folder makes the
>Default.aspx display?
>>
>Thanks
>>



Jul 23 '08 #7
Hello AAaron123,

add the following code to the head section of you index.html to redirect
on your default.aspx

<script type="text/javascript">
<!--
window.location = "default.aspx"
//-->
</script>

---
WBR,
Michael Nemtsev [Microsoft MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo
AThe real file is Default.aspx
A>
AI only tried the index.html to see if that would work.
A>
ASo as I understand it now the ISP looks for index.html but does not
Alook for Default.aspx
A>
AI normally would not have an index.html but If I could figure how to
Amake an index.html open the Default.aspx that would help.
A>
ABaring that the URL will have to include Default.aspx at the end.
A>
Athanks
A>
A"Patrice" <http://www.chez.com/scribe/wrote in message
Anews:%2****************@TK2MSFTNGP02.phx.gbl...
A>
>So as explained earlier this is because index.html comes earlier in
the list of default files...

Couldn't you just rename the index.html file if you don't want this
file to be the default file ?

[cut]
>>>>>>If I click on Default.aspx it site displays OK.
>>>
>>So I add an index.html file and that shows when IE refreshes.
>>>
>>Can I do something so simply pointing IE to the folder makes the
>>Default.aspx display?
>>>
>>Thanks
>>>

Jul 23 '08 #8
thank you
"Michael Nemtsev [MVP]" <ne*****@msn.comwrote in message
news:90**************************@msnews.microsoft .com...
Hello AAaron123,

add the following code to the head section of you index.html to redirect
on your default.aspx

<script type="text/javascript">
<!--
window.location = "default.aspx"
//-->
</script>

---
WBR, Michael Nemtsev [Microsoft MVP] :: blog:
http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo

AThe real file is Default.aspx
AAI only tried the index.html to see if that would work.
AASo as I understand it now the ISP looks for index.html but does not
Alook for Default.aspx
AAI normally would not have an index.html but If I could figure how to
Amake an index.html open the Default.aspx that would help.
AABaring that the URL will have to include Default.aspx at the end.
AAthanks
AA"Patrice" <http://www.chez.com/scribe/wrote in message
Anews:%2****************@TK2MSFTNGP02.phx.gbl...
A>
>>So as explained earlier this is because index.html comes earlier in
the list of default files...

Couldn't you just rename the index.html file if you don't want this
file to be the default file ?

[cut]

>>>If I click on Default.aspx it site displays OK.
>>>>
>>>So I add an index.html file and that shows when IE refreshes.
>>>>
>>>Can I do something so simply pointing IE to the folder makes the
>>>Default.aspx display?
>>>>
>>>Thanks
>>>>


Jul 25 '08 #9

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

Similar topics

5
by: Ted Apollo | last post by:
When I develop my ASP.NET 1.1 application locally, the default form is always "WebForm1.aspx." However, when I post the same application to a web server, the default becomes "default.aspx." Why...
7
by: Frankie | last post by:
I just acquired a new customer who had an existing ASP classic Web site. When I took over, I transferred all content to ASPX pages that have different page names than the prior Web site had. I kept...
9
by: David Veeneman | last post by:
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...
3
by: Gaetan | last post by:
I have setup 2 servers (Windows 2003 Server SP1, latest hotfix) with IIS and .Net Framework 1.1 and 2.0. None of the 2 servers have default.aspx listed as a default content document even when there...
11
by: scott | last post by:
Hi, From IIS6 and from a session on the 2003 server i attempt to browse to http://localhost/default.aspx and get the following error: Description: An error occurred during the processing of...
3
by: Beemer Biker | last post by:
I started seeing huge amounts of error messages such as "Validation (XHTML 1.0 Transitional):" Element schema is not supported". There was nothing wrong with that for 3 weeks and suddenly there...
3
by: Joey | last post by:
I have several asp.net 2.0 apps written in VS2005 in C#. For each one, I like to create and track page view events, increment counters, etc. I do this in a block on each page, like this... ...
10
by: Eirik Eldorsen | last post by:
How can I 301 redirect www.example.com/default.aspx to www.example.com without using ISAPI filters?
4
by: Usenet User | last post by:
Platform: IIS 5 or 6, ASP .NET 1.1 I can configure default page for my virtual directory and "hide" that page from users. For example, if I have an ASPX from called MyPage.aspx, I can make it...
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...
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
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
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
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
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...

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.