Article ID: 968882 - View products that this article applies to.
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
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.
To work around this issue, use a named mutex to synchronize the access to audit log file across AppDomains.
To resolve this issue, apply the following updates:
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information, visit the following Web site:
http://fuchangmiao.blogspot.com/2008/01/application-domain.htmlMicrosoft 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.