<{{Subtitle_Weight}} class="prominent-subhead {{Show_Subtitle}}"> {{Header_Subtitle}}

The process cannot access the file timestamp.log because it is being used by another process.

This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.
This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.


The following error is surfaced by SmartForms for different users at random times when they interact with K2 SmartForms (create/open/operate):

"The process cannot access the file 'C:\Program Files (x86)\K2 blackpearl\ServiceBroker\Logs\timestamp.log' because it is being used by another process".


This error indicates that SmO logging is enabled and actively used in the environment.


Open K2HostServer.exe.config file (default location is "[InstallDrive]:\Program Files (x86)\K2 blackpearl\Host Server\Bin\") with a text editor and Change the "no" values to "yes" values for the last four lines, and keep your actual path to these files the same (unless you want them in a different location). In the default configuration/disabled logging state respective section of configuration file should look as follows:


      <serviceauthentication log="no" path="C:\Program Files (x86)\K2 blackpearl\ServiceBroker\Logs\serviceauth.log" overwrite="no" />

      <timestamping log="no" path="C:\Program Files (x86)\K2 blackpearl\ServiceBroker\Logs\timestamp.log" overwrite="no" />

      <brokerpackagein log="no" path="C:\Program Files (x86)\K2 blackpearl\ServiceBroker\Logs\brokerpackagein.log" overwrite="no" />

      <brokerpackageout log="no" path="C:\Program Files (x86)\K2 blackpearl\ServiceBroker\Logs\brokerpackageout.log" overwrite="no" />

      <servicepackagein log="no" path="C:\Program Files (x86)\K2 blackpearl\ServiceBroker\Logs\servicepackagein.log" overwrite="no" />

      <servicepackageout log="no" path="C:\Program Files (x86)\K2 blackpearl\ServiceBroker\Logs\servicepackageout.log" overwrite="no" />