Philip Beadle wrote:
Couple of things you need to do, make sure your site is running in an App Pool that has the Network Service account as the user it runs under. Then add the Network Service acct as a dbo to your database. That should do it. Also make sure you have set the permissions on the physical folder to allow Network Service read and write and that when you unzipped the installation Zip file you Unblocked the file before unzipping. Thats a Windown protection feature. And one last thing you may need to turn off Read Only on the folder.
thanks that really solved my problem also ,
just an explanation how to do it in the sql manager 2008:
1- in SQL server manager , navigate to the security under the sqlserver "not the security of the Database you are using " as this is one of the mistake i was doing ...
2 - and then in the security -->logins add : NT AUTHORITY \ NETWORK SERVICE (you can use search and then advanced search to find it)
3- and now back to yourdatabase --> security --> users : add a new user with NT AUTHORITY \ NETWORK SERVICE as a log in name (also you can find in the seach )
4- then go to yourdatabase --> security --> roles --> data base roles --> db_owner and add that user as a db_owner