Peter Wyss
Peter Wyss

Reputation: 435

SharePoint Designer 2013 -> REST Service Connection -> SoapException

Hy

In SharePoint Designer 2013:

When I use this Data Connection as a DataList (for example on my SharePoint HomePage), i get the following Exception (in the Designer):

When I look at the SharePoint Logs, I see the following Exception:

SOAP exception: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.SharePoint.WebPartPages.DataFormWebPart.GetHierarchicalXPathNavigator(IHierarchicalDataSource ds) at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigatorInternal() at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator() at Microsoft.SharePoint.SoapServer.WebPartPagesWebService.GetDataFromDataSourceControl(String dscXml, String contextUrl) 0152039d-7db3-20a8-718f-0c727b68e96b

When I open the REST URL in my Web-Browser, everything works fine.

By the way, I've already enabled the intranet-calls, so this isn't the problem:

$farm=get-spfarm
$farm.properties.disableintranetcalls=$false
$farm.properties.disableintranetcallsfromapps=$false
$farm.Update()

Thanks for your help!

Kind regards,

Peter

Upvotes: 1

Views: 916

Answers (0)

Related Questions