"Kristofer Gafvert [MVP]" skrev i en meddelelse
> It would be great to know the exact failure message, so we know what is
> wrong. But i am almost 100% sure that the file is missing, or that the
> reference(s) to the file is wrong.
Hi Kristofer
I have translated the failure message from Danish. I hope it looks familiar
to you.
Failure message, JNM translation.
The pages cannot be shown
A problem has occurred with the page you want to open and the page cannot be
shown
----------------------------------------------------------------------------
----
Try the following:
Open the server homepage, and search for hyperlinks to the wanted
information.
Click the update knob, or try again later.
HTTP 403,2 - Not allowed: Reading access prohibited
Internet Information Services
----------------------------------------------------------------------------
----
Technical information (for the support technician)
Background:
This failure may occur if you cannot get a standard page shown, and if the
search in folders is not activated for the particular folder, or if you try
to open a HTML page, which is placed in a folder where you only have Execute
permission or script permission
Further information:
Microsoft Support
End translation.
The following is a copy of the code from the top frame in the browser:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html dir=ltr>
<head>
<style> a:link {font:8pt/11pt
verdana; color:FF0000} a:visited
{font:8pt/11pt verdana; color:#4e4e4e}
</style>
<META NAME="ROBOTS" CONTENT="NOINDEX">
<title>Siden kan ikke vises</title>
<META HTTP-EQUIV="Content-Type" Content="text-html; charset=iso-8859-1">
</head>
<script>
function Homepage(){
<!--
// in real bits, urls get returned to our script like this:
// <a rel="nofollow" style='text-decoration: none;' href="res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm" target="_blank">res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm</a>
//For testing use DocURL =
"res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm"
DocURL=document.URL;
//this is where the http or https will be, as found by
searching for :// but skipping the <a rel="nofollow" style='text-decoration: none;' href="res://" target="_blank">res://</a>
protocolIndex=DocURL.indexOf("://",4);
//this finds the ending slash for the domain server
serverIndex=DocURL.indexOf("/",protocolIndex + 3);
//for the href, we need a valid URL to the domain. We
search for the # symbol to find the begining
//of the true URL, and add 1 to skip it - this is the
BeginURL value. We use serverIndex as the end marker.
//urlresult=DocURL.substring(protocolIndex -
4,serverIndex);
BeginURL=DocURL.indexOf("#",1) + 1;
urlresult=DocURL.substring(BeginURL,serverIndex);
//for display, we need to skip after <a rel="nofollow" style='text-decoration: none;' href="http://," target="_blank">http://,</a> and go
to the next slash
displayresult=DocURL.substring(protocolIndex + 3
,serverIndex);
InsertElementAnchor(urlresult, displayresult);
}
function HtmlEncode(text)
{
return text.replace(/&/g, '&').replace(/'/g, '"').replace(/</g,
'<').replace(/>/g, '>');
}
function TagAttrib(name, value)
{
return ' '+name+'="'+HtmlEncode(value)+'"';
}
function PrintTag(tagName, needCloseTag, attrib, inner){
document.write( '<' + tagName + attrib + '>' + HtmlEncode(inner) );
if (needCloseTag) document.write( '</' + tagName +'>' );
}
function URI(href)
{
IEVer = window.navigator.appVersion;
IEVer = IEVer.substr( IEVer.indexOf('MSIE') + 5, 3 );
return (IEVer.charAt(1)=='.' && IEVer >= '5.5') ?
encodeURI(href) :
escape(href).replace(/%3A/g, ':').replace(/%3B/g, ';');
}
function InsertElementAnchor(href, text)
{
PrintTag('A', true, TagAttrib('HREF', URI(href)), text);
}
//-->
</script>
<body bgcolor="FFFFFF">
<table width="410" cellpadding="3" cellspacing="5">
<tr>
<td align="left" valign="middle" width="360">
<h1 style="COLOR:000000; FONT: 13pt/15pt
verdana"><!--Problem-->Siden kan ikke vises</h1>
</td>
</tr>
<tr>
<td width="400" colspan="2"> <font style="COLOR:000000; FONT: 8pt/11pt
verdana">Der er opstået et problem med den side, du forsøger at se, og siden
kan ikke vises.</font></td>
</tr>
<tr>
<td width="400" colspan="2"> <font style="COLOR:000000; FONT: 8pt/11pt
verdana">
<hr color="#C0C0C0" noshade>
<p>Prøv følgende:</p>
<ul>
<li>Åbn
<script>
<!--
if (!((window.navigator.userAgent.indexOf("MSIE") >
0) && (window.navigator.appVersion.charAt(0) == "2")))
{
Homepage();
}
//-->
</script>
hjemmesiden, og søg derefter efter hyperlinks til de
ønskede oplysninger.</li>
<li>Klik på knappen <a href="javascript:location.reload()">
Opdater</a>, eller forsøg igen senere.<br>
</li>
</ul>
<h2 style="font:8pt/11pt verdana; color:000000">HTTP 403,2 - Ikke
tilladt: Læseadgang forbudt<br> Internet Information Services</h2>
<hr color="#C0C0C0" noshade>
<p>Tekniske oplysninger (for supportteknikere)</p>
<ul>
<p>
<li>Baggrund:<br> Denne fejl kan opstå, hvis du ikke kan få vist en
standardside, og hvis søgning i mapper ikke er aktiveret for den pågældende
mappe, eller hvis du forsøger at få vist en HTML-side, som er placeret i en
mappe, hvor du kun har Udfør-tilladelse eller Script-tilladelse.</p>
<p>
<li>Yderligere oplysninger:<br> <a
href="http://www.microsoft.com/ContentRedirect.asp?prd=iis&sbp=&pver=5.0&olc
id=1030&clcid=1030&pid=&ID=403.2&cat=web&os=&over=&hrd=&Opt1=&Opt2=&Opt3="
target="_blank">Microsoft Support</a>
</li></p>
</ul>
</font></td>
</tr>
</table>
</body>
</html>
End of the code
As far as I can see, I get the same code in the left frame.
This is the mainframe code:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>Mainpage-opening</title>
<link rel="stylesheet" type="text/css" href="Stylesheet/Main.css">
</head>
<body>
<h1>Welcome to Cimber Air Support Quality Management</h1>
<p> </p>
<h3><b>Introduction</b></h3>
<p>The Cimber Air Support a/s quality management system is a comprehensive
management system
focusing on policies, goals, responsibilities and business processes.</p>
<p>30th May 2005</p>
<p>Carl Jørgen Pedersen</p>
<p>Managing director</p>
<p><a href="_private/admin/change-record.htm">Link to Change record
overview.</a></p>
</body>
</html>
End of the code
I may add the following to my explanation:
All 3 sections of the frame top, left and main are created in the right
scale on the screen.
The text in the main is correct and styled as wanted.
Both the top and the left frame sections display the above translated
failure message.
I hope this may assist in the trouble shooting.
Jorgen
>> Stay informed about: IIS will not open frames?