Hej jeg har fået et problem med min web efter at B-one har
opdateret deres ASP version.
Kan ikke hente mine referencer på:
http://www.profilmagasin.dk/references.asp
Fejlmeddelse:
The page cannot be displayed
There is a problem with the page you are trying to reach and it
cannot be displayed.
Please try the following:· Click the Refresh button, or try
again later.· Open the
www.profilmagasin.dk home page, and then
look for links to the information you want. HTTP 500.100 -
Internal Server Error - ASP errorApache
Technical Information (for support personnel)
· Error Type:Sun ONE ASP VBScript compilation
(0x800A03F6)Expected 'End'
/references.asp, line 62, column 121·
Browser Type:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0;
DigExt)
· Page:GET /references.asp
· Time:Wednesday, March 30, 2005, 11:37:32 AM
· More information:Sun ONE Active Server Pages Support
Fejlen skulle ligge i linie 62 som ser sådan ud:
Linie 62: Response.Write("<span class='text02'>> </span><span
class='text02'>" & reference("customer_reference") &
"</span><br>") & vbCrLf
Siden har virket før og fejlen er først opstået efter B-one´s
opdatering af deres ASP version.
Hvad er problemet og hvad gør jeg, Tak for hjælpen....
hele siden ser således ud:
%>
<html>
<head>
<title>cdc global group ApS | Referencer</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<meta http-equiv="Pragma" content="no-cache">
<link href="cdc_style_sheet.css" rel="stylesheet"
type="text/css">
</head>
<body>
<table width="780" height="100%" border="0" align="center"
cellpadding="8" cellspacing="0">
<tr valign="middle">
<td height="25" bgcolor="#585852"> <font color="#FFFFFF"
size="1" face="Verdana, Arial, Helvetica, sans-serif">
<!-- #Include File="menu.inc" -->
</font></td>
<td height="25" bgcolor="#585852"><div align="right"><img
src="images/logo_cdc_white.gif" width="36"
height="14"></div></td>
</tr>
<tr>
<td width="530" valign="top" bgcolor="#F1F1F1"><table
width="100%" border="0">
<tr>
<td valign="top" class="tableArea01">
<p class="head0102">Cases</p>
<span class="linkPicture01">
<%
set cases = conn.Execute("SELECT * FROM cases WHERE id_case="&
("id_case") &" ORDER BY id DESC LIMIT 0,10")
do while not cases.EOF
Response.Write("<a href='case_specified.asp?id_case=" &
cases("id_case") & "'><p><img src='cases/" & cases("id_pic_case")
& "' width='450' height='75' border='0'></p></a>") & vbCrLf
cases.MoveNext
loop
cases.Close
set cases = nothing
%>
</span> </td>
</tr>
</table></td>
<td width="250" valign="top" bgcolor="#BB5220"><table
width="100%" border="0">
<tr>
<td valign="top" class="tableNews01"> <p><span
class="head02">Referencer</span><br>
<%
set reference = conn.Execute("SELECT * FROM reference WHERE
id_reference=" & ("id_reference") & " ORDER BY customer_reference
ASC")
do while not reference.EOF
if reference("case_reference") = "yes" then
Response.Write("<span class='text02'>> </span><a
href='case_specified.asp?id_case=" & reference("id_reference") &
"' class='text02'>" & reference("customer_reference") &
"</a><br>") & vbCrLf
else
Linie 62: Response.Write("<span class='text02'>> </span><span
class='text02'>" & reference("customer_reference") &
"</span><br>") & vbCrLf
end if
reference.MoveNext
loop
reference.Close
set reference = nothing
%>
</td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
<%
conn.Close
set conn = nothing
%>
--
Vil du lære at kode HTML, XHTML, CSS, SSI, ASP eller ASP.NET?
- Pædagogiske tutorials på dansk
- Kom godt i gang med koderne
KLIK HER! =>
http://www.html.dk/tutorials