Click here to Skip to main content
15,886,806 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Everyone,
Just developed an n-tier web application using asp.net 3.5 with c#...
After publishing it using the "publish website" tool although the project is running fine But there is an issue whenever i try to update the associated database with an error "Database is Read-Only" However I doubly checked the properties for Read-only.

Anyone with the Solution to this.. Or an alternative efficient method to deploy the Website Please Help...

the exact error when i try to update the values in the database using IIs on Windows xp sp2 is-

SQL
Failed to update database "C:\INETPUB\WWWROOT\APP_DATA\Database.MDF" because the database is read-only.


Thanks
Posted
Updated 16-Dec-10 23:39pm
v2

Have a look at these links discussing the similar issue:
Link 1[^]
Link 2[^]

More here[^].
 
Share this answer
 
The folder in which the database is deployed will be setting readonly writes on it. Probably check the folder setting on the server.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900