Forums

ASP

This topic is locked

Making a private messaging system - getting error

Posted 12 Aug 2002 17:21:14
1
has voted
12 Aug 2002 17:21:14 Kristian Waagsboe posted:
I'm making a private messaging system and I'm getting an error on the send page (using Insert Record behavior). I'm using URL parameters to preselect reciever(s). But when submitting the page I get this error:

Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC Microsoft Access Driver] Syntax in INSERT INTO-sentence
/2NO/insert_private.asp, line 115

(this text is originally in Norwegian but I translated it to english. Some wrong translations maybe).

Line 115 reads:

Set MM_editCmd = Server.CreateObject("ADODB.Command"
MM_editCmd.ActiveConnection = MM_editConnection
MM_editCmd.CommandText = MM_editQuery
<b>MM_editCmd.Execute</b>
MM_editCmd.ActiveConnection.Close

I remember getting this error earlier in my history making ASP-sites, but whatever I do, I don't get it right...

I'm sure someone knows what's wrong

Reply to this topic