Hi
I have the following ASP file
When I run it, I get the error shown below
(the Error is pointing at the
ConAn.Open dbConAn
line in the script)
What have I done wrong ??
Pete (Northolt UK)
*****************************
** ASP file **
*****************************
session.LCID = 2057
const dbConAn = "DRIVER={Microsoft dBase Driver (*.dbf)};FILE
NAME=c:\inetpub\ibrus\waterways\analize.dbf"
Response.Write dbConAn & "<BR>"
Set ConAn = Server.CreateObject( "ADODB.Connection" )
ConAn.Open dbConAn
DIM RSAn
MySQL = "insert into analize (email, cdate_time, referer, scriptname, ip_address ) values ('"
MySQL = MySQL & SESSION( "SAFETEXT_EMAIL" ) & "', '"
MySQL = MySQL & now & "', '"
MySQL = MySQL & Request.ServerVariables("HTTP_REFERER") & "', '"
MySQL = MySQL & Request.ServerVariables( "SCRIPT_NAME" ) & "', '"
MySQL = MySQL & Request.ServerVariables("REMOTE_ADDR") & "')"
Response.Write MySQL & "<BR>"
Set RSAn = ConAn.Execute( MySQL )
Response.Write "Table has been updated <BR>"
*****************************
** Error Message **
*****************************
DRIVER={Microsoft dBase Driver (*.dbf)};FILE NAME=c:\inetpub\ibrus\waterways\analize.dbf
Microsoft OLE DB Service Components error '800300fb'
The file %1 is not a valid compound file.