Acquisition Service Error
Problem
If the Acquisition Service throws an error similar to the one below it is likely because the service is running on a machine other than the folder it is watching. This means that the watched folder is being accessed over the network. In this case the number of maximum connections to the remote machine can quickly be exceeded.
Error processing \\MYSERVER\watchfolder\8139@20110802061350-M.txt No more connections can be made to this remote computer at this time because there are already as many connections as the computer can accept. 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, Int32 bufferSize, FileOptions options) at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) at System.IO.StreamReader..ctor(String path, Encoding encoding) at Foray.Adams.IO.FAStreamReader..ctor(String path) at Foray.Adams.CobanModule.CobanController.ProcessMFile(String baseFileName, AcquisitionData& acquisitionData)
Solution
Run the Acquisition Service on the same machine as the folder it is watching.
Related articles
© 2023 Foray, LLC - All Rights Reserved