ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old September 28th, 2003, 09:34 AM
gintom gintom is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Essex, UK
Posts: 164 gintom User rank is Private First Class (20 - 50 Reputation Level)gintom User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 17 h 16 m 46 sec
Reputation Power: 5
Problems with viewing asp pages

I have designed my site entirely in asp. But when I type in the URL I get the following message:

Directory Listing Denied
This Virtual Directory does not allow contents to be listed.

And when I go to use my software to help with the keywords for the site etc it says that it cant find the HTML file, when my site is in asp.

I have tried a redirect script:
Code:
<script language="javascript">
      var url= window.location.href;

      if(url.charAt(url.length- 1)== '/') { url= url.substring(0, url.length- 1); }
      url= url+ '/';
      var s= url.indexOf("//")+ 2;
      var e= url.indexOf("@");
      if(e > 0) {
        var atpart= url.substring(s, e);
        window.location.href= url+ atpart+ '/';
      } else {
        window.location.href= 'index.asp';
      }
    </script>
    <meta http-equiv="refresh" content="4; url= index.asp">
  </head>
  <body>
    <noscript>
<a href="index.asp">Continue here</a>
    </noscript>


but this throws the keyword optimization out the window.

If anyone can help, I would much appreciate it.

Reply With Quote
  #2  
Old September 28th, 2003, 05:17 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,716 Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level)Doug G User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 33 m 54 sec
Reputation Power: 688
Do you have an index.asp file? The normal windows IIS server default file is default.asp, not index.asp

The error about directory listing denied indicates there is no default document file in the folder (i.e., no default.asp)

You can use the IIS MMC to edit what file(s) are considered default files.

Reply With Quote
  #3  
Old September 28th, 2003, 09:08 PM
pda8333 pda8333 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 216 pda8333 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 6 m 31 sec
Reputation Power: 5
i agree with doug g.

can u access your IIS?

if can, locate your web name. then right click to go to Properties. Go to tab "Documents" and put in your index.asp, (that is if your index.asp is your first page) as your "Default Document". Remember to put it at the top most.

if can't, then contact your web administrator to do it for you.

Reply With Quote
  #4  
Old September 29th, 2003, 06:31 AM
gintom gintom is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Essex, UK
Posts: 164 gintom User rank is Private First Class (20 - 50 Reputation Level)gintom User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 17 h 16 m 46 sec
Reputation Power: 5
thanks guys,

got it working now.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > Problems with viewing asp pages


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway