Re: Element DSN.USERS is undefined in THIS

2008-04-20 Thread Will Tomlinson
marc, I always init() my cfc's like this: VARIABLES.dsn is always available in any methods for me. I don't know about your specific problem tho. HTH, Will ~| Adobe® ColdFusion® 8 software 8 is the most important

Re: Element DSN.USERS is undefined in THIS

2008-04-20 Thread marc --
Ok, that was the problem! Just before where I do a call to the function in the cfc I did a cfinvoke and called on the resultvar of that operation. The init() method had not been invoked. I did this because Godaddy is not supporting Createobject() so I had to rewrite parts of the app and obviou

Re: Element DSN.USERS is undefined in THIS

2008-04-20 Thread Dominic Watson
> > That says, VARIABLES.dsn.users, not THIS.dsn.users correct? They are two different scopes. The VARIABLES scope is private to the component, the this scope is public. Chances are you want to set everything in the VARIABLES scope rather than the THIS scope. HTH Dominic -- Blog it up: http

Re: Element DSN.USERS is undefined in THIS

2008-04-20 Thread marc --
Oops, sorry for the doubleposting... I thought I'd add the line that produces the actual error: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Fre

Re: Element DSN.USERS is undefined in THIS

2008-04-20 Thread James Holmes
Did you reset the Application scope afterwards? On Sun, Apr 20, 2008 at 7:23 PM, marc -- <[EMAIL PROTECTED]> wrote: > If that was the problem an error would be thrown at the line where > THIS.DSN.USERS is set... Anyway, I tried it and it's not making a difference. > > > ~~

Re: Element DSN.USERS is undefined in THIS

2008-04-20 Thread marc --
If that was the problem an error would be thrown at the line where THIS.DSN.USERS is set... Anyway, I tried it and it's not making a difference. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to

Re: Element DSN.USERS is undefined in THIS

2008-04-20 Thread marc --
If that was the problem an error would be thrown at the line where THIS.DSN.USERS is set... Anyway, I tried it and it's not making a difference. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to

Re: Element DSN.USERS is undefined in THIS

2008-04-20 Thread James Holmes
ook",dsn_irama="irama",maxStringLength=25)> > > This is the method definition: > > > > > > > > > > > > > > When later I call another method

Element DSN.USERS is undefined in THIS

2008-04-20 Thread marc --
Hello, I have this call: This is the method definition: When later I call another method in this cfc and refer to the value of this.dsn.users I get the errormessage: Element DSN.USERS is undefined in