How to fix the “could not load file or assembly for [some package you already uninstalled]” Message


You’re getting a “could not load file or assembly” error message for some Umbraco package that you’ve already installed. You’ve searched for and deleted every reference to said package from code and removed the dlls from bin.

It continues to happen, making you want to stab things.


Touch your global.asax file. No seriously. Apparently that clears the plugincache. Or something. Sigh.

Back Story and Source

Once upon a time, I installed the CMSImport plugin on Umbraco 7.0.1. I needed to import some news articles and it looked like the tool for the job.

It was great! I imported all the things and it worked and birds sang and people were all happy and stuff. But then it was over, I was finished with CMSImport and did not want to import things anymore. So I uninstalled it. Because that’s what you do in these situations.

This seemed to make my installation very unhappy. I guess it missed CMSImport. It started throwing weird errors when I did things like delete a media file. The ghost of CMSImport was haunting me without leaving a trace in the.. trace… log. Anyway. To cut straight to the point, when my weeks of randomly deleting files and sporadic Googleing failed as if no one in the face of the internet has ever had this problem before,  I bit the bullet and upgraded to 7.0.4.

I won’t get into how I had to try that 3 times and then ended up not even running the installer. (grrr). Lets just say that when I loaded my fresh installation and  deleted a file, I got the same error.

<sarcasm>For yays!</sarcasm>

Then I stumbled across this throwaway comment on a completely different issue (emphasis mine).

…could you try touching the global.asax file (just put a space in it and save it) to see if that helps? Sounds like the plugincache is in an invalid state and this helps clear it.

- Sebastiaan Janssen

So I did that and it worked. I hope it works for you.


Captioning Flash Files for DVD

A couple years ago I was asked to take some video clips (flash files stripped from the internet with permission), add captions, and prepare them to be played on a kiosk (via dvd).

It took significant trial and error but I documented the final process as “not as painful as it could have been”. I haven’t had a project like that since so there may be better tools now but here is a basic overview what I did.

  1. Convert .flv files to .avi
  2. Upload videos to youtube
  3. Transcribe video
    • Transcripts need to include sound effects for proper captioning
    • This could be done as part of step 6
  4. Upload transcripts to YouTube to get a .sbv file with timing
    • Note: It doesn’t work as well with videos that are mostly sound effects so those videos will require way more adjusting in step 6.
  5. Convert the resulting .sbv to .srt using your tool of choice
  6. Use VisualSubSync to adjust the timing and fine tune the captions.
  7. Save the results back to an .srt file Test the captions (optional) by uploading the .srt file back to YouTube Stitch the .avi and the .srt file together using Auto Gordian Knot (*) to create a “hard captioned” video Burn hard captioned videos to DVD

It’s possible that visualsubsync (which is exactly what I would expect a subtitle editor to be) will also auto synchronize captions. If so, you could eliminate the google/youtube steps.

Other Resources

Note: the link for Auto Gordian Knot is broken as of this posting. Not sure if it’s permanently down but there are places to download the software if you Google it.

A letter to Publix

While surfing the net looking for nutrition facts. I stumbled across the Fair Food Campaign being conducted by the Coalition of Immokalee workers. I read some, then I watched their “One Penny More” video.

Then I wrote this letter.

Dear People in Charge of Publix,

I love shopping at Publix and I love tomatoes. I especially love the opportunity to support the Florida economy by buying produce grown in Florida from a chain based in Florida.

However I’m disturbed and deeply concerned by the claims of the Coalition of Immokalee Workers that Publix is not willing to use it’s buying power to support Florida tomato farm workers. When I look on your website, I see in the Publix Products Q & A that  the store has a position on the safe handling of animals. But I see no similar statement of position on supporting a livable wage right here in your home state. I want to be fair so I’m asking; what is your stance on human rights in general and the rights and conditions of Florida Farm workers in general? Is it true that you’ve resisted the Fair Food campaign that even Taco Bell is supporting? I mean seriously… Taco Bell? If you have a statement of some kind giving a reasonable explanation for what looks to be lack of support for basic human rights, I would love to see it.

But if don’t get the information I want to hear about my favorite grocery store, I will use my small and insignificant buying power to try to get you to change your mind. I will also do my best to convince my friends, family, coworkers, neighbors and casual acquaintances to do the same. I am willing to pay a penny more per pound of tomatoes if it means the person that picked them is getting a fair wage. (Or at least closer to a fair wage. Honestly I don’t think a penny a pound is enough.) If I have to pay my extra penny elsewhere, so be it.

I added this to the top of the Coalitions already compelling form letter and sent it. Now I’m waiting on a reply. You can write your own letter (or do any number of things) at the CIWs take action page.

A letter to facebook

Your photo management interface is inexcusably bad.

  1. In what universe does it make sense to “Edit Album Info” in order to move a photo to a different album?
  2. Why can’t you move a photo to an album unless it already exists?
  3. Why can’t you create an album without uploading photos?
  4. Why is your only  option for creating an album without uploading photos buried on the last tab of some (but not all) edit album screens?
  5. Why does that “create album” actually just rename the album you were editing (despite the fact that you have to specifically ignore the rename option to get there?

Any one of these might be excusable but all of them together makes me want to stomp your interface in the throat. Is there no usability testing in facebook HQ? Do you not understand your top tasks? Do you need testers? Because I will donate the 45 minutes of my time that I wasted trying to move a photo from one album to another and tell you what’s wrong with your interface. Any time.  You have all of my contact information.