Solved

CF 8 Logging Error 1811

Posted on 2008-10-12
6
195 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
  • 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
dynamic form fields and inserting into database 3 46
WEB Farm 6 74
Why is my Splunk Web URL not working? 2 73
WebSite Direction 1 54
Hi, Even though I have created this Tutorial on My personal Blog, Some people might not able to find my website, So here i am posting it again Today, from the topic it is very clear that i will be showing you here the very basic usage of how we …
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

860 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