Search code examples
sharepointdeploymentweb-parts

stsadm -addsolution "Object reference not set to an instance of an object"


I am trying to deploy sharepoint webpart. Till executig in command prompt following command:

stsadm -o addsolution -filename {WSPFILENAME}

getting alway follow error: "Object reference not set to an instance of an object" no idea why. wspfilename is correct. please help


Solution

  • Check whether you have enough permissions to the corresponding content database to which you are adding the solution.