Hello,
It seems there is problem with permission that's why 404 is returning. Have you tried to add credential in your code? If not then do so
using (var context = new ClientContext("site URL"))
{
context.Credentials = new NetworkCredential("userName", "Userpassword", "domain");
var site = context.Web;
context.Load(site, s => s.Title);
context.ExecuteQuery();
Console.WriteLine(site.Title);
Console.ReadLine();
}
If still face issue then share your code with us.
Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help
No comments:
Post a Comment