Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Datasource error

Status
Not open for further replies.

twiSSt

Programmer
Mar 25, 2004
282
US
I looked around for this erro in the forum and found something similar but the solution will not work for me.

The error i am recieving is;
Operation failed on the data source named "WTGI"

It goes on to refer to a page called Application.cfm. The page that i am getting this error from does not refer to an Application.cfm.
It is also showing
C:\Inetpub\ line 5

3 : CLIENTMANAGEMENT="Yes"
4 : SESSIONMANAGEMENT="Yes"
5 : applicationtimeout="#CreateTimeSpan(0,10,0,0)#"
6 : sessiontimeout="#CreateTimeSpan(0,10,0,0)#">

which of course is code that is not resident on the page that i am trying to get to.

Oh yeah I'm running CFMX 6.1 and my database is Mysql and I am using thier MyODBC driver.

It only appears to be affecting certain applications on the server, but none of them are using the Data Source of "WTGI".

Twist

===========================================
Everything will be OK in the end.
If it's not OK, then it's not the end
 
before we get to your problem you need to know how the application.cfm file works.

application.cfm is called on every request automatically. you don't have to manually include it.



We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true.
 
At a guess I would say that your client variables are set to store to a datasource called WTGI. Go into the CFAdmin and click the "Client Variables" link, in this section switch it to cookie and then try to reload the page and see if the error still exists.

Hope this helps

Wullie

Fresh Look - Quality Coldfusion/Windows Hosting

The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell
 
Thanks Wullie, that did the trick. That and the fact that I am armed with a full understanding of how the application.cfm pages works has made my day much better.

Twist

===========================================
Everything will be OK in the end.
If it's not OK, then it's not the end
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top