Monday, 1 September 2014

Error occurred in deployment step 'Retract Solution': Object reference not set to an instance of an object.

Today while deploying a custom solution on our development server using Visual Studio 2012, I received below error in Visual Studio: 
"Error occurred in deployment step 'Retract Solution': Object reference not set to an instance of an object."

This was working well till day before and suddenly it started to throw same error again and again.
Then I went to retract same solution through Central Administration, and it shown me actual error that was happening.

The SharePoint_Config log file got full. After shrinking the log file, solution got deployed without any error.

1 comment:

  1. Hello.. I had same problem and i tried whatever was suggested in the blog. Like uninstall solution etc.

    But later, I got a message it was due to increase in database size. After reducing deployment worked correctly.

    ReplyDelete

Related Posts Plugin for WordPress, Blogger...