I have a very strange issue...when I want to copy document file from document library A to another B (in C# code - document.CopyTo(destinationUrl)) I get an error "Value does not fall within the expected range".
But when I want to copy document file backwards from B to A with the same code, it works!
So I made a test with SharePoint feature "Send To"...I select file in doc lib A and choose option Send To -> Other Location...here I selected doc lib B and click OK to copy the file, but the operation also failed with the error "Unable
to contact the source server." if I make backwards operation (from B to A) it's works again!
Am I missing something or what? Both Document libraries are the same...I don't know where the problem is :\
Thanks for help!
View Complete Post