ADT/ODE: Transporter and Synchronizer Can't Share Log File

Last reviewed: October 20, 1997
Article ID: Q170551
The information in this article applies to:
  • Microsoft Office 97 Developer Edition Tools
  • Microsoft Access Developer's Toolkit, version 7.0

SYMPTOMS

Advanced: Requires expert coding, interoperability, and multiuser skills.

When you start Microsoft Replication Manager, you may receive the following error message:

   Sharing Violation while attempting to open log file <path to log file>
   in Deny Write mode.

This is followed by the following error, depending on which version you are using.

In Microsoft Replication Manager 3.5

   Microsoft Replication Manager can't start the Synchronizer. Without
   the Synchronizer running, no synchronization of data can occur.

   Do you want to work without the Synchronizer?

   Synchronizer could not be initialized.

In Microsoft Replication Manager 3.0

   Microsoft Replication Manager can't start the Transporter. Without
   the Transporter running, no synchronization of data can occur.

   Do you want to work without the Transporter?

   Transport could not be initialized.

CAUSE

You are trying to run Transporter and Synchronizer at the same time, and both are configured to use the same log file.

RESOLUTION

Reconfigure either Transporter or Synchronizer to use a different log file.

STATUS

Microsoft has confirmed this to be a problem in Microsoft Access Developer's Toolkit 7.0 and Microsoft Office 97 Developer Edition Tools. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

When Synchronizer and Transporter start, they attempt to open their log files for write access, and deny write access to other applications. If Synchronizer and Transporter are configured to use the same log file, the first application started can successfully access the log file for this mode. However, this prevents the second application from accessing the file in the same mode, and an error occurs during startup.

Steps to Reproduce Problem

  1. Start Microsoft Replication Manager 3.0.

  2. On the Tools menu, click Configure Microsoft Replication Manager.

  3. Add a managed folder if one is not in the list, and then click Next. The folder you select does not need to contain any replicas.

  4. Select a shared network folder for indirect synchronizations, and then click Next.

  5. In the "Path to Log File" box, type:

    C:\My Documents\Transporter.log

    Click Finish. Transporter will start on your computer.

  6. On the File menu, click Exit and Stop Transporter.

  7. Start Microsoft Replication Manager 3.5.

  8. On the Tools menu, click Configure Microsoft Replication Manager.

  9. Click Next.

  10. Click to select the Support Indirect Synchronization check box, and then click Next.

  11. Click Next.

  12. Select a shared Network folder for indirect synchronizations, and then click Next.

  13. Click No to indicate that your computer is not an Internet server, and then click Next.

  14. In the "Path to Log File" box, type:

    C:\My Documents\Transporter.log

    Note that this is the same path selected for the log file in step 5.

  15. Click Finish. Synchronizer will start on your computer.

  16. Quit Microsoft Replication Manager 3.5. Do not stop Synchronizer.

  17. Start Microsoft Replication Manager 3.0. Note that you receive the errors described in the "Symptoms" section.

REFERENCES

For more information about the Synchronizer log file, search the Microsoft Replication Manager Help Index for "log, Synchronizer."

Keywords          : GnlOthr OdeRplMgr kbother
Version           : 7.0 97
Platform          : WINDOWS
Hardware          : x86
Issue type        : kbbug
Solution Type     : Info_Provided


================================================================================


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: October 20, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.