Sharepoint Tutorials, Tips and tricks, development, analysis, administration, and much more
Sharepoint lead is a place where you can read about interesting topics related to sharepoint, and you can also post comments and suggessions.
Wednesday, May 16, 2012
stsadmin -o deploysolution shows access denied error for some files
After firing deploysolution, looking at system settings > farm solutions and the error looks something like "Can not overrite xxxx file, access is denied".
specified file in your error is read only in your web application directory. Most of the time this happens when you are using some source control system that is making the file read only when it is checked in.
Go to properties of the file and uncheck read only. If you are running a farm and you got multiple application servers, you need to repeate this for each application server.
80% of the developers uses command line to deploy their wsp as it is the convinient way to add or upgraded the solution.
Got the same error? Don't worry try above solution. Didn't worked? Let me know which one worked for you?