Android Question No access

Peekay

Active Member
Licensed User
Longtime User
Why would I all of a sudden get:


B4A Version: 11.20
Parsing code. (0.09s)
Java Version: 8
Building folders structure. Error
Access to the path 'C:\OneDrive\My Apps\IBMSss 2021 PKO\Objects\b4xlibs\Files' is denied.

I have ownership and full access to all my files and folders on Windows 10.

Thanks
PK
 

MikeSW17

Active Member
Licensed User
Others have had this problem with projects on 'cloud' drives. I don't recall seeing any solution found.
Move your project to a local drive and it will work.
 
Upvote 0

Peekay

Active Member
Licensed User
Longtime User
Mike,

It is on my local drive, which is backed up on OneDrive. I have also moved it out to C:\ directly and I get the same error.
I am quite sure it is a Windows problem. No matter how I set the security setting, it keeps my account, users and everyone on Read&Execute.
It appeared suddenly, probably because of some backup program I installed, whose misguided coder thought it allowable to put his fingers into things he is not up to.

PK
 
Upvote 0

mangojack

Well-Known Member
Licensed User
Longtime User
Just adding ... I have all my projects / files stored in a similar fashion , (albeit with Dropbox).
I have never had an issue , but more importantly , I Manually enable / disable syncing when Not using B4X.
 
Upvote 0

Peekay

Active Member
Licensed User
Longtime User
I have stopped synching, uninstall OneDrive, moved the folder, changed security ... nothing works.
 
Upvote 0

Peekay

Active Member
Licensed User
Longtime User
There is no file to look for in this folder. One tip on the internet says that it will give an error if you are searching for a folder and not a file.
How would I know which file it is searching for?
PK
 
Upvote 0

Peekay

Active Member
Licensed User
Longtime User
The error stays the same, but the path changes to the new path when I move the folder.
PK
 
Upvote 0

teddybear

Well-Known Member
Licensed User
Try to create a new project, then move them into the project
 
Upvote 0

Peekay

Active Member
Licensed User
Longtime User
I do not see anything strange in my manifets file:

 
Upvote 0

teddybear

Well-Known Member
Licensed User
The error stays the same, but the path changes to the new path when I move the folder.
PK
Did you use copy instead of move?
 
Upvote 0

Peekay

Active Member
Licensed User
Longtime User
Thank you for everyone who tried to help. I appreciate.
Enrique solved the puzzle for me by just deleting the folder.

PK
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…