Hi, i have no idea what's wrong: ok, i'm trying to create a new data source in coldfusion 6, i put all info right and when i click submit, this message appears:
Error editing/creating this dsn (test)
The value "test" cannot be converted to a number
test is the CF Data Source Name.
can u help me?, thanks in advance
Error editing/creating this dsn
Page 1 of 111 Replies - 1255 Views - Last Post: 08 August 2011 - 02:07 PM
Replies To: Error editing/creating this dsn
#2
Re: Error editing/creating this dsn
Posted 08 August 2011 - 01:10 PM
Try setting it up again by putting all the info into the appropriate fields and then screenshotting what you have before you submit and get the error.
Let's see what you're putting in there that could be causing the issue.
Let's see what you're putting in there that could be causing the issue.
#3
Re: Error editing/creating this dsn
Posted 08 August 2011 - 01:22 PM
sure:
this is I put on the fields:
this is I put on the fields:
#4
Re: Error editing/creating this dsn
Posted 08 August 2011 - 01:26 PM
Hm. At a quick glance, that looks okay.
If you use a name other than "test" do you get the same issue?
If you use a name other than "test" do you get the same issue?
#5
Re: Error editing/creating this dsn
Posted 08 August 2011 - 01:32 PM
yeah,if i use letters that happens, if a put number error is:
Error editing/creating this dsn (test)
The element at position 0 cannot be found.
it's crazy
Error editing/creating this dsn (test)
The element at position 0 cannot be found.
it's crazy
#6
Re: Error editing/creating this dsn
Posted 08 August 2011 - 01:36 PM
Do you have other datasources already created?
#7
Re: Error editing/creating this dsn
Posted 08 August 2011 - 01:40 PM
aha, and they work ok, they were created sometie ago,
#8
Re: Error editing/creating this dsn
Posted 08 August 2011 - 01:42 PM
If they can be verified try changing the server and database name (but not the datasource name) to what you're trying to set up and see if the connection works.
Just offhand...how many previous datasources are there?
Just offhand...how many previous datasources are there?
#9
Re: Error editing/creating this dsn
Posted 08 August 2011 - 01:42 PM
can I directly access the data base using the <cfquery, I mean without a datasource in the cf admin?
#10
Re: Error editing/creating this dsn
Posted 08 August 2011 - 01:46 PM
In 6.1? I'm not sure. I know one of the older versions introduced a bunch of CFQUERY tag attributes to let you connect to a data source on the fly (connectString, dbName, dbServer, provider, providerDSN, etc) but those have been deprecated for some time now. I wanna say those were for CF5 and just a quickly they were removed.
I don't know why and I never used them.
I don't know why and I never used them.
#11
Re: Error editing/creating this dsn
Posted 08 August 2011 - 01:47 PM
hahah thanks!!!i used a data source already created, good idea, i guess this coldfusion 6 it's old =/
thanks Craig328 u always help me =).
thanks Craig328 u always help me =).
#12
Re: Error editing/creating this dsn
Posted 08 August 2011 - 02:07 PM
CF6 is indeed dated. I don't know your situation but CF9 is pretty nice and if price is an issue, there's always OpenBD and Railo (both free).
Glad you figured a work around though.
Glad you figured a work around though.
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote




|