|
|
Hi there! The error message you have provided pointed to the DB file being read-only. But since you are saying this is not the case, it probably is permissions issue. Assuming your application is hosted by UWS host running "Network Service" user context, could you please try granting "Network Service" user access rights to the folder with the database? You could also move the application from being hosted under Network Service user to Local System user and see if that helps. Best regards, UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
|
|
|
thanks for your reply. my DB is not read-only, even when i install my application in another directory (for example "D:\") i haven't any problem with DB, but in "C:\program file", we have this error !
|
|
|
Hi there! Have you had a chance to check whether the database file truly has "Read-Only" attribute set? If so, please make sure that the database file is not read-only when it gets packaged in the installer, and/or read-only attribute gets cleared from the file after installation. If you are using Visual Studio Setup & Deployment project for creating installation package, file properties contains ReadOnly property, which can be changed to ensure the file is not read only. Best regards, UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
|
|
|
hello, i have a problem with ultidev web server Pro, i cant change my Data Base that is located on installed directory . i use sql express 2008 r2 for connecting to DB but when i want to submit a record in DB by website, an error occure:
"Failed to update database "C:\PROGRAM FILES\myProj\mmm\myDB.MDF" because the database is read-only."
i have created a setup project by visual studio.net 2010, and installed it in directory : "C:\PROGRAM FILES\myProj\mmm\"
anybody help me ?
|