If this software requires a registration, like entering serial number or 
activation code, most likely, it uses Windows registry to remember it.  When it 
starts up, it looks for this entry in registry, possibly in the profile of the 
current user.  When you run the program from CF under SYSTEM account, that 
profile is not available.  Therefore, your program exits, because it thinks it 
is not registered.

Some ideas.

(1)
In CF Service options (Control Panel -> Services->Properties) check box "Allow 
service to interact with desktop". Restart CF service.  Now, if you are on the 
server machine, you will be able to see that error message box that bips.

(2)
Run CF under account that you used to register the program.  Will work, but not 
recommended.

(3)
It might be possible to re-register it under SYSTEM.  For this, use (1) and 
CFEXECUTE the program in interactive mode (with GUI), while on the server 
computer.  Enter the registration number, as needed.  Try if it works.  If it 
does, you can now uncheck the "Interact with desktop" checkbox.  It will work 
in a normal way now.




> I think I might have narrowed the cause down to the account 
> permissions. When I ran cmd.exe as the Local System account and tried 
> to execute my command line arguments, I was actually able to see what 
> the error dialog mentioned. The third party application doesn't think 
> it's registered.
> 
> So, I'm thinking this isn't a CF problem at all, but one with the 
> Windows account permissions. 
> 
> Still don't know how to solve it, but that's what it looks like to me.
> 
> 
> Cheers,
> Mike 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345727
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to