Ask a Question related to Coldfusion Database Access, Design and Development.
-
jdeline #1
Update fails on CF 7.0, works on CF 5.0
I'm not sure what's going on. The UPDATE below works with CF5.0 with MS Access
ODBC, but fails with CF 7.0 with MS Access with Unicode. I first tried to make
the datasource on the 7.0 box just MS Access ODBC, straight out of the box, but
received the following error.
----------------------
Connection verification failed for data source: slm
java.sql.SQLException: Unable to retrieve error message from backend ODBC
Driver.
The root cause was that: java.sql.SQLException: Unable to retrieve error
message from backend ODBC Driver.
----------------------
reference is defined as long integer, action and issue are memo fields and the
rest are text.
Any ideas?
C:\Inetpub\wwwroot\cfdocs\CASLM\sendMail.cfm: line 67
65 : UPDATE incident SET status = '#status#',
severity = '#severity#', type = '#type#', todayDate = '#todayDate#',
66 : recipients = '#recipients#', action = '#currentAction#',
issue = '#currentIssue#'
67 : WHERE reference = #reference#
The resolved UPDATE statement:
UPDATE incident SET status = 'Degraded', severity = 'High Impact', type =
'Closed',
todayDate = '20060414165932', recipients = '2,5', action = 'Recharged the AC',
issue = 'Overheated server rack'
WHERE reference = 323232
jdeline Guest
-
php upload: gifs works, jpg fails
Using this this code to upload pictures to my site gif images work fine but with jpeg images the $userfile doesn't get a value so the script fails.... -
IsPlaying() works on one SWF and fails on another?
On a webpage with a Flash clip I use javascript which checked the value of window.document.movie.IsPlaying() to see if the clip is still palying and... -
LogonUser() Works Under NT4.0, Fails Under Win2K
Any help would be greatly appreciated. Based on MS KB article Q248187 (HOWTO: Impersonate a User from Active Server Pages), I developed an... -
update statement with DSN works, DSN-less fails
the following SQL statement works when executing via a DSN connection but fails when using the DSN-less method. sql statement: UPDATE... -
VPN works on dial-up but fails through LAN
Running Windows XP Pro on my laptop, when I activate VPN to access my coporate server, it works flawlessly if I dial-up directly from the laptop... -
jdeline #2
Re: Update fails on CF 7.0, works on CF 5.0
Problem resolved, sort of. Using the MS Access ODBC, rather than Unicode, works. Now my question is "Why?"
jdeline Guest
-
SafariTECH #3
Re: Update fails on CF 7.0, works on CF 5.0
Is the MS Access db actually created as a Unicode database?
By default, the server will use the default encoding suggested by the OS, which generally is not unicode in the case of Windows.
SafariTECH Guest
-
Mountain Lover #4
Re: Update fails on CF 7.0, works on CF 5.0
reserved words...type is a reserved word. Change the field name or
surround the reserved word in brackets [type]. The unicode driver is
much pickier.
HTH
--
Tim Carley
[url]www.recfusion.com[/url]
[email]info@NOSPAMINGrecfusion.com[/email]
Mountain Lover Guest



Reply With Quote

