Attribute [dbtype] is not allowed for tag [cfinsert]

Hi,
I have an application that runs fine under Adobe CF but is displaying an error message when ran under Lucee. Basically I’m using a simple form to post data into a MySQL database and getting the following error message. (I’m not sure if this is my code or a problem configuring Lucee). Here’s the error message.

Attribute [dbtype] is not allowed for tag [cfinsert]

and here is the code

<cfinsert datasource="creative" tablename="Topics" dbtype="ODBC">

Is there an alternative to dbtype?

Any help appreciated!

Paul

Sorry the code didn’t display - I’m using the following

//cfinsert datasource=“creative” tablename=“Topics” dbtype=“ODBC”//

Just omit dbtype altogether

1 Like

Thanks Zac