create folder in share point using dws service RRS feed

  • Question

  • Hi all,

    Can any one suggest me how to create folder in share point using dws service.I wrote code like below but am facing problem like server failure error"

    Dws ds = new Dws();
    ds.Credentials = new NetworkCredential(Login,Password);
    ds.Url = "<url>";
    ds.PreAuthenticate = true;
    string strResult = "";
    strResult = ds.CreateFolder("SiteName/Documents/NewFolderName");

    Friday, April 17, 2015 11:28 AM

All replies

  • Have you actually specified a correct value for the Url property ? It should be something like:


    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Friday, April 17, 2015 12:20 PM