New answers tagged deployment
It worked for me after I mapped a new workspace in the team explorer and downloaded the code again and then tried publishing the site to a new Sharepoint site.
It is a usual behavior of SharePoint... When you deploy SharePoint package , it will place the files & it's related DLLs to their appropriate location.. It is necessary to reset is to connect those file with each other to get a reference from different locations ... This is the simple definition from my end to understand why it's necessary to reset the ...
Actually, there's no such thing as "deploying a Web part to a site collection". You deploy a Web part with a WSP package; WSP packages (at least ones that contain Web parts) are deployed against specific Web applications. After that the feature containing the Web part is activated per site collection, but "activating a feature" is only a SharePoint logic ...
I don't think it is SharePoint Design issue, It is more IIS issue. When you deploy a solution, it deploys the DLL in GAC folder. IIS can't read those Dll until iisreset performed.Basically, IISreset does two things clear the memory reload all the DLLs from the GAC folder. One thing you can do, During your code you can't set Reset Web Server property to ...
Please verify following things Current logged in user is in Administrator group of SharePoint server. Please try once Recycling IIS by IISRESET it worked for me in past And please refer this link it may help you Error occurred in deployment step 'Recycle IIS Application Pool'
Top 50 recent answers are included