Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / June 2005

Tip: Looking for answers? Try searching our database.

COM+ Com Component never stops spinning when called from DOTNET

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mskies@hotmail.com - 02 Jun 2005 04:25 GMT
Hi,

I have a vb6 com DLL (In COM+) that I am calling from DOTNET c# sharp.
I added a reference to the dll via the asp.net application.  The
application works perfectly.  The only problem is that the COM
component in COM+ spins forever.  It doesn't stop spinning, even when
the dotnet function call to the COM code is done!  The more times the
function is called, the more objects I see start to spin in COM (Number
of activations).

I am using Windows Server 2003 with the 1.1 framework.

I tried calling the GC.Collect() method and it kinda worked.  It never
let more tha 1 instance spin up, but yet it still never stops.

Any ideas are appreciated,

Thanks!
Phil Wilson - 02 Jun 2005 23:15 GMT
Sometimes Marshal.ReleaseComObject helps. Scroll down here.....
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/scal
enetchapt07.asp

Signature

Phil Wilson [MVP Windows Installer]
----

> Hi,
>
[quoted text clipped - 14 lines]
>
> Thanks!

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.