wpfvb.netloaderlock

Loader Lock error with VB.NET 2008 (Windows XP only?)


When I run my application (WPF,VB.net 2008) on Windows XP, I get weird Windows Errors. When I installed VS2008 on the machines that got the error and debug. I got a loader lock exception, so I went into Debug and removed it. However, I still get the error when it is installed on the machine.

Is there a way to remove the Loader Lock Exception when the application is install. I do understands that it might not be the best solution, but it seems this happen only when I start an WindowsElementHost with a ReportViewer and this is causing the problem, so I don't really know what else to do with it.

All version of XP have that problem, as with 2003.

In Windows 7 and Vista I never run into that error while debugging and the installed product. The same thing applies with 2008 and 2008R2.


Solution

  • I've done a little bit of research and below you can find my guesses:

    To get more help, I suggest you so specify: