﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » .NET Forums » General .NET Discussion  » OS Loader lock</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 09:05:13 GMT</lastBuildDate><ttl>20</ttl><item><title>OS Loader lock</title><link>http://forum.strataframe.net/FindPost7452.aspx</link><description>I've been developing an application for the past 5 months with the only problems being self-generated :-) but as of this morning I've run into a OS Loader Lock error getting thrown.&lt;/P&gt;&lt;P&gt;It happens when using a BrowseDialog when I try to enter some text into a Search field, it drops to the ShowDialog command that I'm guessing shows the BrowseDialog.&lt;/P&gt;&lt;P&gt;I went to the Debug -&amp;gt; Exceptions and turned off Loader Lock exceptions being throw and now I can run my application again.&amp;nbsp; I was wondering if you had any idea what might cause this, or even what it is, I'm kinda fuzzy on the subject.&lt;/P&gt;&lt;P&gt;From some posts I've read it is mainly a .NET 1.1 framework problem.&lt;/P&gt;&lt;P&gt;I don't think I've changed any configurations in Visual Studio lately, could be wrong through.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Robin Giltner</description><pubDate>Tue, 13 Mar 2007 15:35:23 GMT</pubDate><dc:creator>Robin J Giltner</dc:creator></item><item><title>RE: OS Loader lock</title><link>http://forum.strataframe.net/FindPost7453.aspx</link><description>I remember someone else getting this error before... the stuff was even still in my google search history.&amp;nbsp; But, I found this article that says that the thread holding the OS's loader lock.&amp;nbsp; There's no telling what is trying to cross the managed/unmanaged boundary, but according to this article, you can get the stack trace from all of the threads (not just the current thread) and see which one is attempting to cross the boundary.&lt;/P&gt;&lt;P&gt;&lt;A href="http://msdn2.microsoft.com/en-us/library/ms172219.aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms172219.aspx&lt;/A&gt;</description><pubDate>Tue, 13 Mar 2007 15:35:23 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>