system.nullreferenceexception object reference not set to an instance of an object  sharepoint
Hi, I am getting "system.nullreferenceexception object reference not set to an instance of an object. at ASP._65520b6b_4e51_4831_a307_bb5a844d49b7_968217546.Page_Load(Object sender, EventArgs e)" frequently on our public site on home page frequently. Some times on other pages also. After restarting Office Sharepoint server search service and Sharepoint services Administration service, site is working fine. But after some hours it is coming again. We have added exception handling code properly. Our site is running on MOSS 2007. Please provide solution.. Thanks, Dhaval
March 10th, 2010 9:25am

which object it isis it spweb or spsitehave you dispose them well after use in your codeManish Sati
Free Windows Admin Tool Kit Click here and download it now
March 10th, 2010 11:15am

Hi, Thanks for reply. I have closed and disposed objects as below in the code. _web.Close(); _web.Dispose(); oSite.Close(); oSite.Dispose(); Regards, Dhaval
March 10th, 2010 1:30pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics