I am having a problem deploying any webpart with SP API ,SPWEB SPLIST,SPFOLDER .Do you think its because you are not COntent Db administrator in your site so you are getting error.
Error basically says:
Object reference not set to the instance of object.
Do you thinking running with elevated privilage helps????
View Complete Post