Access Denied Deploying solution

Had a solution we were deploying and kept getting an error. Being that I was doing 5 other things at the same time I didn’t think much of it an chalked it up to some security setting being wrong and moved over to my “To Do Later List”. Today I revisited this and attempted to run again and got the same error:

“Access denied! Could not add solution to the SharePoint farm. Make sure you are logged in as SharePoint Administrator or Domain Administrator on the server. Also, make sure to turn off Windows User Account Control. “

  1. Thinking that it was the user account I logged in as a different user … same error.
  2. I tried adding the user to domain admins (just for testing) and same error.

Then silly me actually read the ENTIRE error message and zeroed in on the last part: “Also, make sure to turn off Windows User Account Control. “

 Well Crap….

  1. right-click the setup file and choose the option to ‘Run as Administrator’.
  2. Run setup again
  3. success

 

Lesson learned .. read ALL of the error messages first!!

%d bloggers like this: