.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month

Home >> Forum >> C# >> Post New QuestionBookmark and Share Subscribe to Forum

Getting Below Error Please Help me

Posted By: kamlesh     Posted Date: May 23, 2011    Points:5   Category :C#
Managed Debugging Assistant 'ContextSwitchDeadlock' has detected a problem in 'C:\Workarea\Vimal CVS\Exchange_Granular\src\BackupOfSrc\Unitrends GUI 22 March\bin\i386\Debug\ExchangeGranular.exe'.
Additional Information: The CLR has been unable to transition from COM context 0x1ac918 to COM context 0x1ac7a8 for 60 seconds. The thread that owns the destination context/apartment is most likely either doing a non pumping wait or processing a very long running operation without pumping Windows messages. This situation generally has a negative performance impact and may even lead to the application becoming non responsive or memory usage accumulating continually over time. To avoid this problem, all single threaded apartment (STA) threads should use pumping wait primitives (such as CoWaitForMultipleHandles) and routinely pump messages during long running operations.

Author: Gowthammanju             
Posted Date: May 23, 2011     Points: 20   

This is indicating that the 3rd party lib that you are using cannot be started because:

1. It isn't resigered / installed on your system.
2. Some other component the third party lib uses is not installed.

There are a whole raft of app that will help you find what dependencies the lib requires...

Take a look here for some useful utils...


'listdlls' and 'procexp' may be useful...

try following steps!

first off I don't know what the executable name is of your library so you'll have to fill that bit in yourself...

1. Open a command window
2. Go to the directory where the library exe is.
3. Run regsvr32.exe e.g. regsvr32 /i

this will pop up a messagebox indicating whether this has succeeded or not.. If it hasn't succeeded then I suggest you going back to the vendor of the library and get proper installation instructions...

Thanks & Regards,

Mark if the answer is true

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend