Error upgrading: Could not set file security error 5

Questions about MultiCharts and user contributed studies.
jek
Posts: 181
Joined: 24 Dec 2006
Has thanked: 1 time
Been thanked: 2 times

Error upgrading: Could not set file security error 5

Postby jek » 28 Apr 2012

I was upgrading a backup machine to MC version 7.4.4953.0 and got the error message:

'Could not set the file security for c:\.....\Databases' Error: 5. Verify that you have sufficient privileges to modify the security permissions for this file.

My user has administrative privileges so this is surprising.

I've tried all sorts of setting of permissions to allow it but no joy.

Can you just give me a recipe for forcing the permissions to allow this?

Thank you.

sptrader
Posts: 742
Joined: 09 Apr 2010
Location: Texas
Has thanked: 483 times
Been thanked: 274 times
Contact:

Re: Error upgrading: Could not set file security error 5

Postby sptrader » 28 Apr 2012

Possibly your antivirus or firewall is blocking installation. Try turning them off and try again..

jek
Posts: 181
Joined: 24 Dec 2006
Has thanked: 1 time
Been thanked: 2 times

Re: Error upgrading: Could not set file security error 5

Postby jek » 28 Apr 2012

Thank you for the suggestion.

This is a virtual machine that is bare bones and has no anti-virus installed.

It is Windows XP Professional with as little installed to support MC as possible.

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: Error upgrading: Could not set file security error 5

Postby Henry MultiСharts » 30 Apr 2012

Hello Jek,

Please restart your computer and make sure no applications are using the databases folder.

If you are still unable to install the update please go to the following folder:
%allusersprofile%\TS %allusersprofile%\Application Data\TS Support
Paste this line in Start --> Run and in the window that will pop make a right click on the MultiCharts folder. Go to Properties->Security->Advanced->Owner->Make your user account the current owner and check "replace owner on subcontainers and owners"->Click Apply.

Make sure your user account has full control on the Security tab.
Please try to install the new version now.


Return to “MultiCharts”