Till att börja med: http://www.webforum.nu/showthread.php?s=&postid=553850#post553850
Frågan#1
Vad är fel med följande kod?
Det står 'Sidan kan inte visas'
'HTTP 500 - Internt serverfel '
<%
'Create a connection object.
Set cnn = Server.CreateObject("ADODB.Connection")
'Open a connection using the OLE DB connection string.
cnn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=intra_pres.mdb"
'Instantiate a Recordset object.
Set rec = Server.CreateObject("ADODB.Recordset")
'Open a recordset using the Open method
'and use the connection established by the Connection object.
strSQL = "SELECT * FROM Personer WHERE namn = 'Fredrik'"
rec.Open strSQL, cnn
%>
<html>
<head>
<title>Info</title>
<link href="css.css" rel="stylesheet" type="text/css">
</head>
<body>
<strong>Nuvarande arbetsuppgifter: </strong><%= rec("uppg") %><br>
<strong>Tidigare arbetsuppgifter: </strong><%= rec("tidigare") %><br>
<strong>Språk: </strong><%= rec("lang") %><br>
<strong>Fritidsintressen: </strong><%= rec("fritid") %><br>
<strong>Udda specialkunskaper/intressen: </strong><%= rec("udda") %><br>
<strong>Övrigt: </strong><%= rec("misc") %>
</body>
</html>
<% rec.Close
cnn.Close %>
