Script timed out
Nogen der kan hjælpe mig med at få det her til at virke?Jeg får denne fejl og jeg har prøvet at sætte server tiden op men lige meget hjælper det script går ud på at hente text fra en notepad fil og sætte indholder ind i en database:
Active Server Pages error 'ASP 0113'
Script timed out
insert.asp
The maximum amount of time for a script to execute was exceeded. You can change this limit by specifying a new value for the property Server.ScriptTimeout or by changing the value in the IIS administration tools.
<%@ Language=VBScript %>
<%
'Option Explicit
Response.Buffer = True
Set Conn = Server.CreateObject("ADODB.Connection")
DSN = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("yep.mdb")
Conn.Open DSN
Dim fso, f, filespec
Set fso = CreateObject("Scripting.FileSystemObject")
filespec = Server.Mappath("yep.txt")
Set f = fso.OpenTextFile(filespec,1)
Do While not f.AtEndOfStream
keyword = f.ReadLine
Conn.Execute("Insert into lookup (yep) values('" & keyword & "')")
Loop
f.Close
response.write("ok")
Conn.Close
Set Conn = Nothing
%>
</body>
</html>
