Thursday 17 January 2013

Cannot delete folder in the 14 hive / Control templates folder

Sometime you may deploy a solution from Visual Studio and find that an error message come back similar to:
“Error occurred in deployment step ‘Add Solution’ Access to path <<Path>> is denied”
If you navigate to the folder and try and change it to not be read only, you get a permissions error. In order to fix this do an IIS stop (iisreset –stop in cmd prompt) deploy your solution and do an IIS Start (iisreset –start in cmd prompt). From now on deploying the solution should work fine.

No comments:

Post a Comment