Solved

CF 8 Logging Error 1811

Posted on 2008-10-12
6
202 Views
Last Modified: 2013-12-24
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
Comment
Question by:bjv211
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 39

Expert Comment

by:gdemaria
ID: 22703336
Looks like you're using the variable incorrectly in the code, can you post the code where the error happens
0
 
LVL 1

Author Comment

by:bjv211
ID: 22703489
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
 
LVL 39

Expert Comment

by:gdemaria
ID: 22703540
Do you have a database table with this name?

  jag336dates
0
Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

 
LVL 1

Author Comment

by:bjv211
ID: 22703554
yes, with 1 col : jag336date
0
 
LVL 39

Accepted Solution

by:
gdemaria earned 500 total points
ID: 22703600
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
 
LVL 1

Author Comment

by:bjv211
ID: 22703699
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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi, I will be creating today a basic tutorial on how we can create a Mail Custom Function and use it where ever we want. The main advantage about creating a custom function is that we can accommodate a range of arguments to pass to the Function and …
Recently while working on a project I got a very annoying cfdocument has no body error message. I had never seen this error before. So I checked the code. The code was pretty simple; it was Just showing me the cfdocumnt tag and inside that tag a …
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question