![]() |
|
|||||||
| Chit Chat Public Talk about any thing you want! This forum is public. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||||||||||
|
|||||||||||
|
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 03:35 PM. |
|
#2
|
|||||||||||
|
|||||||||||
|
Thank you Carly! you are my Goddess. Fix my problem in less than 10 minutes from the time i submitted the trouble ticket.
|
|
#3
|
||||
|
||||
|
Carly does rock on tickets I have to give her that for sure..
![]()
__________________
Brad Pugh http://www.vortechhosting.com ------ Local System/Network Monitor http://nagios.hsphere.cc/ Login:guest Pass:guest XML FEED http://nagios.hsphere.cc/feed.xml ------ My Other Life:
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MSSQL connection is very slow!! | Staaj | Chit Chat Public | 24 | 10-27-2003 04:29 PM |