ValueList function error after migrating CF8 to CF10


hi all,

we migrating our reports cf8 cf10. (uninstalled existing cf8 , installed cf10) in 32bit os.

 

after upgradation of cf10, tried open our report, got below error.

----------------------error --------------------------

 

the valuelist() function has invalid parameter: ds_odbc_list.entry.parameter 1 of function valuelist ds_odbc_list.entry must pointing valid query name.

------------------error-----------------------

-------------original code -----------------------------------

<cfregistry

    action=getall

    name="ds_odbc_list"

    type="any"

    branch="hkey_local_machine\software\odbc\odbc.ini">

<cfset dsnnames = valuelist(ds_odbc_list.entry)>

-----------------------------original code--------------------------

 

then tried dump / print ds_odbc_list using cfoutput/cfdump got error like:

 

variable ds_odbc_list undefined

 

in cf administrator tag cfregistry in enabled tags list.

 

 

can 1 suggest me alternate tag / patch can use solve issue ?

 

thanks in advance!!!

at guess may choking on underscores in query name.  try referencing like:

<cfset dsnnames = valuelist(variables["ds_odbc_list"].entry)>



More discussions in ColdFusion


adobe

Comments

Popular posts from this blog

Internal Server Errors - Joomla! Forum - community, help and support

CS6でファイルが開けません

Scrollability in divs or text boxes