May 6, 2019
Coldfusion error on a page
Comments
(1)
May 6, 2019
Coldfusion error on a page
Newbie 2 posts
Followers: 0 people
(1)

Hello,

I am using ColdFusion 2018. I have successfully tested the application on a test server and everything works fine bujt when I move this to a new Windows 2016 server, I get an error as shown below.  Can someone please advice how to fix this error ?

Thanks

IQ

Error Executing Database Query.

ORA-00936: missing expression ORA-06512: at “DBO.REPORT_PKG”, line 490 ORA-06512: at “DBO.REPORT_PKG”, line 48 ORA-06512: at “DBO.MULTI_REPORT_PKG”, line 31 ORA-06512: at line 1
The error occurred in C:/inetpub/wwwroot/eOPS/MultiSectionReportsResults.cfm: line 69
67 : 
68 : <cfquery name="PrepareMultiReportData" datasource="#datasource#" username="#Session.UserName#" password="#Session.password#">
69 :     BEGIN dbo.multi_report_pkg.run_multi_report(#Session.multi_rep_id#, '#Session.UserName#', #multi_report_def_id#, TO_DATE('#DateFormat(datefrom, "dd-mm-yyyy")# #TimeFormat(datefrom, "HH:mm:ss")#', 'DD-MM-YYYY HH24:MI:SS'), TO_DATE('#DateFormat(dateto, "dd-mm-yyyy")# #TimeFormat(dateto, "HH:mm:ss")#', 'DD-MM-YYYY HH24:MI:SS'), #period#); END;
70 : </cfquery>
71 : 

SQLSTATE   42000
DATASOURCE   eops
VENDORERRORCODE   936
SQL    BEGIN dbo.multi_report_pkg.run_multi_report(12382, ‘fquresh2′, 10, TO_DATE(’06-05-2019 00:00:00’, ‘DD-MM-YYYY HH24:MI:SS’), TO_DATE(’06-05-2019 23:59:00′, ‘DD-MM-YYYY HH24:MI:SS’), 2); END;
Resources:

Browser Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
Remote Address ::1
Referrer http://localhost/TOPS/Reports.cfm
Date/Time 06-May-19 10:35 AM
Stack Trace
at cfMultiSectionReportsResults2ecfm2027920610.runPage(C:/inetpub/wwwroot/TOPS/MultiSectionReportsResults.cfm:69) at cfMultiSectionReportsResults2ecfm2027920610.runPage(C:/inetpub/wwwroot/TOPS/MultiSectionReportsResults.cfm:69)

java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
ORA-06512: at "DBO.REPORT_PKG", line 490
ORA-06512: at "DBO.REPORT_PKG", line 48
ORA-06512: at "DBO.MULTI_REPORT_PKG", line 31
1 Comment
2019-05-07 00:22:06
2019-05-07 00:22:06

This question was somehow repeated 3 times. Can responders please keep replies directed at just one of them:

https://coldfusion.adobe.com/discussion/2616736/

And I hope the poster, iq1, will delete all but that one to avoid further confusion.

Like
Add Comment