Critz,
You need a lock type on your cflock, but other than that I can't see
anything...
Ahhhh... Unless the settings for locking are different between the two
servers. The lock settings being stricter on the second server.
Stephen
----- Original Message -----
From: "Critz" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, July 10, 2003 2:44 PM
Subject: Setting of application variable error...
> oi CF-Talk,!!
>
> This code seems to work fine when it was on another server, now it
throws errors:
>
> code:
> <cflock name="#createUUID()#" throwontimeout="Yes" timeout="20">
> <cfif not isDefined("application.getSuffix")>
> <cfquery name="getSuffix" datasource="#request.dsn#">
> SELECT DISTINCT STREET_SUFFIX FROM
assessor_#safeCountyName# where STREET_SUFFIX <> '' order by STREET_SUFFIX
> </cfquery>
> <cfset application.getSuffix =
duplicate(getSuffix)>
> </cfif>
> <cfabort>
>
> .................
>
> Error:
>
> application.getSuffix = duplicate(getSuffix)
>
>
>
> Error near line 15, column 10.
> --------------------------------------------------------------------------
------
>
> Cannot assign result to symbol application.getSuffix
>
>
> any ideas?
>
> Crit
>
>
> ---
> [This E-mail scanned for viruses by Declude Virus]
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at
http://www.coolfusion.com
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4