Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Synch Failure

Synch service was running fine for 3 days then I get this error

The process cannot access the file 'C:\Program Files\SAP\SAP Business One Web Tools\SynchManager\logs\Revision_LIVE.log' because it is being used by another process.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)

at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)

at System.IO.File.OpenWrite(String path)

at NetPoint.SynchSBO.Log.WriteXMLLog(String theclass, String themethod, String message, SynchLogType thetype, SecurityTicket ticket, String objecttype, String objectid)

at NetPoint.SynchSBO.Log.WriteLog(String theclass, String themethod, String message, SynchLogType thetype, SecurityTicket ticket, String objecttype, String objectid)

at NetPoint.SynchSBO.Log.WriteLog(String theclass, String themethod, String message, SynchLogType thetype, SecurityTicket ticket)

at NetPoint.SynchSBO.Synch.SynchAll()

What other process would be using the log file? Any ideas.

Karl

replied

Sounds like there might have been a write to the logfile simultaneous to a read. Or there might have been another process like a virus scanner that had the file open for reading and the synchservice ran and tried to write to it.

You can set the service to auto restart after the 1st and 2nd failure if necessary

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question