I tried to run the following command:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN>stsadm -o addsolution -filename ChansFunkyFeature.wsp
And got this:
Object reference not set to an instance of an object.
ChansFunkyFeature.wsp: The Solution installation failed.
I found this was caused by me not having the right permissions to add this solution file to sharepoint.
To resolve:
Click "Start"
Right click on "Command Prompt".
Click "Run as..."
Enter in credentials for a user who does have access to add the solution to your sharepoint environment.
*For you console types:
runas /profile /user:putYourDomainHere\putUsernameHere CMD
Enjoy.
No comments:
Post a Comment