473,756 Members | 6,852 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IIS appliction pool Recycling drops DLL-references

I'm not sure if this is the right group, but:

When the IIS performs a recycle on an given Application Pool, the
website on this pool seems to loose references to third-party DLL-files
in the bin-folder.

We then have to start/stop the site go get it to work.

The recycling is now disabled to avoid the issue.

Any ideas as to why?
Regards /Snedker
Oct 17 '07 #1
2 2015
a recycle only unloads the appdomain, it does not restart the worker
processes. this means unmanaged dlls are not unloaded. when it reloads
the dll are reloaded, if your 3rd party dll don't support a reinit then
they will not work.

-- bruce (sqlwork.com)

Morten Snedker wrote:
I'm not sure if this is the right group, but:

When the IIS performs a recycle on an given Application Pool, the
website on this pool seems to loose references to third-party DLL-files
in the bin-folder.

We then have to start/stop the site go get it to work.

The recycling is now disabled to avoid the issue.

Any ideas as to why?
Regards /Snedker
Oct 17 '07 #2
Thanks a bunch for your reply!

What does it mean for dll to support a "reinit". How is this defined?

Regards /Snedker

bruce barker skrev:
a recycle only unloads the appdomain, it does not restart the worker
processes. this means unmanaged dlls are not unloaded. when it reloads
the dll are reloaded, if your 3rd party dll don't support a reinit then
they will not work.

-- bruce (sqlwork.com)

Morten Snedker wrote:
>I'm not sure if this is the right group, but:

When the IIS performs a recycle on an given Application Pool, the
website on this pool seems to loose references to third-party
DLL-files in the bin-folder.

We then have to start/stop the site go get it to work.

The recycling is now disabled to avoid the issue.

Any ideas as to why?
Regards /Snedker
Oct 18 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
9393
by: Bjørn T Johansen | last post by:
I am running a connection pool for the PostgreSQL and I was wondering which values you would reccommend for the connection pool? <parameter> <name>maxWait</name> <value>5000</value> </parameter> <parameter> <name>maxActive</name> <value>10</value>
2
2322
by: Jeremy S. | last post by:
Just wondering if/how a sliding Cache expiration interacts with Application Pool Worker Process Recycling. Specifically, if I were to place some value into the Cache object with a sliding window of 2 hours, but property setting for the relevant App Pool is 1 hour (and there is no activity following the placement of the data into the Cache), then WILL the data automatically be removed from the Cache when the App Pool recycles? Or, is it...
2
2096
by: Lars Netzel | last post by:
Hi We have an ASP.NET application running on a Live server and we have had some problems with the Application pool beeing recycled due to heavy load on the server. The load is really not that bad and this should nto occur. The application is using a lot of Session varaibles but I have no idea if this is a problem. I need the session variabled to make passing varibles between pages more secure. We also have many Datasets in the session. ...
4
4660
by: pjdouillard | last post by:
Hello all, Here is the context of my problem: We have an ASP.NET 1.1 application that has its own application pool setup and that runs under the identity of a NT Domain service account (this is for security reason when accessing databases). We use the Integrated Windows authentication to authenticate users, and we have setup the Web.config file to authenticate those users against 3 NT Domain Global Groups. Everything is working fine...
6
4460
by: Wayne Smith | last post by:
Hi, We are having a few problems with ASP.Net pages hanging during load when an Application Pool is recycled. To test this we have setup the following ASP.net page which refreshes every 2 seconds: <%@ Page language="c#" %> <%@ Import Namespace="System" %> <%@ Import Namespace="System.IO" %>
6
2042
by: Mad Scientist Jr | last post by:
My asp.net pages sessions are timing out after 20 minutes, and when I asked my Web host about it they said due to the nature of a shared hosting environment they cannot allow for sessions to keep application pools and worker processes hosed for too long as these fearures are consuming CPU resources while they are active. Therefore the pool application shutdown and re-start settings are at 20 minutes. Is there a workaround for this? Do I...
3
3872
by: Diffident | last post by:
Hi All, We are running a web application that we suspect has a bad code which is causing it to consume lots of memory and CPU cycles. We have set the application pool recycle parameters to CPU 50 and also virtual memory 250,000K but the app pool does not seem to be restarted automatically. Everytime we are forced to restart the pool manually by killing the process.
0
1180
by: Ashish Dixit | last post by:
hello all, I have some problem of OFFICE.DLL actuly i used office.dll in my window appliction that is working properly, if i have not MS OFFICE in my PC then it is not working . actully i want to that if i have not MS Office on PC then it should also work that application.
1
2150
by: scolemann | last post by:
Hi all, I have my application pool set to recycle once a night. After recycling it takes about 1 minute for my application to reload. That is to say if I got to the site in the browser it takes about 1 minute to load, when it normally loads in less than a few seconds. I know that this is the normal behavior. Is there a way to force the application to reload immediately after the recycle? That way the first visitor to my site won't...
4
1591
by: Oriane | last post by:
Hello, I will soon installed a small Ajax Asp.Net "single page" site on a client site. This page is simply polling a Asp.Net Web service, which fetchs and returns parameters (temperature, air conditioning status...) to be displayed on the page. This is implemented with an Ajax Timer control server. Now this is my first "industrial" web site, and I'm concerned about its robustness. Do I need to create a specific pool on IIS 6 for the...
0
9212
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9973
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9779
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8645
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7186
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6473
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5069
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5247
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3276
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.