On 5/27/2024 10:04 AM, Charlie wrote: > I was wrong below. It isn't a coding problem it is windows for some reason has the entire database folder in c:\programdata as read only. Glad this is the problem but can I prevent this from happening in yje iss script? I doubt users will know how to drop the read only as I haven't figured that iyt yet! >
Compare against your working ISS scripts. That's about all I can
suggest. It is very likely that the actual data should be in a different
folder. When I deploy an application, the data ends up in the
C:\Users\username\AppData\...
folder structure. That should be completely safe and not set as read-only.