When migrating from File Share to SharePoint Online some files fail with the following error:
Adding document to target...
--->Failed: Exception: Access to the path '\\NETWORK_PATH\FileName.docx' is denied.
********** Extended Information **********
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, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync)
at System.IO.FileInfo.OpenRead()
at Metalogix.File.FileNode.GetContents()
at Metalogix.File.Actions.PasteFileAction.BuildDocumentDefinition(FileNode source, SPFolder target, NodeCollection siblingFiles, PasteFileAction action, String& destinationFilename, Boolean isCatalogDocumentsToFileShareEndpoint, IUploadManager uploadManager)
******************************************
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center