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"

This article has been archived. It is offered "as is" and will no longer be updated.
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 Description of the update package for Communications Server 2007 R2, Core Components: April 2009
  • 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: 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.
Properties

Article ID: 968882 - Last Review: 01/15/2015 18:34:36 - Revision: 1.1

Microsoft Office Communications Server 2007 R2 Standard Edition, Microsoft Office Communications Server 2007 R2 Enterprise Edition

  • kbnosurvey kbarchive kbfix kbqfe kbexpertiseinter kbsurveynew kbprb KB968882
Feedback