I wanted to enable a feature which required special admin rights through power-shell and kept on getting the following exception:
Enable-SPFeature : Failed to create receiver object from assembly "ASSEMBLYNAME, Version=1.0.0.0, Culture=neutral, PublicKeyToken=eaf1b7820cf1
fb30", class "CLASSNAME" for feature "FEATURENAME" (ID: 08284496-c68e-4f6c-befe-5777d14ad74b).
: System.ArgumentNullException: Value cannot be null.
Spent hours trying to find the reason. The class was there. I even gaced manually, tried everything. But later a colleague of mine helped me out with suggesting to open a new instance of power shell and try it again. And it worked perfectly. What a time waste.
Tuesday, January 11, 2011
Subscribe to:
Posts (Atom)