Greg,
This is expected behavior. Registry settings do not normally take effect
until they are re-loaded by the service using them. Luckily, Allaire wrote
a function that will rescan and reload registry settings without needing to
restart the services. It sounds like the param you are trying to manipulate
works without restarting the services if you hit Apply, so try calling the
following function after you make the change and see if this works:
http://www.allaire.com/handlers/index.cfm?ID=11714&Method=Full
CFUSION_SETTINGS_REFRESH()
Refreshes some ColdFusion settings not requiring a restart
Regards,
Ryan
Ryan Hill, MCSE
Director of Systems Integration
Market Matrix, Inc. - http://www.marketmatrix.com
> -----Original Message-----
> From: Greg Saunders [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 02, 2000 4:57 AM
> To: [EMAIL PROTECTED]
> Subject: programatically changing CF ADMIN settings
>
>
> I'm trying to programatically change CF ADMIN settings. I'd
> like to be
> able to change ANY of the settings, but to take a specific
> example, say I
> want to set the "Site-wide Error Handler" (in 4.5). I can do
> this with:
>
> <cfregistry action="set"
>
> branch="HKEY_LOCAL_MACHINE\SOFTWARE\Allaire\ColdFusion\Current
> Version\Server\"
> entry="ValidationHandler"
> type="String"
> value="c:\wwwroot\myErrorHandler.cfm">
>
> When I do this, it changes the value of the "Site-wide Error
> Handler" in
> "...CFIDE/administrator/index.cfm", but it has no effect on how CF
> processes errors until I either cycle the CF service, or
> until I open the
> administrator page (which already contains the NEW setting)
> and click APPLY.
>
> Is there a more direct way of manipulating admin settings
> programatically?
> If i must do it through the registry, how can I make the changes take
> effect without opening the admin page?
>
> Thanks,
>
> Gregory M. Saunders, Ph.D.
> Senior Design Architect
> Cognitive Arts Corporation (http://www.cognitivearts.com)
> 120 S. Riverside Plaza, Suite 1520
> Chicago, IL 60606
>
> --------------------------------------------------------------
> ----------------
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=list
s/cf_talk or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.
----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.