BVE WorldWide
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Access denied after upgrade

5 posters

Go down

Access denied after upgrade Empty Access denied after upgrade

Post by Locomotion Sat Nov 28, 2020 6:43 pm

Has anybody else had this problem on Windows 10?
Have just upgraded to version 1.7.2.1 which runs correctly the first time. But subsequent runs produce two error messages;

"C:\Program Files(x86)\openBVE\UserData\Settings\1.5.0\Controls.cfg" access denied

and

"C:\Program Files(x86)\openBVE\UserData\Settings\1.5.0\options.cfg" access denied

The route then works correctly except that on exit only the first run details can be brought up.

I've messed about with file permissions to try and get it to work properly to no avail, any ideas?

Cheers,

Loco

Locomotion

Posts : 30
Join date : 2015-05-28

MasterVeras13 likes this post

Back to top Go down

Access denied after upgrade Empty Re: Access denied after upgrade

Post by MasterVeras13 Sat Nov 28, 2020 9:24 pm

Gud afternoon!

The same thing happens to me but nothing works. The Addon folder is not being reconigzed, tried many ways to make the routes and trains available in game.

The errors you mentioned (Programs Files) are shown when I close the sim. I got back to 1.5.3.7 version to keep playing wiht no problems.

If something new appears, I will try to download this new version again.

MasterVeras13

Posts : 4
Join date : 2020-11-28

Back to top Go down

Access denied after upgrade Empty Re: Access denied after upgrade

Post by Gothpaladinus Sat Nov 28, 2020 10:02 pm

Haven't you tried opening openBVE with administrative rights? Program Files (x86) is a classic example of a Windows folder which only allows you to write in with administrator permissions ONLY.
Gothpaladinus
Gothpaladinus

Posts : 62
Join date : 2012-05-10
Age : 31
Location : Ăšjpest, Budapest, Hungary

https://gothpaladinus.wixsite.com/gothpaladinusbve

Back to top Go down

Access denied after upgrade Empty Re: Access denied after upgrade

Post by Locomotion Sat Nov 28, 2020 10:42 pm

Thank you! Just tried that and it works. The odd thing is I have not had to do this in previous versions, so something has changed...

Smile

Locomotion

Posts : 30
Join date : 2015-05-28

Gothpaladinus likes this post

Back to top Go down

Access denied after upgrade Empty Re: Access denied after upgrade

Post by leezer3 Sat Nov 28, 2020 10:53 pm

Will take a proper look tomorrow.

Should at least be able to improve it so that it will fallback a little more gracefully if it attempts to store in Program Files & fails.

leezer3

Posts : 1980
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Access denied after upgrade Empty Re: Access denied after upgrade

Post by Phonteus Nevolius Wed Dec 02, 2020 6:14 pm

A workaround until this gets fixed: download the zip package, not the installer and put the contents of the zip in a folder somewhere within your directory. Run OpenBve.exe from that folder.
Phonteus Nevolius
Phonteus Nevolius

Posts : 120
Join date : 2017-10-05
Location : Hungary

https://phonteusnevolius.wordpress.com

Back to top Go down

Access denied after upgrade Empty Re: Access denied after upgrade

Post by leezer3 Sat Dec 05, 2020 5:09 pm

I can't reproduce the problem here (recent Windows update or something maybe?), but will have a newer build out, hopefully next week which has the fallback implemented.

leezer3

Posts : 1980
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Access denied after upgrade Empty Re: Access denied after upgrade

Post by Locomotion Wed Dec 09, 2020 6:08 pm

I've been trying a few experiments. My data files (Routes / Trains etc) are all on a D: drive. If I put the openBVE application on the D: (instead of the default C: ) it all works fine, without the need for administrator rights. Seems a bit odd.

Thanks for the helpful comments.

Locomotion

Posts : 30
Join date : 2015-05-28

Back to top Go down

Access denied after upgrade Empty Re: Access denied after upgrade

Post by leezer3 Thu Dec 10, 2020 6:22 pm

Locomotion wrote:I've been trying a few experiments. My data files (Routes / Trains etc) are all on a D: drive. If I put the openBVE application on the D: (instead of the default C: ) it all works fine, without the need for administrator rights. Seems a bit odd.

Thanks for the helpful comments.

That's what I would expect.

The Windows install drive is 'special' & Windows itself will seek to limit access to it.
What I don't understand / can't reproduce is why it's triggering for you now.

Will try and get the new build out tomorrow if I don't find anything broken. (More internal plumbing work mostly)

leezer3

Posts : 1980
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Access denied after upgrade Empty Re: Access denied after upgrade

Post by leezer3 Fri Dec 11, 2020 9:58 pm

Pushed build 1.7.2.2 just now.

This should solve the issue. If we attempt to store the configuration files in a non-writable directory, it'll now fall back to AppData instead.

leezer3

Posts : 1980
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Gothpaladinus, Phonteus Nevolius and BPI-919 Andris like this post

Back to top Go down

Access denied after upgrade Empty Re: Access denied after upgrade

Post by MasterVeras13 Tue Dec 15, 2020 3:02 pm

Peple, good morning.

I've downloaded the brand new version (1.7.2.2) and it works normally now.

MasterVeras13

Posts : 4
Join date : 2020-11-28

Gothpaladinus, Phonteus Nevolius and BPI-919 Andris like this post

Back to top Go down

Access denied after upgrade Empty Re: Access denied after upgrade

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum