The Chat Log File Is Locked At All Times

Last reviewed: February 3, 1998
Article ID: Q160860
The information in this article applies to:
  • Microsoft Commercial Internet System, version 1.0

SYMPTOMS

When you try to rename the log file created by the Chat logging service,the following error message appears:

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

The persistent channel that I created has the "autostart" flag enabled.

CAUSE

Once the logging service is started, the file is locked. The Chattran.asp, which is the Chat transcript executed from the Internet Explorer, causes the lock as well.

WORKAROUND

There are several ways to work around this problem:

  • Instead of renaming the file, you may be able to use the copy command.
  • Disable the "autostart" flag; this allows you to rename the file. This workaround works only if the channel is empty.
  • Use the CHATCMD command "KILLCHANNEL."
  • Restart the server and rename the file before starting the logging service.

Please note the logging service is a sample program; it provides a simple service to demonstrate the Chat server capability.


Additional query words: 1.00
Keywords : kbhowto
Version : 1.00
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 3, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.