-
Dec 7th, 2020, 07:54 PM
#1
Thread Starter
New Member
Excel Add-In - Not allowing shareable file in Access Database
We have a handful of users that are having issues with the Add-In tool. This tool has been in place for over 10 years and we never had issues until this year. The Excel Add-IN tool pulls multiple scenarios of data within this add in. But one specific part of it access a file YM.accdb, an access database. When trying to do an item search, some users are getting the Data Link Properties Box and anything we enter there does not work. I have done a variety of test, and it looks like it is a shareable issue. So if I have all users out of the YM.accdb database, it will work for the users that have issues….only if there is not a user lock on the YM.accdb. I did check all the appropriate shareable settings in Excel. But I want to note, it works for the 30 other users when there is a lock on the database. Why are there 3 users that have this issue but the other 30 issues can access the file when someone else is querying against the same database? Every week appears I get another user that comes up with the same issue. There are no limitations of users that we exceed on the folder.
-
Dec 7th, 2020, 08:03 PM
#2
Re: Excel Add-In - Not allowing shareable file in Access Database
So, this is a single database file where each user is accessing the same file, and the file is on a mapped drive/network share?
Is there any consistency with the permissions that the various users have on this network share? If you break the users into two groups - the 30 that work when there is a lock - call group A, and the 3 that work only when no one has the DB locked - call group B - to me, it sounds like group A might have read-write permissions to the file, and group B might only have read access. Or possibly vice-versa, but permissions would be the first thing I would check - both the Share permissions and the folder level permissions (note that those are very distinct permissions settings, and most restrictive wins).
Good luck.
-
Dec 7th, 2020, 08:52 PM
#3
Thread Starter
New Member
Re: Excel Add-In - Not allowing shareable file in Access Database
Originally Posted by OptionBase1
So, this is a single database file where each user is accessing the same file, and the file is on a mapped drive/network share?
Is there any consistency with the permissions that the various users have on this network share? If you break the users into two groups - the 30 that work when there is a lock - call group A, and the 3 that work only when no one has the DB locked - call group B - to me, it sounds like group A might have read-write permissions to the file, and group B might only have read access. Or possibly vice-versa, but permissions would be the first thing I would check - both the Share permissions and the folder level permissions (note that those are very distinct permissions settings, and most restrictive wins).
Good luck.
File is on a network share. Both groups A and B have share permissions and folder level permissions. Seems like the issue started when we went to Office 365 and/or one drive. The excel add-in feature allows user to do searches on the microsoft access database, but for the 3 users(group B) they get the "Please enter Microsoft Access Database Engine OLE DB Initialization Information" box. The open Mode on this box shows DB_MODE_READWRITE. Today I just received notification from another user where it worked yesterday for them and then today they get the pop up error.
-
Dec 7th, 2020, 09:11 PM
#4
Re: Excel Add-In - Not allowing shareable file in Access Database
Originally Posted by sjj0133
File is on a network share. Both groups A and B have share permissions and folder level permissions.
Yes, but what level of permissions do they have? Read-Execute only? Read and Write?
What happens if a user in group B tries to create a new text file in the same folder that this database is located? I'm predicting they get an access denied error. What happens if a user in group A tries to create a new text file in the same folder that this database is located? I'm predicting that the file will get created successfully.
If so, then permissions are the root cause of your problem, and I can go into more detail if needed with a very similar issue I encountered a long time ago.
-
Dec 8th, 2020, 02:31 AM
#5
Re: Excel Add-In - Not allowing shareable file in Access Database
Today I just received notification from another user where it worked yesterday for them and then today they get the pop up error.
windows updates?
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Dec 8th, 2020, 08:30 AM
#6
Re: Excel Add-In - Not allowing shareable file in Access Database
I wonder if it's a first-come, first-served kind of thing. First 30 in the door get a free pass...
-tg
-
Dec 8th, 2020, 02:38 PM
#7
Thread Starter
New Member
Re: Excel Add-In - Not allowing shareable file in Access Database
Originally Posted by OptionBase1
Yes, but what level of permissions do they have? Read-Execute only? Read and Write?
What happens if a user in group B tries to create a new text file in the same folder that this database is located? I'm predicting they get an access denied error. What happens if a user in group A tries to create a new text file in the same folder that this database is located? I'm predicting that the file will get created successfully.
If so, then permissions are the root cause of your problem, and I can go into more detail if needed with a very similar issue I encountered a long time ago.
Verified with both users and they can create a .txt file in the folder where the database is. It is very strange issue, and even has our IT department stumped. Would anything have changed with windows 365 and/or windows updates that you are aware of that would cause a share issue?
-
Dec 8th, 2020, 02:40 PM
#8
Thread Starter
New Member
Re: Excel Add-In - Not allowing shareable file in Access Database
Originally Posted by westconn1
windows updates?
I did check with the user and he stated he did have a windows update inbetween the last time he tried to access the database. Do you know how this would affect our database? Anything I can do to correct on my end?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|