Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Releasing COM objects...HOW???
Message
General information
Forum:
ASP.NET
Category:
ActiveX controls
Miscellaneous
Thread ID:
00802857
Message ID:
00802900
Views:
20
>I am trying to build a web application (ASP.NET) which uses a DLL (created with V. FoxPro 7). The problem is that after running the application the DLL does NOT get released. I can only release it by resetting the IIS service.
>I would like to see the DLLHOST.EXE release my COM-DLL as soon as it is no longer in use.
>
>I have tried everything (object = Nothing, Marshal.ReleaseComObject(), etc..). I'm even wondering if this behaviour is normal with .NET, but I still need to know if that's the case. I have consulted in a number of books but nowhere do they mention this kind of problem.
>
>Does anyone know how I can solve this problem? I would be very greatful.
>Thanks in advance!



IIS uses object pooling. We had this problem and the only way I have seen is to restart IIS. You might want to look for a setting somewhere that disables that feature.
Brian Seekford
Seekford Solutions, Inc.
http://www.SeekfordSolutions.com
Internet ActiveX Controls and .NET Class Libraries.
SMTP/S FTP POP3/S HTTP/S SNTP MIME PING WHOIS TRACEROUTE NNTP DNS MX
Base64, UUEncode, yEnc, MD5, SHA1, URL, Quoted-Printable.
Resizer and Tooltips
Email Verification and more. Check us out!
Previous
Reply
Map
View

Click here to load this message in the networking platform