User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ColdFusion section within the Web Development category of DaniWeb, a massive community of 397,803 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,489 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ColdFusion advertiser:
Views: 4093 | Replies: 1 | Solved
Reply
Join Date: Oct 2006
Posts: 14
Reputation: taya74 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
taya74 taya74 is offline Offline
Newbie Poster

Help Error Executing Database Query on server

  #1  
Oct 26th, 2006
I have created a simple online form using Access with ColdFusion using Dreamweaver. It works perfectly while my testing server is on my computer but when I upload it to the server it comes up with error message:

'Error Executing Database Query.

[Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] 'C:\Inetpub\wwwroot\function\function.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides. The error occurred in C:\Inetpub\vhosts\functionroomsperth.com.au\httpdocs\test1.cfm: line 70
68 : <cfelse>69 : NULL70 : </cfif>71 : )72 : </cfquery>
I presume it is happening because the path to the database is wrong as it is still trying to look at the database on my computer and not the server?? I didn't know where to change the path and what the path would be called. I tried to change the path in the ColdFusion Administraor under the Datascource - Database file but it kept coming up with error message so I don't know if I type it in correctly?

I emailed my ISP for help and they said they created CF datasource for me but I still got the error message.

Also I am just saving my ColdFusion files just under the root directory on the server, do they need to be in a special folder ie cgi-bin?

Thanks
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2006
Posts: 14
Reputation: taya74 is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
taya74 taya74 is offline Offline
Newbie Poster

Re: Error Executing Database Query on server

  #2  
Oct 28th, 2006
I have manage to figure the problem out myself, I had the wrong address, it should have been

[INSERT INTO C:\Inetpub\vhosts\mywebaddress\mydatabase etc] instead of [INSERT INTO C:\Inetpub\wwwroot\myfolder\mydatabase]
Last edited by taya74 : Oct 28th, 2006 at 12:47 am.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb ColdFusion Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the ColdFusion Forum

All times are GMT -4. The time now is 6:15 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC