473,811 Members | 3,536 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IIS6 - Default content page

Hi,
We have an asp 1.1. app with a number of subdirectories, but still part of
the same app.
One of these directories is now to have a couple of plain html files in
them, so I diligently look at the directory properties dialog in IIS manaer
to look at the documents tab.
I've removed index.aspx (which used to be there) and have now added
index.html, which is the new file to be used instead.
Alas you get the 'directory listing denied' message when entering the
directory from the browser. Its amost as if it is ignoring the default
document for the directory.

Does anyone have any bright ideas?
Many thanks in advance..
Andy
Oct 11 '06 #1
4 3505
You do not have to remove files, you simply have to add files and put the
"main" file at the top of the list. Not sure why you are getting file not
found, but I would look at the web server log for this virtual directory.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************** *************** *************** ****
Think outside of the box!
*************** *************** *************** ****
"Andy" <An**@discussio ns.microsoft.co mwrote in message
news:8B******** *************** ***********@mic rosoft.com...
Hi,
We have an asp 1.1. app with a number of subdirectories, but still part of
the same app.
One of these directories is now to have a couple of plain html files in
them, so I diligently look at the directory properties dialog in IIS
manaer
to look at the documents tab.
I've removed index.aspx (which used to be there) and have now added
index.html, which is the new file to be used instead.
Alas you get the 'directory listing denied' message when entering the
directory from the browser. Its amost as if it is ignoring the default
document for the directory.

Does anyone have any bright ideas?
Many thanks in advance..
Andy

Oct 11 '06 #2
I would check to see if the anonymous user has got permission to see your
html file.

"Cowboy (Gregory A. Beamer)" wrote:
You do not have to remove files, you simply have to add files and put the
"main" file at the top of the list. Not sure why you are getting file not
found, but I would look at the web server log for this virtual directory.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************** *************** *************** ****
Think outside of the box!
*************** *************** *************** ****
"Andy" <An**@discussio ns.microsoft.co mwrote in message
news:8B******** *************** ***********@mic rosoft.com...
Hi,
We have an asp 1.1. app with a number of subdirectories, but still part of
the same app.
One of these directories is now to have a couple of plain html files in
them, so I diligently look at the directory properties dialog in IIS
manaer
to look at the documents tab.
I've removed index.aspx (which used to be there) and have now added
index.html, which is the new file to be used instead.
Alas you get the 'directory listing denied' message when entering the
directory from the browser. Its amost as if it is ignoring the default
document for the directory.

Does anyone have any bright ideas?
Many thanks in advance..
Andy


Oct 11 '06 #3
Hi,
Thanks for the replies.
I've found the logs but can't really see anything which may be of se, though
having said that I don't really know what I'm looking for.
Also, how do I see if the anonymous user has got permission to see my html
file?

Sorry, but thanks for the pointers so far... much appreciated.
Andy

"Steve Edmans" wrote:
I would check to see if the anonymous user has got permission to see your
html file.

"Cowboy (Gregory A. Beamer)" wrote:
You do not have to remove files, you simply have to add files and put the
"main" file at the top of the list. Not sure why you are getting file not
found, but I would look at the web server log for this virtual directory.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*************** *************** *************** ****
Think outside of the box!
*************** *************** *************** ****
"Andy" <An**@discussio ns.microsoft.co mwrote in message
news:8B******** *************** ***********@mic rosoft.com...
Hi,
We have an asp 1.1. app with a number of subdirectories, but still part of
the same app.
One of these directories is now to have a couple of plain html files in
them, so I diligently look at the directory properties dialog in IIS
manaer
to look at the documents tab.
I've removed index.aspx (which used to be there) and have now added
index.html, which is the new file to be used instead.
Alas you get the 'directory listing denied' message when entering the
directory from the browser. Its amost as if it is ignoring the default
document for the directory.
>
Does anyone have any bright ideas?
Many thanks in advance..
Andy
Oct 11 '06 #4
The file permissions I am talking about are the file system permissions.
Just open the properties for the file in windows explorer and check the
security tab.

"Andy" wrote:
Hi,
Thanks for the replies.
I've found the logs but can't really see anything which may be of se, though
having said that I don't really know what I'm looking for.
Also, how do I see if the anonymous user has got permission to see my html
file?

Sorry, but thanks for the pointers so far... much appreciated.
Andy

"Steve Edmans" wrote:
I would check to see if the anonymous user has got permission to see your
html file.

"Cowboy (Gregory A. Beamer)" wrote:
You do not have to remove files, you simply have to add files and put the
"main" file at the top of the list. Not sure why you are getting file not
found, but I would look at the web server log for this virtual directory.
>
--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com
>
*************** *************** *************** ****
Think outside of the box!
*************** *************** *************** ****
"Andy" <An**@discussio ns.microsoft.co mwrote in message
news:8B******** *************** ***********@mic rosoft.com...
Hi,
We have an asp 1.1. app with a number of subdirectories, but still part of
the same app.
One of these directories is now to have a couple of plain html files in
them, so I diligently look at the directory properties dialog in IIS
manaer
to look at the documents tab.
I've removed index.aspx (which used to be there) and have now added
index.html, which is the new file to be used instead.
Alas you get the 'directory listing denied' message when entering the
directory from the browser. Its amost as if it is ignoring the default
document for the directory.

Does anyone have any bright ideas?
Many thanks in advance..
Andy
>
>
>
Oct 12 '06 #5

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

Similar topics

9
2909
by: grw | last post by:
Im trying to find why my hosted server won't maintain session state. Its not a web farm (not load balanced), its all the same server An application requires a session to be set and then recalled (like you do :) However, since the server software was upgraded from IIS 5 to 6, the working code no longer works. (ie - login with session variables but get logged out immediately the page changes)
0
2112
by: microsoft | last post by:
Hi, I have an ASP script that initiates a ADODB.Stream like below first bit gets filename from the database strAbsFile = getfilefromDB(request.querystring("fileid")) '-- create FSO object to check if file exists and get properties Set objFSO = Server.CreateObject("Scripting.FileSystemObject") '-- check to see if the file exists
1
1833
by: nomad7 | last post by:
Hi, This my problem, we are migrating our intranet from IIS5 to IIS6 an have decided to split various sections of the intranet to seperat domain hosts, e.g. we had: www.intra.domain.com BUT NOW HAVE: depts.intra.domain.com www.intra.domain.com
4
2467
by: Mark J. McGinty | last post by:
Greets, Part of the content of one of our web pages uses wingdings and Chr(239) through Chr(242) (which are little arrow outlines, though that's not really important.) It worked just fine in Windows 2000 Server, but now under Server 2003 it seems that characters above 127 get converted somehow, and our code no longer produces the desired effect.
6
1766
by: Bjoern Wolfgardt | last post by:
Hi NG, I have written some Apps in ASP.NET that access a SQL Server on another machine. I never had a problem doing this in IIS5(.1). Most Apps are Intranet Application where I use the integrated windows authentication. So my webconfig uses <identity impersonate="true"/>. My Problem is that I now had to install one app on a Windows 2003 Server. I tried to run my app but I allways get the error that anonymous access is not allowed.
2
1388
by: sqlboy2000 | last post by:
All, I've used the following code in several projects without issue: Response.ContentType = "Application/msword" Response.AddHeader ( "Content-Disposition", "attachment; filename=Report.doc" ) If you're familiar with it, it simply causes the webpage to be rendered as a word attachment. This works fine in my .aspx page on my machine (win xp pro). But when I deploy it to our production web
1
1228
by: Mike Trebilcock | last post by:
I have a web app that builds a tree from a database. The tree is built on demand when the user POSTs the page back to the sever. The server maintains a copy of the current tree in a session object. This all works fine on the development server but I have a problem on my live server (IIS6.0 ASP.NET 1.1). When the user posts the page back the request is not getting to ASP.NET. When tracing is enabled there is no entry. However the...
4
2683
by: Samurai | last post by:
I have this ASP application that delivers binary files (by calling C++ COM object) to a C++ client application. On the server side I read from a file and write it using Response.BinaryWrite function. On the client side I read using the MFC CHttpFile::Read() function. This code has been working for 5 years on Win2000/IIS5. Recently we moved the ASP application as is into Windows 2003/IIS6. Since then we are seeing that some large size...
2
6115
by: Andrew Allen | last post by:
I need to migrate a site from Windows 2000 server running IIS5 to Windows 2003 running IIS6. The site uses extensively MSWC.PermissionChecker to control what links to show to users. The MSWC.PermissionChecker that was part of IIS5 resource kit but not available in IIS6 resource kit. *** set oSecurity = Server.CreateObject("MSWC.PermissionChecker")
0
9734
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9607
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10413
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10138
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9214
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7674
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6897
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5565
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
3027
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.