Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

I’m writing this post for myself, so everyone else can stop reading now if you like. Although you might find it useful, who knows.

Why am I talking to myself? Because today I came across the error in the title, and thought “Hmm I’ve not seen that one before”, only to plug it into Google and to have my browser tell me I’d already visited the first 5 results for that search previously.

Increasing age, you’re a cruel mistress.

None of those results applied to my situation at all, and I’m hoping that writing this post will save me some time in future, so here goes.

This issue can also occur when you’ve upgraded a site (usually running a product), and have some old DLLs lying around. In this case, some refactoring had occurred to the product, and there was an old DLL lurking around that was causing the error above under certain situations. So the solution was simply to look closely, clean up the references and bin directories, and then all is well.

Ross, if you’re reading this in the future, then you really should consider investing in some memory exercises, or, to take more care with those product upgrades. Seriously.

Posted on Thursday, August 23, 2012 3:34 PM |

Like this? Share it!

  • # re: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
    Gravatar
    Commented on 8/23/2012 5:06 PM

    Dear Future-Ross,

    What is the future like? Please reply ASAP, this is for actual implementation and not just for my convenience.

    Love and kittens,

    Past-Sam

  • # re: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
    Gravatar
    Commented on 8/23/2012 9:58 PM

    Dear Past-Sam,

    The future is terrible. You thought tweeting instagram styled pictures of your dinner and breakfast was bad? Well the future has taken it to a whole other level. Also, agile has turned into nothing short of an extremist communist manifesto. You wouldn't believe the levels people go to in the future in order to have their opinions on rapid development iterations heard in this day and age.

    All in all, stick to the past. You can't know the present if you don't know the past. Or something.

    Shrug reports and lollipops,

    Time-Maschine-Owning-Hvalross

Post a comment
Please add 6 and 3 and type the answer here:
Remember me?
Ensure the word in this box says 'orange':