“Unable to render the data. If the problem persists, contact your web server administrator.” error in SharePoint 2016 BCS

Created an external list SharePoint 2016 using business data connectivity services, configured secure store target application and created external list in SharePoint.
The external list displayed this error message with a correlation ID.

“Unable to render the data. If the problem persists, contact your web server administrator.”

unable-to-render-the-data-if-the-problem-persists-contact-your-web-server-administrator

ULS Log viewer found this message in the logs:

Error while executing web part: Microsoft.BusinessData.Infrastructure.BdcException: The shim execution failed unexpectedly – Unable to obtain the application proxy for the context.. —> Microsoft.Office.SecureStoreService.Server.SecureStoreServiceException: Unable to obtain the application proxy for the context.

Solution:

The web application is not associated with the secure store service application.

  • Go to SharePoint Central Administration site
  • Application management >> Click on Configure service application associations under Service Applications.
  • select the web application in which your site exist, Check the “Application proxy group” column >> Make sure the BDC and secure store service applications check boxes checked.

service-application-association-sharepoint-2016

Advertisements
Advertisements

SharePoint 2016: 16 Hive and other important directories default location

Folder Location :

The 16 Hive folder is located at the following path

C:\Program Files\Common files\Microsoft Shared\Web Server Extensions\16

16 Hive and other important directories location SharePoint2016

16 Hive and other important directories location SharePoint 2016

Folder Structure :

The 16 Hive has a definite folder structure which holds the core SharePoint server files.

ADMISAPI:- It contains soap services for Central Administration. If this directory is altered, remote site creation and other methods exposed in the service will not function correctly.

Bin:- The directory contains all the core binary files, utilities which used by SharePoint Services. command line tools such as STSADM.EXE also present in this folder.

Client:- This directory contains files that are used for creating office apps.

Config:- This directory contains files used to extend IIS Web sites with SharePoint Server. If this directory or its contents are altered, Web application will not function correctly.

GAC:- This folder contains Microsoft.SharePoint.Client.Runtime.Portable.Resources.dll and Microsoft.SharePoint.Client.Runtime.Resources.DLL.

HCCab:- This directory has a set of cab files which has content information used by the SharePoint help system.

Help:- The folder contains html help file (.chm) used by the configuration wizard.

ISAPI:- This directory contains all the standard Web Services for SharePoint and resources and configuration files that the web services use.

Logs:- This is the folder where we can have all the SharePoint related logs will see. This is important when any problem or error occur in SharePoint you have to trace the logs files in this folder to get the error messages.

Policy:- This directory contains SharePoint 2016 Server policy files.

Resources:- This directory contains the core.resx file used for creating language packs for SharePoint. by which different SharePoint sites with different languages and cultures can be create.

Template:- It contains the core web site functionality like the features, templates, configurations, resources of a web site.

UserCode:- This directory contains files used to support sandbox solution.

Web Clients:- This directory contains files related to Client Object Model.

Web Services:- This directory is the root directory where SharePoint back-end Web services are hosted, for example, Excel and Search.

Other Directories In SharePoint 2016 :

C:\Inetpub\wwwroot\wss – This directory (or the corresponding directory under the Inetpub root on the server) is used as the default location for IIS Web sites.

C:\ProgramFiles\Microsoft Office Servers\16.0 – This directory is the installation location for SharePoint Server 2016 binaries and data. The directory can be changed during installation.

C:\ProgramFiles\Microsoft Office Servers\16.0\WebServices – This directory is the root directory where SharePoint back-end Web services are hosted, for example, Excel and Search.

C:\ProgramFiles\Microsoft Office Servers\16.0\Data – This directory is the root location where local data is stored, including search indexes.

C:\ProgramFiles\Microsoft Office Servers\16.0\Logs – This directory is the location where the run-time diagnostic logging is generated.