Last post Oct 03, 2011 05:45 AM by work2gs
Sep 27, 2011 02:01 AM|work2gs|LINK
I create a Web Setup Project with vs2010 for a SL web application.
since the web setup install all my web application under c:\inetpub\wwwroot
i succesffully configure the File System Editor in a way that a folder is created under c:\
like for example c:\myDataFolder
The mdf is successfully installed but read-only.
I can see the database from my SL application but cannor insert/update...
Is someone has already happend this same problem ?
i create my database with sql express using SQL server management studio.
How to remove the read-only ?
Sep 27, 2011 02:08 AM|tan_vision_12_2010|LINK
ALTER DATABASE database-name SET READ_WRITE
Oct 03, 2011 05:45 AM|work2gs|LINK
thanks a lot for your effort in order to solve this issue.
But unfortunately, after performing this command, the problem persists.
The only issue I have found is to add user NETWORK_SERVICE to the folder where the database is located.
with Modifiy permission and after restart IIS it's working
Is it possible to do this during installation ?
if yes, how ?
Thanks a lot