“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.
Showing posts with label SharePoint bugs. Show all posts
Showing posts with label SharePoint bugs. Show all posts
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:
Wednesday, 16 January 2013
Error occurred in deployment step 'Add Solution': The solution cannot be deployed. The feature '<Feature>' uses the directory “<Folder>" in the solution.
Came across this problem the other day, it occurs when you retract and uninstall a SharePoint feature, then try and install the WSP again. The obvious thing to is check to see what the feature is in powershell using; get-spfeature <GUID> however this returns nothing.
The answer is to use the old trusty sledgehammer of stsadm, navigate to the 14 hive/bin folder and run the following command:
This should sort the feature and allow you to install again.
The answer is to use the old trusty sledgehammer of stsadm, navigate to the 14 hive/bin folder and run the following command:
1:
2: stsadm–o uninstallfeature–id <<GUID of feature>>–force
This should sort the feature and allow you to install again.
Subscribe to:
Posts (Atom)