[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 217
  • Last Modified:

CF 8 Logging Error 1811

I'm using CF 8 and MS Access for an applicaton.  Occasionally I receive the attached error in one of my applications.  The error only occurs when a one particular user's ID is passed in the URL params.  The url param passed is user=jag336. Any ideas?
ErrorCode-1811 
Message[Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Could not find file 'C:\ColdFusion8\db\slserver54\logging\jag336.mdb'. 
SQLStateHY000

Open in new window

0
bjv211
Asked:
bjv211
  • 3
  • 3
1 Solution
 
gdemariaCommented:
Looks like you're using the variable incorrectly in the code, can you post the code where the error happens
0
 
bjv211Author Commented:
Attached is the line indicated in the error log.  Also, this is the setup for the variables used in that line.

<!--- Set curruser in session --->
<cfset session.curruser = URL.user>

<!---Create CalDate to check --->
<cfset checkforcalendartodaysDate = CreateODBCDate(DateFormat(NOW(),"MM/DD/YYYY"))>

<cfquery datasource="#application.dsn#" name="checkforcalendar">
SELECT * FROM #session.curruser#dates WHERE #session.curruser#date >= #checkforcalendartodaysDate#
</cfquery>

Open in new window

0
 
gdemariaCommented:
Do you have a database table with this name?

  jag336dates
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
bjv211Author Commented:
yes, with 1 col : jag336date
0
 
gdemariaCommented:
hmmm, can you pull the query from the debug output (so you have it exactly as executed) and run it directly in your database?  

This will help test to see if it's associated with the database or how coldfusion is processing it..
0
 
bjv211Author Commented:
Good idea, as soon as I found the query I was able to realize and replicate the error.  The error occurs when users input a period after the url variable.  Now I need to first trim out that period and then track down if any links are mistyped causing the error. Thank you!

SELECT * FROM jag336.dates WHERE jag336.date >= {d '2008-10-11'}

Open in new window

0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now