If somebody like the post and its helpful in your work then, add comments.

Wednesday, December 1, 2010

STSADM on adding wsp Error “Object reference not set to an instance of an object. sample.wsp: The Solution installation failed. ”

Hi, Well today when I was deploying the SharePoint site I got the above error. Well on first look it seems that this is SPSite or SPWeb or we can say that this object model issue. But I got info from googling that this issue comes due to permission on the content db from which the user is deploying the WSP by using the STSADM command. Well I looking for more options for that but it seems that the issue is due to user permission on content db.

And guess it works. Well when you dont have permission on the Admin_content db then this issue will occur.

The below command will also help you check the permission

stsadm -o enumsites -url http://yoururl

1 comment: