Fabian Williams SharePoint Blog

Solving problems with SharePoint day and night

Weird SharePoint Service Error SPHelp Please

Scenario

Update: 10/21/2013 – I didnt bother trying to figure it out or troubleshoot it anymore, I had a HyperV ShapShot from a week earlier, i just restored it to that, and all is working.

 

So, I was looking at my Business Connectivity Service App in Central Admin and when I click on the Service App here

image

I got this error below.

image

taking the Correlation ID and looking in the ULS Log I saw the below of interest.

   1: 10/20/2013 17:43:16.49     w3wp.exe (0x0934)                           0x0DC8    SharePoint Foundation             Claims Authentication             af32i    Unexpected    SPIisWebServiceAuthorizationManager: SPIisWebServiceApplication with name 'Business Connectivity Service Application' and type 'Microsoft.SharePoint.BusinessData.SharedService.BdcServiceApplication' received request with ServiceSecurityContext whose primary identity has no valid data to check against ACL.     

   2: 10/20/2013 17:43:16.50     w3wp.exe (0x1DC0)                           0x1474    Business Connectivity Services    Business Data                     ajqrj    Unexpected    Logging unknown/unexpected client side exception: SecurityAccessDeniedException. This will cause this application server to be removed from the load balancer queue. Exception: System.ServiceModel.Security.SecurityAccessDeniedException: Access is denied.    Server stack trace:      at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)     at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)     at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)     at System.ServiceModel.Channels.ServiceChannelProxy.InvokeSer...    f49f4e9c-e6ee-002a-4789-8bf13431fe73

   3: 10/20/2013 17:43:16.50*    w3wp.exe (0x1DC0)                           0x1474    Business Connectivity Services    Business Data                     ajqrj    Unexpected    ...vice(IMethodCallMessage methodCall, ProxyOperationRuntime operation)     at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)    Exception rethrown at [0]:      at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)     at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)     at Microsoft.SharePoint.BusinessData.SharedService.IBdcServiceApplication.GetEntitiesLikeNameAndNamespace(String wildcardedNamespace, String wildcardedName, Int32 callerCultureLcid, Boolean activeOnly, Guid partitionId)     at Microsoft.SharePoint.BusinessData.SharedService.BdcServiceApplicationProxy.<>c__DisplayClassab.<GetEntitiesLikeNameAndNamespace>b__aa(IBdcServiceApplication serviceApplication)     at Micr...    f49f4e9c-e6ee-002a-4789-8bf13431fe73

   4: 10/20/2013 17:43:16.50*    w3wp.exe (0x1DC0)                           0x1474    Business Connectivity Services    Business Data                     ajqrj    Unexpected    ...osoft.SharePoint.BusinessData.SharedService.BdcServiceApplicationProxy.Execute[T](String operationName, UInt32 maxRunningTime, ExecuteDelegate`1 operation, Boolean performCanaryCheck, Boolean isChannelThatDelegatesIdentity)    f49f4e9c-e6ee-002a-4789-8bf13431fe73

   5: 10/20/2013 17:43:16.50     w3wp.exe (0x1DC0)                           0x1474    Business Connectivity Services    Business Data                     afoqa    Monitorable    Exception thrown in method ViewBDCApplication.InitializeEntityView. Exception type is System.ServiceModel.Security.SecurityAccessDeniedException. The error message is An error occurred. Administrators, see the server log for more information.    f49f4e9c-e6ee-002a-4789-8bf13431fe73

   6: 10/20/2013 17:43:16.50     w3wp.exe (0x1DC0)                           0x1474    Business Connectivity Services    Business Data                     afoqb    Unexpected    Inner exception 1:     f49f4e9c-e6ee-002a-4789-8bf13431fe73

   7: 10/20/2013 17:43:16.50     w3wp.exe (0x1DC0)                           0x1474    Business Connectivity Services    Business Data                     afoqc    Unexpected    System.ServiceModel.Security.SecurityAccessDeniedException: An error occurred. Administrators, see the server log for more information.     at Microsoft.SharePoint.BusinessData.SharedService.BdcServiceApplicationProxy.Execute[T](String operationName, UInt32 maxRunningTime, ExecuteDelegate`1 operation, Boolean performCanaryCheck, Boolean isChannelThatDelegatesIdentity)     at Microsoft.SharePoint.BusinessData.SharedService.BdcServiceApplicationProxy.GetEntitiesLikeNameAndNamespace(String wildcardedNamespace, String wildcardedName, Int32 callerCultureLcid, Boolean activeOnly, Guid partitionId)     at Microsoft.SharePoint.BusinessData.Administration.EntityCollection.EnsureEntities()     at Microsoft.SharePoint.BusinessData.Administration.EntityCollection.GetEnumerator()     at Microsoft.Share...    f49f4e9c-e6ee-002a-4789-8bf13431fe73

   8: 10/20/2013 17:43:16.50*    w3wp.exe (0x1DC0)                           0x1474    Business Connectivity Services    Business Data                     afoqc    Unexpected    ...Point.ApplicationPages.ViewBDCApplication.FillTableWithEntities(DataTable entitiesTable, IEnumerable`1 entities)     at Microsoft.SharePoint.ApplicationPages.ViewBDCApplication.InitializeEntityView()    f49f4e9c-e6ee-002a-4789-8bf13431fe73

Now, what I found ODD is that…

  • I can still use ALL the External Content Types
  • I have and ALL my External Lists are working

But I cannot administer the Service in Central Administration.

What I have looked at and Tried

I have checked the amount of RAM i have on my VM…

image

I have started and stopped IIS by doing an IIS RESET, Ive also even bounced the box completely

I have tried creating a new Service App of the same type, it Created correctly, but got the same Error when I clicked on it. I named it different and created a separate DB.

Ive gone into Services on Server and Stopped the service and then Restarted it. No dice.

image

 

Thank for any Comments and Suggestions in Advance

I really appreciate you looking at this. Ive used all my DEV Magic 🙂

October 20, 2013 Posted by | Business Connectivity Services, SharePoint Errors | Leave a comment