Reputation: 4010
I get this error when I'm trying to write on my DB, he website is under wwwroot and I think I gave it the read/write permission, how can I fix it? how can I check how it's set in IIS Manager (inetmgr)? this is the error
Failed to update database "C:\INETPUB\WWWROOT\FINAL4\APP_DATA\EXPERTIESE.MDF" because the database is read-only.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
it's solved , fixed it my setting the permission for App_Data folder
Upvotes: 0
Views: 1240
Reputation: 300719
Ensure you have actually set the correct permissions on the folder!
Upvotes: 1