Environment: SharePoint 2010 + vs2010.
Use vs to create an event receiver. Everything works. After dinner at noon, the following error occurs during redeployment:
Deployment steps
"Reclaim IIS applicationsProgram"Pool" error: the communication object system. servicemodel. instancecontext cannot be used for communication because it has been aborted.
Corresponding English:
Error occurred in deployment step 'recycle IIS application pool ': the communication object, system. servicemodel. instancecontext, cannot be used for communication because it has been aborted.
Or restart IIS. Google, the solution is as follows:
Restart Vs and re-open the project.
Reference: http://www.myrocode.com/post/2010/11/18/Recycle-IIS-Application-Pool-The-communication-object-SystemServiceModelInstanceContext-cannot-be-used-for-communication-because-it-has-been-Aborted.aspx