Raid week summary errors

Moderators: Officers, Commanders

User avatar
Danifae
Posts: 565
Joined: Wed Sep 19, 2007 12:04 am
Location: D'Edmonton (c wut i did thar)?

Raid week summary errors

Postby Danifae » Thu Jun 05, 2008 7:35 pm

The following information is meant for the website developer for debugging purposes.
Error Occurred While Processing Request
Error Executing Database Query.
[Macromedia][SQLServer JDBC Driver][SQLServer]The round function requires 2 to 3 arguments.

The error occurred in F:\azergarde.ca\dkp\weeklysummary.cfm: line 20

18 : from custom_transactions
19 : where Time >= #CreateODBCDateTime(Start)# and
20 : Time <= #CreateODBCDateTime(End)# and
21 : RaidID <> 0 and
22 : DE = "No"

SQL select Sum(Round(DKP*Multiplier)) as SumDKP from custom_transactions where Time >= {ts '2008-05-27 00:00:00'} and Time <= {ts '2008-06-03 00:00:00'} and RaidID <> 0 and DE = "No"
DATASOURCE azergarde
VENDORERRORCODE 189
SQLSTATE HY000
Resources:

* Check the ColdFusion documentation to verify that you are using the correct syntax.
* Search the Knowledge Base to find a solution to your problem.

Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Remote Address 198.166.19.236
Referrer dkp/raidweeks.cfm
Date/Time 05-Jun-08 07:34 PM
Stack Trace
at cfweeklysummary2ecfm282643325.runPage(F:\azergarde.ca\dkp\weeklysummary.cfm:20) at cfweeklysummary2ecfm282643325.runPage(F:\azergarde.ca\dkp\weeklysummary.cfm:20)

java.sql.SQLException: [Macromedia][SQLServer JDBC Driver][SQLServer]The round function requires 2 to 3 arguments.
at macromedia.jdbc.base.BaseExceptions.createException(Unknown Source)
at macromedia.jdbc.base.BaseExceptions.getException(Unknown Source)
at macromedia.jdbc.sqlserver.tds.TDSRequest.processErrorToken(Unknown Source)
at macromedia.jdbc.sqlserver.tds.TDSRequest.processReplyToken(Unknown Source)
at macromedia.jdbc.sqlserver.tds.TDSRequest.processReply(Unknown Source)
at macromedia.jdbc.sqlserver.SQLServerImplStatement.getNextResultType(Unknown Source)
at macromedia.jdbc.base.BaseStatement.commonTransitionToState(Unknown Source)
at macromedia.jdbc.base.BaseStatement.postImplExecute(Unknown Source)
at macromedia.jdbc.base.BaseStatement.commonExecute(Unknown Source)
at macromedia.jdbc.base.BaseStatement.executeInternal(Unknown Source)
at macromedia.jdbc.base.BaseStatement.execute(Unknown Source)
at coldfusion.server.j2ee.sql.JRunStatement.execute(JRunStatement.java:212)
at coldfusion.sql.Executive.executeQuery(Executive.java:753)
at coldfusion.sql.Executive.executeQuery(Executive.java:675)
at coldfusion.sql.Executive.executeQuery(Executive.java:636)
at coldfusion.sql.SqlImpl.execute(SqlImpl.java:236)
at coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:500)
at cfweeklysummary2ecfm282643325.runPage(F:\azergarde.ca\dkp\weeklysummary.cfm:20)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349)
at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225)
at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115)
at coldfusion.CfmServlet.service(CfmServlet.java:107)
at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)
at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318)
at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426)
at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264)
at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
Elves: Everything you can do, they can do better

Image
User avatar
Ulwar
Guild Master
Posts: 2307
Joined: Sat Dec 09, 2006 4:53 pm
Location: Aurora, Ontario
Contact:

Re: Raid week summary errors

Postby Ulwar » Thu Jun 05, 2008 9:32 pm

Fixed.
I'm a maverick, so my answers may not bear any relationship to your questions.
Please let me know if anything I say offends you. I may wish to offend you again in the future.

Ulwar - Officer of Azergarde
Pig Latin ... the language of bacon.

Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 2 guests