The process cannot access the file timestamp.log because it is being used by another process.
kbt130749
PRODUCTIssue
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 blackpearlServiceBrokerLogs imestamp.log' because it is being used by another process".
Symptoms
This error indicates that SmO logging is enabled and actively used in the environment.
Resolution
Open K2HostServer.exe.config file (default location is "[InstallDrive]:Program Files (x86)K2 blackpearlHost ServerBin"") 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:
<logging>
<serviceauthentication log="no" path="C:Program Files (x86)K2 blackpearlServiceBrokerLogsserviceauth.log" overwrite="no" />
<timestamping log="no" path="C:Program Files (x86)K2 blackpearlServiceBrokerLogs imestamp.log" overwrite="no" />
<brokerpackagein log="no" path="C:Program Files (x86)K2 blackpearlServiceBrokerLogsrokerpackagein.log" overwrite="no" />
<brokerpackageout log="no" path="C:Program Files (x86)K2 blackpearlServiceBrokerLogsrokerpackageout.log" overwrite="no" />
<servicepackagein log="no" path="C:Program Files (x86)K2 blackpearlServiceBrokerLogsservicepackagein.log" overwrite="no" />
<servicepackageout log="no" path="C:Program Files (x86)K2 blackpearlServiceBrokerLogsservicepackageout.log" overwrite="no" />
</logging>