BizTalk 2009 RFID Process Cycling Issue

I was working on an RFID POC and noticed that my RFID Provider and RFID Process were cycling on a regular basis.  After a few e-mail messages and some research, turns out the issue is due to IIS recycling the process.  The solution is a simply web.config setting change for each affected provider / process.

Cause

If you have logging set to a level where the log files are being updated often or you have a large number of logging statements in your provider or event handler IIS will think it should cycle the process in order to pickup file chances.

You can determine if this is the problem by looking at the shutdowns log file for your provider or your process log file.  The log files are located in the provider and process folders.  If you are looking at the provider shutdowns log file and have this issue, you will see an error stating;

ApplicationShutDownReason = ChangeInGlobalAsax

image

Solution

The solution to the problem is fairly simple.  You can either 1) turn off or reduce logging for the provider / process or 2) you can make a modification to the web.config file in the respective provider / process folder.

While turning off logging isn’t the best solution, it is a great way to quickly test if you have this problem and implement a temporarily fix until you can modify the web.config files.

To fix the solution by modifying the web.config file, you will need to add an httpRunTime element to the system.web section as follows;

<system.web> 
    <!– other config information –>
     <httpRuntime
        waitChangeNotification=”2147483647
        maxWaitChangeNotification=”2147483647
   /> 
    <!– other config information –>
</system.web>

Essentially this tells IIS not to cycle the process.

Special thanks to Kranthi Kumar Mannem, one of the software development engineers working on BizTalk RFID who helped me solve this problem.

Advertisements
Tagged with: ,
Posted in BizTalk, RFID

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: