Quantcast
Viewing all articles
Browse latest Browse all 10096

Can't access subsite Sharepoint 2010 online remotely - Error The remote server returned an error: (404) Not Found.

I can't access a subsite in Sharepoint 2010 online - Error The remote server returned an error: (404) Not Found. But the root site works.So if i change the siteURL tohttps://sample.sharepoint.com/subsite/ i get error:

Error The remote server returned an error: (404) Not Found.

Any ideas and thanks in advance.

MsOnlineClaimsHelper claimsHelper =newMsOnlineClaimsHelper("user@microsoft.com.au","password","https://sample.sharepoint.com/");using(ClientContext context =newClientContext("https://sample.sharepoint.com/")){



                context.ExecutingWebRequest+= claimsHelper.clientContext_ExecutingWebRequest;

                context.Load(context.Web);

                context.ExecuteQuery();Response.Write("Name of the web is: "+ context.Web.Title);}

Viewing all articles
Browse latest Browse all 10096

Trending Articles