473,568 Members | 2,923 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Coldfusion Can't Find Table

2 New Member
I have been charged of creating a coldfusion web site for our company.
Our database has a ms sql 2005 backend and ms access frontend. Almost all tables are linked tables with the SQL database, except the temp tables needed at runtime that are in the ms access database.
It will be easier for us to utilize the ms access queries and temp tables, so I set up a datasource on our web server and within the coldfusion administrator to point to the ms access database witht he ms access .mdb driver.
The datasource comes as OK in the coldfusion datasource page.
When I try to run a query from my coldfusion page, the requested table can't be found, although it is there.
The original name of the table is dbo.myTable, but we renamed all the tables in access to remove the "dbo." part, so it shows up as "myTable" only: error message:

"Error Executing Database Query.
[Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine cannot find the input table or query 'Calmweb_Custom er'. Make sure it exists and that its name is spelled correctly.

The error occurred in D:\websites\www \Calmweb\forceU serLogin.cfm: line 26
Called from D:\websites\www \Calmweb\Applic ation.cfc: line 18
Called from D:\websites\www \Calmweb\forceU serLogin.cfm: line 26
Called from D:\websites\www \Calmweb\Applic ation.cfc: line 18

24 : FROM Calmweb_Custome r
25 : WHERE Username = '#FORM.userLogi n#'
26 : AND Password = '#FORM.userPass word#'
27 : </cfquery>
28 :"

The table Calmweb_Custome r actually exists and has records.

I tried to put in my query the full dbo.myTable, but coldfusion comes up with the error it can't find the table "dbo"... here is the error message:

"Error Executing Database Query.
[Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Could not find file 'C:\CFusionMX7\ db\slserver54\l ogging\dbo.mdb' .

The error occurred in D:\websites\www \Calmweb\forceU serLogin.cfm: line 26
Called from D:\websites\www \Calmweb\Applic ation.cfc: line 18
Called from D:\websites\www \Calmweb\forceU serLogin.cfm: line 26
Called from D:\websites\www \Calmweb\Applic ation.cfc: line 18

24 : FROM dbo.Calmweb_Cus tomer
25 : WHERE Username = '#FORM.userLogi n#'
26 : AND Password = '#FORM.userPass word#'
27 : </cfquery>
28 :"

If anyone has any idea, that would be great.
Thanks a lot.
Jul 23 '07 #1
1 4267
ConanTheVegetarian
24 New Member
Could be a permissons issue. Check the datasource has correct read permissions on the table.

(BTW, I'm assuming the lack of <cfqueryparam > tags around the variables in the query is just for sake of brevity).
Jul 30 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

60
10021
by: English Teacher | last post by:
Which would be more useful to learn, PHP or COLDFUSION? I know Coldfusion is popular in the work force. Is PHP? Thanks!
16
2575
by: worzel | last post by:
is python more popular than coldfusion? I realsie that is a very general question as one thing does not directly relate to the other. My issue is that I am ditching coldfusion due to there being next to no work for it, and I am thinking of taking on python as a second language to java in the hope of improving my resume.
2
1238
by: Peter Mount | last post by:
Hi I guess this has been asked before. How does ASP.NET compare to ColdFusion MX? I've been playing with ColdFusion MX for a while now but I've been told it's really hard to find work in ColdFusion here in Melbourne, Australia. I've studied Classic ASP so I thought it was natural to try ASP.NET. I've done a web site in PHP but it somehow...
4
2733
by: William Fields | last post by:
Hello, I'm trying to find out more information about ColdFusion and could not find what I'm looking for on Macromedia's website. My question has more to do with what ColdFusion is and how web services are supported. Specifically, I'd like to know: Is Coldfusion nothing more than an IIS extension like ASP.NET? Can Coldfusion and ASP.NET...
4
4058
by: dusiapapa | last post by:
Hello, all! I'm faced with next problem. I have ASP.NET page which takes url-parameters from ColdFusion site. These parameters are encrypted with ColdFusion Encrypt function and I can not decrypt them correctly. I tried to translate several code examples (in java and C++) I had found on the Internet into C# but they don't work properly.
0
18684
acoder
by: acoder | last post by:
This page will link to a number of tutorials. Coldfusion Language Coldfusion Variables Using Coldfusion Variables Coldfusion Image Gallery How to upload a file in Coldfusion Watch this space...
7
8216
acoder
by: acoder | last post by:
This page will link to a number of tutorials. Coldfusion Language Coldfusion Variables Using Coldfusion Variables Coldfusion Image Gallery How to upload a file in Coldfusion How to send mail using Coldfusion Coldfusion Tips and Tricks
2
4069
by: quest007 | last post by:
Hi! I have configured IIS for coldfusion and when I access my coldfusion site through localhost, the pages are served as required. But if i ty to access it from a remote machine by specifying the IP address in the url, it displays an error: The web site you are accessing has experienced an unexpected error. File not found:...
1
2486
by: Tjwapa | last post by:
How do i convert a column with id letters in a file to a number 1 or 0 in coldfusion output....for example 'CON' or 'BUS' to be converted to an output of '0'and '1' (0 to represent CON and 1 for BUS) The script is shown below the 'CustomerTypeID' column needs code that converts it from an "id" of ‘CON' or ‘BUS' to a "CustomerTypeId" of ‘0'...
0
7693
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7917
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8118
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7962
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6277
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5217
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3651
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2105
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.