Read-only database problem after site installation
Hi everyone,
I have developed a site and since it needs to be installed on different servers, I have added a Web Setup Project which installs the site. The problem is when it installs the application, it doesn't assign write permission on App_Data directory to ASPNET user. So what happens is that as soon as the webservice method(which is being called through the site) tries to modify database, it returns database is readonly error. If I go to wwwroot directory and assign write permission to App_Data directory, the problem wouold be solved. But I wanna automate this process through installer. If you create the site using visual web developer, it automatically assighns that right to App_Data. So the question is:
How can I do that using installer and through installation process.
Thanks for your help guys,
Cheers,
Captain

