I have a SharePoint 2016 Farm with 3 Servers. 1 SQL Server, 1 Application and 1 Web Front End Server. When trying to click on a App (under Site Contents) I get "An unexpected error has occurred" and from the ULS Logs I can see the following MEssage before the error occurs:
WcfSendRequest: RemoteAddress: 'http://XXXXX:32843/374c2c90cb10479091275218eb3fbfa1/AppMng.svc' Channel: 'Microsoft.SharePoint.AppManagement.IAppManagementServiceApplication' Action: 'http://schemas.microsoft.com/sharepoint/soap/IAppManagementServiceApplication/GetAppManagementDatabaseMap' MessageId: XXXXXXX'
And than:
Exception returned from back end service.
System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]:
The service implementation object was not initialized or is not available.
(Fault Detail is equal to An ExceptionDetail, likely created by
IncludeExceptionDetailInFaults=true, whose value is:
System.InvalidOperationException: The service implementation object was not
initialized or is not available.
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance,
Object[] inputs, Object[]& outputs)
at
System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
at
System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean
isOperationContextSet)).
(with IncludeExceptionDetailInFaults=true)
Now comes the strange thing: As soon as I change the webapplication to run on the Application Server, so without calling the WFE all works fine.
I have removed and added subscription settings service application, App management service application and under Service Connections all Proxys are checked.
Can someone help me?
Thanks in advance!