Retracting sharepoint webpart - dll is in use errors

Here's the situation:

I deployed a demo version of a sharepoint webpart as a solution to my webserver before i deployed the full version. So i deploy it, added it to a webpage and tried it out. Afterwards i removed it from the webpage, and deactivated the solution, then retracted the solution.

Now is where the trouble came in at: I went to go deploy the full version of it and i got a "dll is in use error".

All attempts to remove this dll i got errors, and crashed the server a few times during the proccess as well. Fun stuff.

The solution:

The solution is remarkably simple that most people will look right over it:

Go to the webpart galery for the site(s) you used the webpart on, and remove it from the gallery. After doing this (and making sure it wasn't on any of the other pages on the site) deploying the package went through with out a problem. Wish this was documented better (and the solution providor knew about it more).

Comments

Popular posts from this blog

CI Build broke after nugit update

Sharepoint 2007 - Access Denied when you try to edit

Project 2010 and Project Pro 2007