When setting up or moving a Sitecore solution, you have to remember to setup the correct folder permissions and IIS permissions.
It something like sections 3.3.3.2 - 3.3.3.9 here: http://sdn.sitecore.net/Products/Sitecore%20V5/Sitecore%20CMS%205,-d-,3/Installation/EXE%20Installation.aspx
The folder permissions are usually setup when using the installer, but not when using the Zip or just moving an existing solution.
You could use the guides (for Sitecore 6) here: http://sdn.sitecore.net/Products/Sitecore%20V5/Sitecore%20CMS%206/Installation.aspx
But going through steps 3.5 to 3.6.5 is bothersome.
Anyone made any scripts or programs that could do this more or less automatically?
It will be greatly appreciated.
Assuming you are playing around with a non-production instance:
So (The permissions are set recursively):
ASP.NET account (IUSR in IIS 7) & Anonymous user: FULL CONTROL OVER:
/Website
/Data
NETWORK SERVICE (default SQL Server account): FULL CONTROL OVER:
/Databases
Alternatively you could Cacls to set permissions to a file/folder from the commandline.
For example you could use the following statement to grant the
Administrator
userWrite
ANDDelete
permissions onc:\file
I am using this script