|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||
|
|||
|
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. |
|
#4
|
|||
|
|||
|
thanks guys,
got it working now. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Problems with viewing asp pages |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|