Simptoma
Prilikom čuvanja postojeće Excel datoteke u direktorijumu koji je sinhronizovan sa uslugom OneDrive ili kopiranjem i zamenom datoteke u direktorijumu koji je sinhronizovan sa uslugom OneDrive, operacije možda neće uspeti sa izuzetkom koji potiče iz usluge OneDrive. Slično ovome:
System.IO.IOException: Access to the cloud file is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite, Boolean checkHost) at Microsoft.Flow.RPA.Desktop.Modules.Folder.Actions.FolderActions.CopyFolder2(String sourceFolder, String destinationFolder, Boolean overwrite) at Microsoft.Flow.RPA.Desktop.Modules.Folder.Actions.FolderActions.CopyFolder(Variant source, Variant destination, Variant& copiedFolder, Boolean overwrite) --- End of inner exception stack trace --- at Microsoft.Flow.RPA.Desktop.Modules.Folder.Actions.CopyFolder.Execute(ActionContext context) at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)
Izazvati
Izgleda da postoji problem sa OneDrive funkcionalnošću "Datoteka na zahtev" koja kreira lažne datoteke u lokalnom direktorijumu bez stvarnog preuzimanja.
Zaobilaženje problema
Onemogućite funkciju "Datoteka na zahtev" usluge OneDrive putem postavki u proširenju OneDrive shell datoteke.