Answered
request.dsn and error
I am working on a site and I have two databases. I used the
Request.DSN in the application.cfm for the first data base...but
how can I do something similar for the second? I would rather not
have to go back and rename everywhere the database is listed in the
site to make it match the server after upload.
Also, my second question. I am trying to allow users to update there information. The site works perfectly on my computer but after I upload it ...one of my update forms doesnt work. All the others do..however this one uses the username from a session variable.Why would it work on my computer but not when its uploaded to the remote server? See below.
Thanks
Error Executing Database Query.
Syntax error in UPDATE statement.
The error occurred in D:\Hosting\members\update_member.cfm: line 38
36 : ''
37 : </cfif>
38 : WHERE UserName=<cfqueryparam value="#FORM.UserName#" cfsqltype="cf_sql_clob" maxlength="50">
39 : </cfquery>
40 : <cflocation url="index.cfm">
Also, my second question. I am trying to allow users to update there information. The site works perfectly on my computer but after I upload it ...one of my update forms doesnt work. All the others do..however this one uses the username from a session variable.Why would it work on my computer but not when its uploaded to the remote server? See below.
Thanks
Error Executing Database Query.
Syntax error in UPDATE statement.
The error occurred in D:\Hosting\members\update_member.cfm: line 38
36 : ''
37 : </cfif>
38 : WHERE UserName=<cfqueryparam value="#FORM.UserName#" cfsqltype="cf_sql_clob" maxlength="50">
39 : </cfquery>
40 : <cflocation url="index.cfm">
