Skip to content


Object reference not set to an instance of an object. c:\wss\EventPlanning.wsp: The Solution installation failed.

You can get the above error when installing any of the Application Server Admin Templates from Microsoft (ITManager, Event Planner, HRManager etc.).

stsadm -o addsolution -filename EventPlanning.wsp

Object reference not set to an instance of an object.
c:\wss\EventPlanning.wsp: The Solution installation failed.

The problem here is that the user you are logged in with does not have the required permissions for the database server. If you run this with the same account as you installed your web applications with, there should be no problem. You will need full control to the content database.

stsadm always uses credentials of the logged in user, unless offcourse you open your command prompt like this “runas /user:mydomain\myuser cmd.exe”.
Exchange mydomain and myuser with the values for the user you want to open a command prompt as.

DeliciousDiggTwitterFacebookLinkedInTechNetStumbleUponNewsVineTechnorati FavoritesSlashdotMSDNShare

Related posts:

  1. Object reference not set to an instance of an object, when running STSADM commands
  2. Error when updating Windows SharePoint Services 3.0 with SP2 – An update conflict has occurred, and you must re-try this action. The object SPSearchDatabase…
  3. Access SharePoint API from Console Program – Program Against the WSS Object Model
  4. Clone SharePoint (MOSS / WSS) stand-alone developer virtual machine (Rename SharePoint Server)
  5. Run code with elevated privileges in SharePoint

Posted in SharePoint 2007.


One Response

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

Continuing the Discussion

  1. Object reference not set to an instance of an object. c:wssEventPlanning.wsp: The Solution installation failed. linked to this post on August 18, 2009

    [...] original post here: Object reference not set to an instance of an object. c:wssEventPlanning.wsp: The Solution installat… SHARETHIS.addEntry({ title: “Object reference not set to an instance of an object. [...]



Some HTML is OK

or, reply to this post via trackback.



Page optimized by WP Minify WordPress Plugin