I got a following error "Access to the database file is not allowed. [ File name = C:\\Program Files\\Default Company Name\\somedbfile.sdf ]" while trying to log on after installing it in windows 7. It worked if i manually remove read only property of sdf file but it is not a good for client. Could we do this pragmatically. Any help would be appreciable.
Thanks in advance. Tarun
the folders 'Program Files' or 'Program Files (x86)' are read only for the common users. if database file is in this folder , - change permission of this file to full control . or - change path of database file
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.