I am attempting to use the TrsWebTier in a DLL. However, it appears that a thread keeps on running. After I free the TrsWebTier and unload the DLL, 5 seconds later I get an AV.
The most common use of the WebTier is in an ISAPI.dll application. There are no known issues with using the WebTier in an ISAPI.dll.
You might try setting WebTier.GarbageCollection.SeparateThread to False. The default is True. The GarbageCollection thread is invoked as the last task to be performed in response to a call to the ProcessWebRequest method. The thread is free'd each time the garbage collector runs. Thus, it should not typically be running.
-- Nard Moseley Digital Metaphors Corporation www.digital-metaphors.com
Best regards,
Nard Moseley Digital Metaphors www.digital-metaphors.com
Comments
The most common use of the WebTier is in an ISAPI.dll application. There are
no known issues with using the WebTier in an ISAPI.dll.
You might try setting WebTier.GarbageCollection.SeparateThread to False. The
default is True. The GarbageCollection thread is invoked as the last task to
be performed in response to a call to the ProcessWebRequest method. The
thread is free'd each time the garbage collector runs. Thus, it should not
typically be running.
--
Nard Moseley
Digital Metaphors Corporation
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Thank you!
Mariella