When multiple automation jobs are running, the following error message is received.
System.IO.IOException
The process cannot access the file 'C:\Users\<username>\AppData\Roaming\Quest Software\Toad for SQL Server 6.1\Connections.xml' because it is being used by another process.
Stack Trace:
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, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.Xml.XmlDocument.Save(String filename)
at Quest.Toad.ConnectionManager.ConnectionHierarchyStorage.Save(ConnectionHierarchy hierarchy, String fileLocation)
at Quest.Toad.ConnectionManager.ConnectionHierarchy.AddHost(ConnListNode connList, ConnectMediator connectMediator)
at Quest.Toad.ConnectionManager.ConnectionHierarchy.AddHost(ConnectMediator connectMediator)
at Quest.Toad.ConnectionManager.ConnectionHierarchy.AddConnectionInternal(Object sender, Connection connection, OpenConnectSettings openConnectSettings)