Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

VS 2010 Managed Debugging Assistant 'LoaderLock' has detected a problem in 'C:\Program Files (x86)\Microsoft Office\Office14\EXCEL.EXE'

$
0
0

Hello,

I trying to debug a c# project using VS 2010. I have defined Excel as the start up application in the property window of the project.  I have created a couple of break points and I am getting the following errors.  I am not sure if all of these errors are related. Please assist to figure out the problem and how to fix it.  Thank you


A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in MYAppClient.Office.dll
'EXCEL.EXE' (Managed (v4.0.30319)): Loaded 'C:\win32_x86\Debug\bin\MYAppClient\NET40\BusinessObjects.DSWS.Session.dll'
'EXCEL.EXE' (Managed (v4.0.30319)): Loaded 'C:\win32_x86\Debug\bin\MYAppClient\NET40\BusinessObjects.DSWS.dll'
'EXCEL.EXE' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll'
Managed Debugging Assistant 'LoaderLock' has detected a problem in 'C:\Program Files (x86)\Microsoft Office\Office14\EXCEL.EXE'.
Additional Information: 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.


Viewing all articles
Browse latest Browse all 1710

Trending Articles