Error Occurred While Processing Request
Error Occurred While Processing Request

Error Executing Database Query.

[Macromedia][SQLServer JDBC Driver][SQLServer]Line 1: Incorrect syntax near '='.
 
The error occurred in D:\Inetpub\wwwroot\ehe\display\ehe-menu.cfm: line 14
Called from D:\Inetpub\wwwroot\ehe\display\ehe-menu.cfm: line 1
Called from D:\Inetpub\wwwroot\ehe\display\ehe-menu.cfm: line 14
Called from D:\Inetpub\wwwroot\ehe\display\ehe-menu.cfm: line 1
12 : </cfoutput>
13 : <cfoutput>
14 : <cfquery name="sectname1" datasource="#odbcd#">select sectid,sectname from #variables.prefix#sect where sectid = #sectid#</cfquery>
15 : <cfset sectid = "#sectname1.sectid#">
16 : <html><head><title>#sectname1.sectname#</title>

SQL   select sectid,sectname from EHE_sect where sectid = 4&catid=6
DATASOURCE   dsehen
VENDORERRORCODE   170
SQLSTATE   HY000
Please try the following:

Browser   Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)
Remote Address   65.69.106.62
Referrer   http://www.ehe.org/display/look.cfm?SECTID=4&CATID=6
Date/Time   07-Dec-06 10:08 AM
Stack Trace
at cfehe2dmenu2ecfm449601863._factor6(D:\Inetpub\wwwroot\ehe\display\ehe-menu.cfm:14) at cfehe2dmenu2ecfm449601863.runPage(D:\Inetpub\wwwroot\ehe\display\ehe-menu.cfm:1) at cfehe2dmenu2ecfm449601863._factor6(D:\Inetpub\wwwroot\ehe\display\ehe-menu.cfm:14) at cfehe2dmenu2ecfm449601863.runPage(D:\Inetpub\wwwroot\ehe\display\ehe-menu.cfm:1)

java.sql.SQLException: [Macromedia][SQLServer JDBC Driver][SQLServer]Line 1: Incorrect syntax near '='.
	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:974)
	at coldfusion.sql.Executive.executeQuery(Executive.java:886)
	at coldfusion.sql.SqlImpl.execute(SqlImpl.java:236)
	at coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:447)
	at cfehe2dmenu2ecfm449601863._factor6(D:\Inetpub\wwwroot\ehe\display\ehe-menu.cfm:14)
	at cfehe2dmenu2ecfm449601863.runPage(D:\Inetpub\wwwroot\ehe\display\ehe-menu.cfm:1)
	at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147)
	at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:357)
	at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:62)
	at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:107)
	at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
	at coldfusion.filter.PathFilter.invoke(PathFilter.java:80)
	at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:47)
	at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
	at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
	at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:35)
	at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:43)
	at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
	at coldfusion.CfmServlet.service(CfmServlet.java:105)
	at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
	at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
	at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:249)
	at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
	at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:192)
	at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)
	at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
	at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)
	at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)