Reseller Hosting, Shared Hosting, Dedicated Hosting by Vortech Inc.

Go Back   Reseller Hosting, Shared Hosting, Dedicated Hosting by Vortech Inc. > >> General Public > Chit Chat Public
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Chit Chat Public Talk about any thing you want! This forum is public.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-06-2004, 02:30 PM
blackout2 blackout2 is offline
Vortech Inc. Customer
 
coldfusion & mssql connection problem

Trying to switch my coldfusion 5 site to the new coldfusion mx server.

For some reason, it kept giving me this error.
Error Executing Database Query.
Data source not found.

I have been using Coldfusion on NT12 for over a year, until they required all
coldfusion site to move to coldfusion mx server. So I know how to create db,
create odbc dsn, and all that. Coldfusion 5 code should work perfectly with
Coldfusion MX code. unless they have a different query method for MX ??

I was unable to connect to the original mssql database I created on NT12,
so I create a new mssql database under the new MX account and still giving me the same error.

This is my sample code i am trying to run.

<cfquery name="links" datasource="mydatasource" username="myusername" password="mypassword">
select id,link
from ref
</cfquery>
<cfoutput query="links">
#id# , #link# <BR>
</cfoutput>

Please let me know if the above code is wrong ?

Last edited by blackout2; 05-06-2004 at 02:35 PM..
Reply With Quote
  #2  
Old 05-06-2004, 09:07 PM
blackout2 blackout2 is offline
Vortech Inc. Customer
 
Smile problem solved.

Thank you Carly! you are my Goddess. Fix my problem in less than 10 minutes from the time i submitted the trouble ticket.
Reply With Quote
  #3  
Old 05-06-2004, 09:11 PM
TNV TNV is offline
Vortech Inc. VP
 
Location: Orlando, FL
Send a message via AIM to TNV
Carly does rock on tickets I have to give her that for sure..
Reply With Quote
Reply

Bookmarks


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MSSQL connection is very slow!! Staaj Chit Chat Public 24 10-27-2003 03:29 PM


All times are GMT -5. The time now is 04:58 AM.


Vortech Inc. ©2009
Page generated in 1.84629 seconds with 15 queries
[Output: 42.77 Kb. compressed to 40.14 Kb. by saving 2.63 Kb. (6.15%)]