[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

CF 8 Logging Error 1811

Posted on 2008-10-12
6
Medium Priority
?
214 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
Survive A High-Traffic Event with Percona

Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.

 
LVL 1

Author Comment

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

Accepted Solution

by:
gdemaria earned 2000 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

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.

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 …
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.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

656 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