Error occurred in deployment step 'Recycle IIS Application Pool': Object reference is not set to an instance of a object.

Hello, 

When I do a deploy from VS2012 I get the error above. 

Specifications: 

- User is Farm Admin
- User is Site Collection Admin
- User is added with full control to the Web application user policy
- User is db_owner of the content db, config db, admin content db
- User Access Control is disabled
- User is Local administrator
- User is a member of WSS_ADMIN_WPG
- host name is added to the host file.

Somebody has a solution?

August 9th, 2013 7:30am

Hi Dennis, Can you check the web url mentioned is correct or not. also check whether you are getting a sucessfull build without errors..

also check the current user is a site collection administrator on the site which the solution is deploying to ?

Regards  Roy Joyson
Please remember to mark your question as "answered"/"Vote helpful" if this solves/helps your pr

Free Windows Admin Tool Kit Click here and download it now
August 9th, 2013 5:21pm

As I said above the user is a Site Collection administrator. De web url is fine. Also the building process is succesfull without any errors. 
August 12th, 2013 9:28am

Got this error recently.

Make sure the Package folder is available in your SharePoint project.

Otherwise you get this error.

Free Windows Admin Tool Kit Click here and download it now
December 5th, 2013 8:56pm

almost you have everything, did you try to close the visual studio and start "Run as administrator". if not do it and try to redeploy.

I would also check if the Sharepoint Timer Services and Sharepoint administration Services running on all sharepoint server(via services console.)

December 5th, 2013 9:16pm

Hi,

Can u remove the wsp from central admin and deploy again using visual studio ?

If it work ,then let me know please .

  • Proposed as answer by anu priya Wednesday, August 06, 2014 11:28 AM
Free Windows Admin Tool Kit Click here and download it now
August 6th, 2014 11:28am

I had a same issue, i got the Package folder back but the package file is not opening in the designer. What should I do?
May 29th, 2015 3:14am

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

Other recent topics Other recent topics