The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: microsoft.public.dotnet.framework
From: Dan <D...@discussions.microsoft.com>
Date: Fri, 31 Mar 2006 05:19:02 -0800
Local: Fri 31 Mar 2006 14:19
Subject: RE: VS 2005 LoaderLock problem
Hi,
I'm using Microsoft Sql Management Objects (SMO) - the sql 2005 version of SQL_DMO) to obtain information about a table's schema. I have this code: } When I execute the code from VS 2005, at this line, I get this exception: "LoaderLock was detected Message: Attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang." and the application hangs. However, when I run the unit tests (with Nunit) that go into the same code, Why this exception appears and how can I get rid of it? Many thanks, You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||