2
Vote

Unhandled Exception : System.NullReferenceException: Object reference not set to an instance of an object.

description

When using SPSFarmReport, i am getting this error
 
C:\Documents and Settings\190477b.syn\Desktop>SPSFarmReport.exe
It could take anywhere between 10 seconds to 2 minutes to generate the report.
Please wait...
 
 
Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object.
at ConsoleApplication5.Program.writeSSPInf()
at ConsoleApplication5.Program.Main(String[] args)
 
 
Then, There is a pop-up Window with this message
ConsoleApplication5 has encountered an error and needs to close. you will lose your saved work.
 
A SPSFarmreport.html is generated, but its incomplete..

comments

sharepointfitz wrote Sep 29, 2011 at 10:54 PM

I've run into the same error. Was there a resolution to this?

sharepointfitz wrote Oct 4, 2011 at 10:47 PM

For me, the resolution was to run the report as the Farm account (the Timer Job identity), apparently it was a permissions issue. - K

wrote Feb 14, 2013 at 8:49 PM