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

Turn Access to Application
Powerpivot + Access + SSAS Cube
How to make the input dates which user type in the prompt show in report ? MS Access 2013
Access 2016 create table with field properties for combobox
MS Access Date Grouping is not working in report
Access query to find who didn't test over a range of dates
Error 6 Overflow using Access 2.0 and Access Basic
Runntime error 2115
Is there a way to protect a field so that only certain users can edit?
Format Text Field To Date In Access Query
Changing date format in access table
Sum daily totals plus grand total from multiple tables in MSSQL
Access ComboBox to TextBox
Pulling text from another text field in MS-access
Null indexed values in Access ComboBox
Access DoCmd.TransferText Specification Argument Location

Categories

HOME
winforms
wso2-am
image
oracle11g
include
android-4.4-kitkat
elm
paw-app
packages
ebean
opengl-es-2.0
azure-storage-tables
elasticsearch-hadoop
facebook-php-sdk
izpack
imacros
visual-studio-2005
serilog
database-replication
evopdf
flux
code-review
scichart
nodatime
grails3
errorlevel
functional-testing
dxf
rundeck
numerical-methods
javacv
windows-error-reporting
maxmind
media-queries
functor
semantic-versioning
catel
typed.js
lxd
android-kernel
normal-distribution
mmenu
wpf-controls
simplexml
multilingual
libvpx
unobtrusive-validation
cookiecutter-django
ibpy
nand2tetris
qcombobox
galleria
auto-update
google-datalayer
jsch
fault
youcompleteme
revapi
jedis
python-c-api
clean-architecture
dandelion
imanage
titanium-android
savon
hover-over
bgp
fadeout
captivenetwork
livequery
goose
system.management
pervasive-sql
rtbkit
teamcity-8.0
t4mvc
comobject
ruby-2.2
map-projections
mono-embedding
oberon
lustre
javafx-webengine
applescript-objc
terminfo
google-reader
contenttype
system.net.webexception
prettify
hungarian-algorithm
jquery-mobile-dialog
interface-orientation
pygit2
lcs
tinn-r
sublist
libstdc++
cisco-jtapi
propertyeditor
reddot
buildr
assembly-loading
bigcouch
mod-auth
coercion
psi
tomcat-valve
appender
android-sdk-2.1
gin
modelstate
perfect-hash
ncqrs
anti-piracy
w3wp
data-acquisition

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