Hannes Pavelka
It isn't rocket science. Well, unless of course you're NASA

Visual Studio 2005 Error : Retrieve the LoaderExceptions property for more information

Sunday, February 19, 2006 9:21 AM

Lately the Visual Studio 2005 Designer drives me crazy.
When I worked with multiple Forms and Custom User Controls, it took just a while and I could not open the Design View anymore.

Switching to the Design view, brought up a friendly error message:
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information
First hit at google brings you to Microsoft support, where you can order an hotfix to correct this problem. The hotfix patches the Microsoft.visualstudio.design.dll.

If you look for other workarounds most people suggest restarting Visual Studio or Clean & Rebuild your solution with all Forms closed.

However, I found one interesting piece of information over at Rupreet’s Weblog:
I believe the problem is caused by the Indexing Service locking the obj and bin files, trying to reindex their contents. Simply select your Projects folder in Explorer, go to Properties..., click the Advanced button and disable the checkbox to allow the indexing of the folder and subdirectories and files

Let’s see if this is actually true. It would be great.

Does anyone has ordered and applied the hotfix yet? Or any other experience how to handle this annoyance ?


Feedback

# re: Visual Studio 2005 Error : Retrieve the LoaderExceptions property for more information

This thing have really anoyed the hell out of me too, until I saw your fix. Had to restart VS like 10 times a day, when going out of debug mode.
stopped the indexing, and it seems to work :D
Thanks a bunch 9/25/2007 5:23 AM | HJ

# re: Visual Studio 2005 Error : Retrieve the LoaderExceptions property for more information

Rupreet's solution did not work for me.
Neither on the developing as the production machine. 10/5/2007 12:03 AM | Jos Roestenberg

# re: Visual Studio 2005 Error : Retrieve the LoaderExceptions property for more information

The indexing thing sorted it out for me. Many thanks. 10/12/2007 4:13 AM | Rob Oldfield

# re: Visual Studio 2005 Error : Retrieve the LoaderExceptions property for more information

Turning off indexing for my dev directory fixed the problem. Thanks! 10/30/2007 4:36 AM | Aaron

# re: Visual Studio 2005 Error : Retrieve the LoaderExceptions property for more information

This totally worked. Thanks a lot for finding the solution link. 11/21/2007 5:17 AM | Dmitriy

# re: Visual Studio 2005 Error : Retrieve the LoaderExceptions property for more information

This works for me!!
Thanks! 12/17/2007 8:26 AM | Sergio Ivan Mendoza

# re: Visual Studio 2005 Error : Retrieve the LoaderExceptions property for more information

This did not work for me <grr>... 1/11/2008 6:23 AM | Michael Kellogg

# re: Visual Studio 2005 Error : Retrieve the LoaderExceptions property for more information

I had this error using VS2005 with the Web Client Software Factory WCSF. Used the 'Clean and Rebuild' option which worked for me. 2/5/2008 7:57 AM | sharpguru

# re: Visual Studio 2005 Error : Retrieve the LoaderExceptions property for more information

indexing off didn't fix it for me. 8/27/2008 4:59 AM | Bill White

# re: Visual Studio 2005 Error : Retrieve the LoaderExceptions property for more information

It solved my problem too, after doing all the steps. Indexing off, clean and rebuild and then restarting VS2005. 8/27/2008 9:32 PM | leifsa

# re: Visual Studio 2005 Error : Retrieve the LoaderExceptions property for more information

This works fine. Thanks a lot. 9/22/2008 8:21 PM | Babu

# re: Visual Studio 2005 Error : Retrieve the LoaderExceptions property for more information

Thanks! That fixed it. 10/14/2008 8:22 PM | dchan

Post a comment





 

Please add 3 and 6 and type the answer here: