Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Recycle process instead of Application Domain

$
0
0

Hello,

In our website we're using some legacy COM components. Those COM components are used using COM interop from our C# website. The problem we are facing has to do with the recycling of the application pool.

When I invoke a recycle manually, using the IIS Manager, the whole native process gets recycled. Because the process gets recycled also the COM components are reset. Everything works fine in that case.

However when changing for example the web.config, only the Application Domain get recycled (within the same native process). That causes the website to fail, because the COM components aren't reset. The COM components also need to be reset. For example because they have a native COM pointer to the application domain the website is running in.

Is it possible to configure IIS in a way that it always recycles the whole native process?

Thanks.


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>