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 391,867 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 3,498 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: 3614 | Replies: 3
Reply
Join Date: Aug 2005
Posts: 6
Reputation: sam1981 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
sam1981 sam1981 is offline Offline
Newbie Poster

code error

  #1  
Aug 11th, 2005
I have recently developed a web based database application using microsoft access and dreamweaver. I have used coldfusion to link the database to the html webpage. The website runs successfully at my clients address. However, after transferring all the files to my university web space I receive the following error:

The tag does not have an attribute called connectstring. The valid attribute(s) are name, datasource, dbtype, sql, username, password, maxrows, blockfactor, timeout, cachedafter, cachedwithin, debug.

ColdFusion cannot determine the line of the template that caused this error. This is often caused by an error in the exception handling subsystem.



I dont understand why this could be as i have been given all the rights, etc to publish the site on the university server. Can anybody help????

sam.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jun 2003
Location: Malaysia
Posts: 313
Reputation: red_evolve is on a distinguished road 
Rep Power: 6
Solved Threads: 0
red_evolve's Avatar
red_evolve red_evolve is offline Offline
Posting Whiz

Re: code error

  #2  
Aug 11th, 2005
I'm not sure as I'm still a newbie with CF.
One suggestion: does it have to do with the different version of CF ?
"Study the past if you would define the future" - Confucius
Reply With Quote  
Join Date: Aug 2005
Posts: 6
Reputation: sam1981 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
sam1981 sam1981 is offline Offline
Newbie Poster

Re: code error

  #3  
Aug 12th, 2005
Thank you red_evolve. You're right.

Apparantly its because my clients address is running CF5 or below and i need to set up a datasource in the cfadmin and use the datasource attribute instead of the connectstring attribute.

Does anybody know how to do this coz i'm pretty new to Coldfusion.

sam.x.
Reply With Quote  
Join Date: Apr 2006
Posts: 27
Reputation: anuradhu is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
anuradhu anuradhu is offline Offline
Light Poster

Re: code error

  #4  
Apr 18th, 2006
yes you can do it by logging into the coldfusion administrator...
go to the link which speaks about the datasources....and add the datasource and the type of the database you are trying to use and use this datasource name in your code....

hope this helps....
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:48 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC