Erreur avec la liste des types de contenu externe :"Impossible d'afficher ce composant WebPart"
-
09-12-2019 - |
Question
J'ai déployé un type de contenu externe sur mon serveur Sharepoint 2010 local à l'aide d'une solution Visual Studio.Le déploiement semble fonctionner.Je peux visualiser le détail de la partie contenu dans les pages de l'administration centrale.
J'ai créé une liste en utilisant ce type de contenu mais si j'essaie de la visualiser, j'obtiens l'erreur suivante :
Impossible d'afficher ce composant WebPart.Pour résoudre le problème, ouvrez cette page Web dans un éditeur HTML compatible Microsoft SharePoint Foundation tel que Microsoft SharePoint Designer.Si le problème persiste, contactez l'administrateur de votre serveur Web.
Si j'essaie réellement d'afficher la liste dans SharePoint Designer, je reçois un message d'erreur me plaignant d'une exception Soap.
J'ai consulté d'autres endroits sur Internet qui parlent de cette erreur, et la plupart d'entre eux suggèrent qu'il s'agit d'un problème de limitation de la connexion.Cependant, je suis capable d'entrer dans le ReadList()
méthode sur ma classe "Service" pour le type de contenu externe, et elle ne renvoie que 24 éléments.
Choses que j'ai essayées jusqu'à présent :
- Rétractation et redéploiement de la solution.
- Augmenter la « limite d'accélérateur » à un nombre plus grand.
- Redémarrage du serveur.
C'est le journal.J'ai remplacé l'identifiant de corrélation par (cid) pour que le corps du message soit inférieur à 30 000 caractères.
06/29/2012 09:08:37.85 w3wp.exe (0x1234) 0x055C SharePoint Foundation Topology e5mb Medium WcfReceiveRequest: LocalAddress: 'http://developer.treehouse.local:32843/c7771f1529d34a6db837da62c320e284/bdcservice.svc/http' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://www.microsoft.com/Office/2009/BusinessDataCatalog/BusinessDataCatalogSharedService/GetFilterDescriptorsForMethod' MessageId: 'urn:uuid:e455d5b8-8852-44ae-8326-20548325c427' (cid) 06/29/2012 09:08:37.85 w3wp.exe (0x1234) 0x055C SharePoint Foundation Monitoring nasq Medium Entering monitored scope (ExecuteWcfServerOperation) (cid) 06/29/2012 09:08:37.85 w3wp.exe (0x1234) 0x055C Business Connectivity Services Business Data f0qk Verbose Entering Bdc 'GetFilterDescriptorsForMethod' in BdcServiceApplication. (cid) 06/29/2012 09:08:37.85 w3wp.exe (0x1234) 0x055C Business Connectivity Services Business Data 9f5g Medium Calling GetFilterDescriptorsForMethod for Method with Id 143 (cid) 06/29/2012 09:08:37.85 w3wp.exe (0x1234) 0x055C Business Connectivity Services Business Data fbv2 Verbose Bdc Completed: proc_ar_GetFilterDescriptorsForMethodWithCount (cid) 06/29/2012 09:08:37.85 w3wp.exe (0x1234) 0x055C Business Connectivity Services Business Data f0ql Verbose Completed Bdc 'GetFilterDescriptorsForMethod' in BdcServiceApplication. (cid) 06/29/2012 09:08:37.85 w3wp.exe (0x1234) 0x055C SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=0.918273132479128 (cid) 06/29/2012 09:08:37.87 w3wp.exe (0x1234) 0x101C SharePoint Foundation Topology e5mb Medium WcfReceiveRequest: LocalAddress: 'http://developer.treehouse.local:32843/c7771f1529d34a6db837da62c320e284/bdcservice.svc/http' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://www.microsoft.com/Office/2009/BusinessDataCatalog/BusinessDataCatalogSharedService/GetLobSystemInstancesForLobSystem' MessageId: 'urn:uuid:fd836e4a-38c9-4118-a131-4c63a150786c' (cid) 06/29/2012 09:08:37.87 w3wp.exe (0x1234) 0x101C SharePoint Foundation Monitoring nasq Medium Entering monitored scope (ExecuteWcfServerOperation) (cid) 06/29/2012 09:08:37.87 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data f0qk Verbose Entering Bdc 'GetLobSystemInstancesForLobSystem' in BdcServiceApplication. (cid) 06/29/2012 09:08:37.87 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data 9f5v Medium Calling GetLobSystemInstancesForLobSystem for System with Id 111 (cid) 06/29/2012 09:08:37.87 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data fbv2 Verbose Bdc Completed: proc_ar_GetSystemInstancesForSystemWithCount (cid) 06/29/2012 09:08:37.87 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data f0ql Verbose Completed Bdc 'GetLobSystemInstancesForLobSystem' in BdcServiceApplication. (cid) 06/29/2012 09:08:37.87 w3wp.exe (0x1234) 0x101C SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=0.815187405103163 (cid) 06/29/2012 09:08:37.88 w3wp.exe (0x1234) 0x101C SharePoint Foundation Topology e5mb Medium WcfReceiveRequest: LocalAddress: 'http://developer.treehouse.local:32843/c7771f1529d34a6db837da62c320e284/bdcservice.svc/http' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://www.microsoft.com/Office/2009/BusinessDataCatalog/BusinessDataCatalogSharedService/GetAllProperties' MessageId: 'urn:uuid:1c6e98c8-a2e8-455e-9823-c2d7702d9f50' (cid) 06/29/2012 09:08:37.88 w3wp.exe (0x1234) 0x101C SharePoint Foundation Monitoring nasq Medium Entering monitored scope (ExecuteWcfServerOperation) (cid) 06/29/2012 09:08:37.88 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data f0qk Verbose Entering Bdc 'GetAllProperties' in BdcServiceApplication. (cid) 06/29/2012 09:08:37.88 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data 9f5x Medium Calling GetAllProperties for object with Id 147 (cid) 06/29/2012 09:08:37.88 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data fbv2 Verbose Bdc Completed: proc_ar_GetPropertiesForMetadataObject (cid) 06/29/2012 09:08:37.88 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data f0ql Verbose Completed Bdc 'GetAllProperties' in BdcServiceApplication. (cid) 06/29/2012 09:08:37.88 w3wp.exe (0x1234) 0x101C SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=0.817701691136723 (cid) 06/29/2012 09:08:37.89 w3wp.exe (0x1234) 0x101C SharePoint Foundation Topology e5mb Medium WcfReceiveRequest: LocalAddress: 'http://developer.treehouse.local:32843/c7771f1529d34a6db837da62c320e284/bdcservice.svc/http' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://www.microsoft.com/Office/2009/BusinessDataCatalog/BusinessDataCatalogSharedService/GetParametersForMethod' MessageId: 'urn:uuid:b2bc410a-525b-4fc4-82df-4e3a62899716' (cid) 06/29/2012 09:08:37.89 w3wp.exe (0x1234) 0x101C SharePoint Foundation Monitoring nasq Medium Entering monitored scope (ExecuteWcfServerOperation) (cid) 06/29/2012 09:08:37.89 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data f0qk Verbose Entering Bdc 'GetParametersForMethod' in BdcServiceApplication. (cid) 06/29/2012 09:08:37.89 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data 9f63 Medium Calling GetParametersForMethod for Method with Id 143 (cid) 06/29/2012 09:08:37.89 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data fbv2 Verbose Bdc Completed: proc_ar_GetParametersForMethodWithCount (cid) 06/29/2012 09:08:37.89 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data f0ql Verbose Completed Bdc 'GetParametersForMethod' in BdcServiceApplication. (cid) 06/29/2012 09:08:37.89 w3wp.exe (0x1234) 0x101C SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=0.847593758424604 (cid) 06/29/2012 09:08:37.90 w3wp.exe (0x1234) 0x101C SharePoint Foundation Topology e5mb Medium WcfReceiveRequest: LocalAddress: 'http://developer.treehouse.local:32843/c7771f1529d34a6db837da62c320e284/bdcservice.svc/http' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://www.microsoft.com/Office/2009/BusinessDataCatalog/BusinessDataCatalogSharedService/GetAllProperties' MessageId: 'urn:uuid:339484a2-1345-4358-9053-8214be332072' (cid) 06/29/2012 09:08:37.90 w3wp.exe (0x1234) 0x101C SharePoint Foundation Monitoring nasq Medium Entering monitored scope (ExecuteWcfServerOperation) (cid) 06/29/2012 09:08:37.90 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data f0qk Verbose Entering Bdc 'GetAllProperties' in BdcServiceApplication. (cid) 06/29/2012 09:08:37.90 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data 9f5x Medium Calling GetAllProperties for object with Id 112 (cid) 06/29/2012 09:08:37.90 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data fbv2 Verbose Bdc Completed: proc_ar_GetPropertiesForMetadataObject (cid) 06/29/2012 09:08:37.90 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data f0ql Verbose Completed Bdc 'GetAllProperties' in BdcServiceApplication. (cid) 06/29/2012 09:08:37.90 w3wp.exe (0x1234) 0x101C SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=0.888101700076406 (cid) 06/29/2012 09:08:37.91 w3wp.exe (0x1234) 0x101C SharePoint Foundation Topology e5mb Medium WcfReceiveRequest: LocalAddress: 'http://developer.treehouse.local:32843/c7771f1529d34a6db837da62c320e284/bdcservice.svc/http' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://www.microsoft.com/Office/2009/BusinessDataCatalog/BusinessDataCatalogSharedService/GetAccessControlEntries' MessageId: 'urn:uuid:ff1c7234-819e-4c45-bc92-69a788fa20a9' (cid) 06/29/2012 09:08:37.91 w3wp.exe (0x1234) 0x101C SharePoint Foundation Monitoring nasq Medium Entering monitored scope (ExecuteWcfServerOperation) (cid) 06/29/2012 09:08:37.91 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data f0qk Verbose Entering Bdc 'GetAccessControlEntries' in BdcServiceApplication. (cid) 06/29/2012 09:08:37.91 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data 9f5y Medium Calling GetMetadataObjectById with Id 147 (cid) 06/29/2012 09:08:37.91 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data fbv2 Verbose Bdc Completed: proc_ar_GetMethodInstanceById (cid) 06/29/2012 09:08:37.91 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data fbv2 Verbose Bdc Completed: proc_ar_GetAccessControlEntriesForMetadataObject (cid) 06/29/2012 09:08:37.91 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data 9f33 Verbose Reading ACEs from Database (cid) 06/29/2012 09:08:37.91 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data 9f34 Verbose Constructing SharePoint Foundation ACE with Identity 'c:0(.s|true' and Rights 'Execute' (cid) 06/29/2012 09:08:37.91 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data 9f34 Verbose Constructing SharePoint Foundation ACE with Identity 'i:0#.w|treehouse\developer' and Rights 'Execute, Edit, SetPermissions, SelectableInClients' (cid) 06/29/2012 09:08:37.91 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data f0ql Verbose Completed Bdc 'GetAccessControlEntries' in BdcServiceApplication. (cid) 06/29/2012 09:08:37.91 w3wp.exe (0x1234) 0x101C SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=1.23591126805222 (cid) 06/29/2012 09:08:37.93 w3wp.exe (0x1234) 0x101C SharePoint Foundation Topology e5mb Medium WcfReceiveRequest: LocalAddress: 'http://developer.treehouse.local:32843/c7771f1529d34a6db837da62c320e284/bdcservice.svc/http' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://www.microsoft.com/Office/2009/BusinessDataCatalog/BusinessDataCatalogSharedService/GetAllProperties' MessageId: 'urn:uuid:b8cdc2a9-e76a-4f5b-b23a-86df0f67d82d' (cid) 06/29/2012 09:08:37.93 w3wp.exe (0x1234) 0x101C SharePoint Foundation Monitoring nasq Medium Entering monitored scope (ExecuteWcfServerOperation) (cid) 06/29/2012 09:08:37.93 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data f0qk Verbose Entering Bdc 'GetAllProperties' in BdcServiceApplication. (cid) 06/29/2012 09:08:37.93 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data 9f5x Medium Calling GetAllProperties for object with Id 134 (cid) 06/29/2012 09:08:37.93 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data fbv2 Verbose Bdc Completed: proc_ar_GetPropertiesForMetadataObject (cid) 06/29/2012 09:08:37.93 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data f0ql Verbose Completed Bdc 'GetAllProperties' in BdcServiceApplication. (cid) 06/29/2012 09:08:37.93 w3wp.exe (0x1234) 0x101C SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=1.04957473645393 (cid) 06/29/2012 09:08:37.94 w3wp.exe (0x1234) 0x101C SharePoint Foundation Topology e5mb Medium WcfReceiveRequest: LocalAddress: 'http://developer.treehouse.local:32843/c7771f1529d34a6db837da62c320e284/bdcservice.svc/http' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://www.microsoft.com/Office/2009/BusinessDataCatalog/BusinessDataCatalogSharedService/GetFilterDescriptorsForMethod' MessageId: 'urn:uuid:4adc8f24-8aa2-45a1-a237-0e9f4854fa39' (cid) 06/29/2012 09:08:37.94 w3wp.exe (0x1234) 0x101C SharePoint Foundation Monitoring nasq Medium Entering monitored scope (ExecuteWcfServerOperation) (cid) 06/29/2012 09:08:37.94 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data f0qk Verbose Entering Bdc 'GetFilterDescriptorsForMethod' in BdcServiceApplication. (cid) 06/29/2012 09:08:37.94 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data 9f5g Medium Calling GetFilterDescriptorsForMethod for Method with Id 143 (cid) 06/29/2012 09:08:37.94 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data fbv2 Verbose Bdc Completed: proc_ar_GetFilterDescriptorsForMethodWithCount (cid) 06/29/2012 09:08:37.94 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data f0ql Verbose Completed Bdc 'GetFilterDescriptorsForMethod' in BdcServiceApplication. (cid) 06/29/2012 09:08:37.94 w3wp.exe (0x1234) 0x101C SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=0.704000089396837 (cid) 06/29/2012 09:08:37.95 w3wp.exe (0x1234) 0x101C SharePoint Foundation Topology e5mb Medium WcfReceiveRequest: LocalAddress: 'http://developer.treehouse.local:32843/c7771f1529d34a6db837da62c320e284/bdcservice.svc/http' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://www.microsoft.com/Office/2009/BusinessDataCatalog/BusinessDataCatalogSharedService/GetEntitiesForSystem' MessageId: 'urn:uuid:343721be-2016-4bc6-a5de-6532fdde8d47' (cid) 06/29/2012 09:08:37.95 w3wp.exe (0x1234) 0x101C SharePoint Foundation Monitoring nasq Medium Entering monitored scope (ExecuteWcfServerOperation) (cid) 06/29/2012 09:08:37.95 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data f0qk Verbose Entering Bdc 'GetEntitiesForSystem' in BdcServiceApplication. (cid) 06/29/2012 09:08:37.95 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data fbv2 Verbose Bdc Completed: proc_ar_GetEntitiesForSystemWithCount (cid) 06/29/2012 09:08:37.95 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data f0ql Verbose Completed Bdc 'GetEntitiesForSystem' in BdcServiceApplication. (cid) 06/29/2012 09:08:37.95 w3wp.exe (0x1234) 0x101C SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=0.728025489273078 (cid) 06/29/2012 09:08:37.96 w3wp.exe (0x1234) 0x101C SharePoint Foundation Topology e5mb Medium WcfReceiveRequest: LocalAddress: 'http://developer.treehouse.local:32843/c7771f1529d34a6db837da62c320e284/bdcservice.svc/http' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://www.microsoft.com/Office/2009/BusinessDataCatalog/BusinessDataCatalogSharedService/GetServiceApplicationId' MessageId: 'urn:uuid:c3f0b319-3bdd-4811-a7e7-15d76e22ff4a' (cid) 06/29/2012 09:08:37.96 w3wp.exe (0x1234) 0x101C SharePoint Foundation Monitoring nasq Medium Entering monitored scope (ExecuteWcfServerOperation) (cid) 06/29/2012 09:08:37.96 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data f0qk Verbose Entering Bdc 'GetServiceApplicationId' in BdcServiceApplication. (cid) 06/29/2012 09:08:37.96 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data f0ql Verbose Completed Bdc 'GetServiceApplicationId' in BdcServiceApplication. (cid) 06/29/2012 09:08:37.96 w3wp.exe (0x1234) 0x101C SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=0.209803201244851 (cid) 06/29/2012 09:08:37.96 w3wp.exe (0x1234) 0x101C SharePoint Foundation Topology e5mb Medium WcfReceiveRequest: LocalAddress: 'http://developer.treehouse.local:32843/c7771f1529d34a6db837da62c320e284/bdcservice.svc/http' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://www.microsoft.com/Office/2009/BusinessDataCatalog/BusinessDataCatalogSharedService/GetServiceApplicationId' MessageId: 'urn:uuid:5e70342f-05fe-425c-8a9e-676d6a8b7887' (cid) 06/29/2012 09:08:37.96 w3wp.exe (0x1234) 0x101C SharePoint Foundation Monitoring nasq Medium Entering monitored scope (ExecuteWcfServerOperation) (cid) 06/29/2012 09:08:37.96 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data f0qk Verbose Entering Bdc 'GetServiceApplicationId' in BdcServiceApplication. (cid) 06/29/2012 09:08:37.96 w3wp.exe (0x1234) 0x101C Business Connectivity Services Business Data f0ql Verbose Completed Bdc 'GetServiceApplicationId' in BdcServiceApplication. (cid) 06/29/2012 09:08:37.96 w3wp.exe (0x1234) 0x101C SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=0.455085772074384 (cid) 06/29/2012 09:08:41.69 w3wp.exe (0x1234) 0x055C SharePoint Foundation Topology e5mb Medium WcfReceiveRequest: LocalAddress: 'http://developer.treehouse.local:32843/b7554e1c26914c7b995f090317cb23bd/MetadataWebService.svc' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://schemas.microsoft.com/sharepoint/taxonomy/soap/IDataAccessReadOnly/GetChanges' MessageId: 'urn:uuid:e49a666e-46d3-4971-a05e-94c02ab1a130' 3b90d8f1-1031-40ca-b1f3-bb407556127c 06/29/2012 09:08:41.69 w3wp.exe (0x1234) 0x055C SharePoint Foundation Monitoring nasq Medium Entering monitored scope (ExecuteWcfServerOperation) 3b90d8f1-1031-40ca-b1f3-bb407556127c 06/29/2012 09:08:41.69 w3wp.exe (0x1234) 0x055C SharePoint Server Taxonomy fuc5 Medium MetadataWebServiceApplication.GetChanges called on 'Managed Metadata Service' starting. 3b90d8f1-1031-40ca-b1f3-bb407556127c 06/29/2012 09:08:41.69 w3wp.exe (0x1234) 0x055C SharePoint Server Taxonomy fuc6 Medium MetadataWebServiceApplication.GetChanges called on 'Managed Metadata Service' completed. 3b90d8f1-1031-40ca-b1f3-bb407556127c 06/29/2012 09:08:41.69 w3wp.exe (0x1234) 0x055C SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=1.76810181182245 3b90d8f1-1031-40ca-b1f3-bb407556127c 06/29/2012 09:08:44.83 w3wp.exe (0x1234) 0x055C SharePoint Foundation Topology e5mb Medium WcfReceiveRequest: LocalAddress: 'http://developer.treehouse.local:32843/c7771f1529d34a6db837da62c320e284/bdcservice.svc/http' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://www.microsoft.com/Office/2009/BusinessDataCatalog/BusinessDataCatalogSharedService/GetAllLocalizedNames' MessageId: 'urn:uuid:bdf257e5-6366-4bc7-83ee-b4b8fe385c2f' (cid) 06/29/2012 09:08:44.83 w3wp.exe (0x1234) 0x055C SharePoint Foundation Monitoring nasq Medium Entering monitored scope (ExecuteWcfServerOperation) (cid) 06/29/2012 09:08:44.83 w3wp.exe (0x1234) 0x055C Business Connectivity Services Business Data f0qk Verbose Entering Bdc 'GetAllLocalizedNames' in BdcServiceApplication. (cid) 06/29/2012 09:08:44.83 w3wp.exe (0x1234) 0x055C Business Connectivity Services Business Data 9f5w Medium Calling GetAllLocalizedNames for object with Id 112 (cid) 06/29/2012 09:08:44.84 w3wp.exe (0x1234) 0x055C Business Connectivity Services Business Data fbv2 Verbose Bdc Completed: proc_ar_GetAllLocalizedNamesForMetadataObjectWithCount (cid) 06/29/2012 09:08:44.84 w3wp.exe (0x1234) 0x055C Business Connectivity Services Business Data f0ql Verbose Completed Bdc 'GetAllLocalizedNames' in BdcServiceApplication. (cid) 06/29/2012 09:08:44.84 w3wp.exe (0x1234) 0x055C SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=0.850946139802684 (cid) 06/29/2012 09:08:44.84 w3wp.exe (0x1234) 0x0CFC SharePoint Foundation Topology e5mb Medium WcfReceiveRequest: LocalAddress: 'http://developer.treehouse.local:32843/c7771f1529d34a6db837da62c320e284/bdcservice.svc/http' Channel: 'System.ServiceModel.Channels.ServiceChannel' Action: 'http://www.microsoft.com/Office/2009/BusinessDataCatalog/BusinessDataCatalogSharedService/GetIdentifiersForEntity' MessageId: 'urn:uuid:54bd432d-12d9-4ec6-8f9a-89785f85778d' (cid) 06/29/2012 09:08:44.84 w3wp.exe (0x1234) 0x0CFC SharePoint Foundation Monitoring nasq Medium Entering monitored scope (ExecuteWcfServerOperation) (cid) 06/29/2012 09:08:44.84 w3wp.exe (0x1234) 0x0CFC Business Connectivity Services Business Data f0qk Verbose Entering Bdc 'GetIdentifiersForEntity' in BdcServiceApplication. (cid) 06/29/2012 09:08:44.84 w3wp.exe (0x1234) 0x0CFC Business Connectivity Services Business Data 9f5h Medium Calling GetIdentifiersForEntity for Entity with Id 134 (cid) 06/29/2012 09:08:44.84 w3wp.exe (0x1234) 0x0CFC Business Connectivity Services Business Data fbv2 Verbose Bdc Completed: proc_ar_GetIdentifiersForEntityWithCount (cid) 06/29/2012 09:08:44.84 w3wp.exe (0x1234) 0x0CFC Business Connectivity Services Business Data f0ql Verbose Completed Bdc 'GetIdentifiersForEntity' in BdcServiceApplication. (cid) 06/29/2012 09:08:44.84 w3wp.exe (0x1234) 0x0CFC SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (ExecuteWcfServerOperation). Execution Time=0.707352470774917 (cid)
La journalisation pour BCS est réglée au niveau le plus élevé, et pourtant rien ici ne semble suggérer une erreur.
La solution
Il semble que de nombreuses choses peuvent provoquer cette erreur, car il s'agit d'un message d'erreur générique provenant du composant WebPart List plutôt que du service BCC, il est extrêmement vague.Je poste ceci ici dans l'espoir que cela aidera quelqu'un d'autre et lui évitera de se cogner la tête contre un mur pendant deux jours.
Pour ma situation, je l'ai retrouvé sans "marquer" les identifiants dans le type de retour <TypeDescriptor>
éléments, comme ça...
Avant:
<TypeDescriptors>
<TypeDescriptor Name="TCU" TypeName="Model.TCU, Model" IsCollection="false">
<TypeDescriptors>
<TypeDescriptor Name="Code" TypeName="System.String" />
<TypeDescriptor Name="Title" TypeName="System.String" />
<TypeDescriptor Name="Type" TypeName="System.String" />
</TypeDescriptors>
</TypeDescriptor>
Après:
<TypeDescriptors>
<TypeDescriptor Name="TCU" TypeName="Model.TCU, Model" IsCollection="false">
<TypeDescriptors>
<TypeDescriptor Name="Code" TypeName="System.String" IdentifierName="Code" />
<TypeDescriptor Name="Title" TypeName="System.String" />
<TypeDescriptor Name="Type" TypeName="System.String" />
</TypeDescriptors>
</TypeDescriptor>
En gardant à l'esprit que vous aurez probablement ce genre de chose au moins deux fois (dans votre ReadItem
et ReadList
méthodes XML) car le BDCM ne semble permettre aucune sorte de modèle que je puisse trouver.
Autres conseils
J'étais confronté au même problème ces jours-ci et j'ai trouvé la solution dans mon cas !Je poste ceci en espérant que cela puisse aider.
Contexte:
Sharepoint 2013 en ligne.Données externes dans SQLSERVER 2012.
Scénario:
- via SPD, j'ai créé un type de contenu externe, en choisissant le serveur SQL pour la source de données.
- J'ai créé une liste externe à partir de cet ECT.
Problème:
Sur mon site, lorsque j'essaie d'afficher ma liste, j'obtiens le message :
Impossible d'afficher ce composant WebPart.Pour résoudre le problème, ouvrez cette page Web dans un éditeur HTML compatible Microsoft SharePoint Foundation tel que Microsoft SharePoint Designer.Si le problème persiste, contactez l'administrateur de votre serveur Web.
Solution:
Dans SPD -> Types de contenu externes, j'ai modifié mes propriétés de connexion ECT et supprimé le port du serveur.
J'espère que cela aide !