Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Process won't die?
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 1.1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01031600
Message ID:
01031838
Views:
12
>WebServer needs to pull data from SQL Server into dbf's for use at a printing company. Works fine, well it works toooooo wellllllll. Seems that my VFP app that I call never ends. The processing is completed, but it never goes out of scope? It may take 1 to 2 min to pull the data.
>
>Any ideas?

Try calling

Marshal.ReleaseComObject();

explicitly to release COM references.

This is required if you have outstanding references to your COM object internally as the RefCount may not go to 0 and .NET is less agressive about cleaning up objects.

The other issue (which is 'normal') is that COM objects get released by the garbage collector, which may not imiediately clear the reference. So calling the above is often a good idea in general to ensure objects get released immediately.

+++ Rick ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Reply
Map
View

Click here to load this message in the networking platform