I'm building a small program in C# which will move a .pdf file from one folder to another. I'm using docMan.MoveNode() in order to move the document.
When debugging the code and reaching .MoveNode() method I get the following exception :
System.ObjectDisposedException: 'Cannot access a disposed object.
Object name: 'System.ServiceModel.Channels.ServiceChannel'.'
Does anyone know what it means by "Cannot access a disposed object"?
The .pdf file has a different category compared to the folder that I'm moving the file into. Does it has any connection?
Any other ways that could be used in order to move a file from one folder to another that I might be missing.
Thanks.