Quantcast
Channel: Microsoft Online: SharePoint Online forum
Viewing all articles
Browse latest Browse all 10096

SharePoint Online - Unable to connect to the remote server Error was encountered at or just before Line: '63' and Position: '20'

$
0
0
I'm trying to import a BDCM file to my SharePoint Online to get an external data using WCF Data service (ASP.Net Web site even with Anonymous Authentication Enabled this site uses OData) fails to import with the error “Application definition import failed. The following error occurred: Unable to connect to the remote server Error was encountered at or just before Line: '63' and Position: '20'.

I can import the same BDCM file without any error in my SharePoint on-premises site and use it in my external list.

Not sure what I’m doing wrong, I can access the SVC file without any issue but import fails. Do I need to create a Secure Store Service target application in order to  import the BDCM file? 

The ODataServiceMetadataAuthenticationMode and ODataServiceAuthenticationMode property in my BDCM file is set to PassThrough.

 <Property Name="ODataServiceMetadataAuthenticationMode" Type="System.String">PassThrough</Property>

<Property Name="ODataServiceAuthenticationMode" Type="System.String">PassThrough</Property>

PTS


Viewing all articles
Browse latest Browse all 10096

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>