Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

scom: error in uploading a file to document libary

$
0
0

Hello,

For  a new document library, in a console application,  I try to upload a document, using the information from:

 http://msdn.microsoft.com/en-us/library/ee956524%28office.14%29.aspx

in statement: ClientOM.File.SaveBinaryDirect(clientContext,
                    "/testDoc/aagfhfghgfhweqrqwereda.docx", fileStream, false); in false, I get error:  The file already exists and in true, I get the error:  The remote server returned an error: (409) Conflict.

The docx name is irrelavent, whatever I put, the same errors. The  library remains empty and there aren't any checked out files.

Any advices?

Thank you


Christos


Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>