SQL = “INSERT INTO contacts (FirstName, LastName, Email, Message) VALUES ('”&strFirst&“‘,’”&strLast&“‘,’”&strEmail&“‘,’”&strMessage&“')”
conn.Execute(SQL)
%> but when I get to this page from the swf form i get this error:
[COLOR=#000000][FONT=verdana]
Error Type:
ADODB.Connection.1 (0x800A0BB9)
The application is using arguments that are of the wrong type, are out of acceptable range, or are in conflict with one another. /processForm.asp, line 11
[/FONT][/COLOR] And line 11 is
conn.Open “Driver={Microsoft Access Driver (*.mdb)};” & _ so i guess it’s something wrong with that line.
I’m new to asp and php though i know plenty about flash and I would like some comments on what to do.
my only guess is that you are trying to pass a non value into your database.
this can occur when flash player (made from mx2004 I think) cant find a document called ‘crossdomain.xml’. From memory it looks for this file whenever flash uses loadvariables, sendandload … etc…
search google for:
macromedia crossdomain.xml
I had excactly the same problem recently. this fixed it.