ms-access


Access (.MDB) deployment issue - Windows 7 - Installation with admin user?


I use microsoft access (.mdb) database for my business software. Recently I have noticed a lot of feedback from users saying that they are unable to open the software after installation.
Basically, I store database in user\appdata\local\myfolder path. Considering the scenario of these users on a windows 7 machine if user tries to install the software (without admin rights) then he has to enter user and password of admin which makes the Inno setup install the database in admin user's local folder instead of logged in user's local data folder.
So after installation, my software cannot locate the database as it is stored in admin user's local data and not the local data folder of logged in user. I use Environment.SpecialFolder.LocalApplicationData to find localappdata folder for current user in c#.
I don't think there is any other folder where I can store database with read/write permission. Program files folder would not be suitable.
What could be the best solution for this?
Thank you in advance.
I distribute Access databases in a similar way, the best place for it is:
C:\User\Username
User's should have write properties on their own folder's, if for any reason they do not then the permissions settings should be revised.
So rather than having one copy on the C: drive, there is a copy saved for each individual user. Even better if user's have a personal shared space which can be accessed from any machine they log on to mapped as a network drive.

Related Links

how to get this code into a access form as text label?
Event not Firing in MS Access VBA
SQL query in Ms-access
Loop through for all shortcuts in a given location and return the target path
access vba execute after inserting new record
MS Access: How to Supply Parameters to a Query-Based Subform Control
Avoid duplication without using Indexed fields and 'no duplication'
how do i build a website using access 2010? [closed]
Is there a NotIn(“A”,“B”) function in VBA?
Access VBA: If Form Value <> NULL then run query else, end if. - not doing anything
ms-access: file already in use ERROR
Data from different records in one record using Access 2003
forcing EDIT of access backend database
How to collect input via a form and pass to report query in Access
sql select - order by but partial part of the field
SQL to ACCESS 2010

Categories

HOME
maven
gitlab
amazon-ec2
single-sign-on
smarty
fme
adb
spring-cloud-stream
rubygems
icloud
fingerprint
opengl-es-2.0
nstableview
etl
quickfix
hapi
pc
angular-ui
apache-metamodel
shared-hosting
lucene.net
chromium-embedded
firebase-crash-reporting
crosstab
android-widget
h2db
tooltipster
jspm
vision
objectanimator
srcset
frame
galsim
google-cloud-endpoints-v2
calibre
typed.js
force-layout
stacked
code-search-engine
hilbert-curve
fedex
import-from-excel
react-scripts
theming
jquery-validate
dandelion
integrity
imanage
objective-c-swift-bridge
deadbolt-2
log4c
bonobo
phishing
actionbardrawertoggle
dlna
tform
browser-link
freedesktop.org
django-unittest
computer-algebra-systems
angular-leaflet-directive
emailrelay
deis
p2
dereference
skos
bridge.net
nstableviewcell
google-style-guide
mysql-error-1062
braille
uv-mapping
cdc
spring-io
buster.js
orchardcms-1.7
type-equivalence
bitsharp
gdata-api
bubble-chart
krl
imac
radcombobox
createwindow
sortable-tables
dmx512
dentrix
bespin
javap
privilege
spec#
defensive-programming

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App