Dette giver HTTP 500 Internal Server Error. Hvorfor?
<%Dim Conn, RS
strConnection = "DRIVER={MySQL ODBC 3.51 Driver}; SERVER=xxx.xxx.xxx.xxx; UID=hbxxxxx_MitDomæne; PWD=xxxxxxxx; DATABASE=hbxxxxx_MitDomæneDB; OPTION=3"
SET Conn = Server.CreateObject("ADODB.Connection")
Conn.Open strConnection
Set RS = Conn.Execute("SELECT * FROM users WHERE userID = 1")
If RS.EOF Then
RS.Close
Conn.Close
Enf If
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
Response.Buffer = True
Response.Expires = -1000
Session.LCID = 1030
%>
<html>
<head>
<meta http-equiv="Expires" CONTENT="Fri, Jun 12 1981 08:20:00 GMT">
<meta http-equiv="Cache-Control" CONTENT="no-store">
<meta http-equiv="Cache-Control" CONTENT="no-cache">
<meta http-equiv="Pragma" CONTENT="no-cache">
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<meta http-equiv="imagetoolbar" content="no">
<meta http-equiv="Content-language" content="dan">
<meta name="robots" content="all">
<link rel="stylesheet" type="text/css" href="/includes/style.css">
<title>Test</title>
</head>
<body>
<%=RS("firstname")%> <%=RS("middlename")%> <%=RS("lastname")%>
</body>
</html>