Article ID: 968882 - Last Review: April 3, 2009 - Revision: 1.1

Error message when you open an audit log file for Office Communications Server 2007 R2: "The process cannot access the log file because is being used any another process"

Expand all | Collapse all

SYMPTOMS

When you open an audit log file for Office Communications Server 2007 R2, you receive the following error message:
The process cannot access the log file because is being used any another process

CAUSE

The .NET Runtime uses an AppDomain as a container for code and data. An IIS/ASP.NET process can have more than one AppDomains object. Each ASP.NET AppDomains will have its own set of global variables: Cache, Application, and Session objects are not shared.

When more than one AppDomain object is created by IIS for device updater application, the code in one AppDomain object cannot access the audit log file if another AppDomain writes the logs to audit file at the same time.

WORKAROUND

To work around this issue, use a named mutex to synchronize the access to audit log file across AppDomains.

RESOLUTION

To resolve this issue, apply the following updates:
  • 967827  (http://support.microsoft.com/kb/967827/ ) Description of the update package for Communications Server 2007 R2, Core Components: April 2009
  • 967830  (http://support.microsoft.com/kb/967830/ ) Description of the update package for Communications Server 2007 R2, Web Components: April 2009

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For more information, visit the following Web site:
http://fuchangmiao.blogspot.com/2008/01/application-domain.html (http://fuchangmiao.blogspot.com/2008/01/application-domain.html)
Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.

APPLIES TO
  • Microsoft Office Communications Server 2007 R2 Standard Edition
  • Microsoft Office Communications Server 2007 R2 Enterprise Edition
Keywords: 
kbfix kbqfe kbexpertiseinter kbsurveynew kbprb KB968882
 

Article Translations