
This seems like it's working in our SharePoint instances now! An update must be rolling out
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
We recently have been experiencing an issue when loading the ServerRelativePath property of the Web object.
This was previously working yesterday and for the last 4+ years but suddenly has stopped.
This seems like it's working in our SharePoint instances now! An update must be rolling out
Hi @AdamMurchison-0306 ,
Since we can't reproduce your situation, we need to narrow down the problem and try some things.
ServerRelativePath
property from being accessed correctly.If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Hi @AdamMurchison-0306 ,
Maybe the truth is as you say. This could be an update issue, and for now, we'll just have to be patient and wait for an update to fix the problem. It seems as though you've found a temporary solution to the problem. I would make a brief summary of this thread:
Issue Symptom:
CSOM Microsoft.SharePoint.Client.Web throws exception when loading ServerRelativePath.
Current status:
A workaround seems to be using Web.RootFolder.ServerRelativePath
. The latest version of the CSOM package https://www.nuget.org/packages/Microsoft.SharePointOnline.CSOM (16.1.25611.12000) still provides the property on the Web
object.
You could click the "Accept Answer" button for this summary to close this thread, and this can make it easier for other community member's to see the useful information when reading this thread. Thanks for your understanding!