none
erreur connexion liste externe RRS feed

  • Question

  • Bonjour,

    J'ai crée un type de contenu externe dans lequel je veux simplement lire une table qui se situe sur un ERP pour l'afficher dans une liste externe.
    J'ai ajouté l'utilisateur Administrateur dans les autorisations d'objet et dans les autorisations du magasin de métadonnées. Mais sans succès.
    Lorsque je vais sur le site sharepoint avec l'utilisateur Administrateur (ou bien un autre), j'ai tout le temps cette erreur:

    Echec de l'ouverture de session de l'utilisateur 'AUTORITE NT\ANONYMOUS LOGON'.

    Avez-vous une idée de la provenance du problème ?

    Merci d'avance.
    vendredi 9 septembre 2011 21:00

Toutes les réponses

  • Bonjour,

     

    Merci pour cette réponse. Donc d'après ce que j'ai compris, il s'agit d'un problème d'identification entre le serveur sharepoint (iis) et le serveur de BdD.

    Mais dans mon cas, comment résoudre ce problème ?

     

    Merci d'avance.

    dimanche 11 septembre 2011 17:18
  • Avec le Secure Store ID (en francais je pense que c'est le magasin de sécurité je sais plus quoi)

    http://blog.rafelo.com/2010/02/bcs-external-list-error-cannot-connect.html

     


    Xavier VANNESTE
    www.xvanneste.com
    media.xvanneste.com
    blog.xvanneste.com
    • Proposé comme réponse Pascal P dimanche 11 septembre 2011 18:17
    dimanche 11 septembre 2011 17:57
    Modérateur
  • Je suis dans l'administration centrale, mais je ne trouve pas dans quel menu se situe cette option ?

    Merci encore pour l'aide.

    dimanche 11 septembre 2011 19:06
  • J'ai trouvé où était situé ce menu.

    Maintenant lorsque je me connecte sur le site sharepoint (après avoir configuré l'id de l'application, etc...), j'ai cette erreur:

     

    Impossible de trouver l’entité (type de contenu externe) à l’aide de l’espace de noms « http://tricoflextest » et du nom « articles ».

     

    Pouvez-vous me dire à quoi ceci correspond ?

    Merci encore

    • Modifié mimi1255 dimanche 11 septembre 2011 19:33
    dimanche 11 septembre 2011 19:31
  • Bonjour,

     

    J'ai légèrement avancé sur ce problème, maintenant j'ai cette erreur:

    Les informations d’identification sont introuvables pour l’utilisateur actuel dans l’application cible « BdD AX Test ». Définissez les informations d’identification pour l’utilisateur actuel.

    Où dois-je définir ces informations d'identifications ? Sachant que BdD AX Test, est l'ID de l'application.

     

    Merci d'avance pour votre aide.

    lundi 12 septembre 2011 07:22
  • Bonjour,

    Il faut que vous vérifiez que le compte paramétré sous SharePoint pour se connecter à l'application ait les permissions adéquates sur votre datastore.

    Le message que vous nous transmettez indique clairement que le datastore n'a pas connaissance de l'utilisateur. Si le datastore était SQL Server, j'aurais ajouté un login à SQL Server et positionné à minima des permissions de lecture sur la base en question.


    Nicolas Cambot - Blog Nelite
    lundi 12 septembre 2011 09:09
  • Bonjour,

     

    En effet ça fonctionne.

    Par contre maintenant si j'essaye d'afficher dans une liste sur certaines tables, j'ai cette erreur:

     

    Impossible d’afficher ce composant WebPart. Pour résoudre le problème, ouvrez cette page Web dans un éditeur HTML compatible avec Microsoft SharePoint Foundation tel que Microsoft SharePoint Designer. Si le problème persiste, contactez l’administrateur du serveur Web.



    ID de corrélation :65a578c1-7ae0-4eff-a85b-30d866ee27b8

    Pour certaines tables je n'ai pas d'erreur, auriez-vous une idée sur la provenance du problème ?

     

    Merci d'avance.


    • Modifié mimi1255 lundi 12 septembre 2011 09:37
    lundi 12 septembre 2011 09:36
  • Bonjour,

    Pour trouver le message d'erreur ayant trait à l'ID de correlation, vous pouvez utiliser la méthode suivante :

    http://blogs.codes-sources.com/patricg/archive/2010/03/04/sharepoint-2010-comment-utiliser-l-id-de-corr-lation.aspx

    Thierry Buisson

    mercredi 14 septembre 2011 07:56
    Modérateur
  • ah en effet, moi je redémarré iis.

    voici les dernières lignes de mon fichier de logs (ci-dessous), arrivé à un moment il me dit que mon enregistrement contient plus de 2000 lignes apparemment. Ce qui est vrai. Mais comment passer outre ? Car moi j'ai besoin de récupérer les infos d'une table d'un ERP.

    Merci encore.

    09/14/2011 14:22:41.86     OWSTIMER.EXE (0x0694)                       0x0688    SharePoint Foundation             Monitoring                        nasq    Medium      Entering monitored scope (Timer Job job-application-server)    140519f0-19fe-42cb-b0eb-490f01a12bfd
    09/14/2011 14:22:41.86     OWSTIMER.EXE (0x0694)                       0x0688    SharePoint Server Search          Administration                    dkd5    High        synchronizing search service instance    140519f0-19fe-42cb-b0eb-490f01a12bfd
    09/14/2011 14:22:41.86     OWSTIMER.EXE (0x0694)                       0x0688    SharePoint Server Search          Administration                    eff0    High        synchronizing search data access service instance    140519f0-19fe-42cb-b0eb-490f01a12bfd
    09/14/2011 14:22:42.98     OWSTIMER.EXE (0x0694)                       0x0688    SharePoint Server Search          Administration                    dl2a    Medium      Search application 'Application de service de recherche': Verify correctness of incremental crawl schedule on content source 'Sites Sharepoint locaux'.    140519f0-19fe-42cb-b0eb-490f01a12bfd
    09/14/2011 14:22:42.98     OWSTIMER.EXE (0x0694)                       0x0688    SharePoint Server Search          Administration                    dl2c    Medium      Search application 'Application de service de recherche': Verify correctness of full crawl schedule on content source 'Sites Sharepoint locaux'.    140519f0-19fe-42cb-b0eb-490f01a12bfd
    09/14/2011 14:22:42.98     OWSTIMER.EXE (0x0694)                       0x0688    SharePoint Server Search          Administration                    dl2i    Medium      Search application 'Application de service de recherche': Provision start addresses in default content source.    140519f0-19fe-42cb-b0eb-490f01a12bfd
    09/14/2011 14:22:42.99     OWSTIMER.EXE (0x0694)                       0x0688    SharePoint Foundation             Monitoring                        b4ly    Medium      Leaving Monitored Scope (Timer Job job-application-server). Temps d’exécution=1122,87176163451    140519f0-19fe-42cb-b0eb-490f01a12bfd
    09/14/2011 14:22:44.00     wsstracing.exe (0x06B0)                     0x10B0    SharePoint Foundation             Unified Logging Service           b9wt    High        Log retention limit reached.  Log file 'C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS\TRICOFLEXTEST-20110907-1137.usage' has been deleted.     
    09/14/2011 14:22:44.00     wsstracing.exe (0x06B0)                     0x10B0    SharePoint Foundation             Tracing Controller Service        2149    Warning     Usage log retention limit reached.  Some old usage log files have been deleted.     
    09/14/2011 14:22:45.09     w3wp.exe (0x1344)                           0x1008    Business Connectivity Services    Business Data                     bix5    High        Database response throttled. Maximum number of rows that can be read through the database system utility is 2000.    6f7d7165-91ca-447c-aede-46b142fd4073
    09/14/2011 14:22:45.43     w3wp.exe (0x1344)                           0x1008    Business Connectivity Services    Business Data                     bix3    Medium      Closed connection to Db: TRICOFLEX_AX2009_TEST_DB    6f7d7165-91ca-447c-aede-46b142fd4073
    09/14/2011 14:22:45.43     w3wp.exe (0x1344)                           0x1008    SharePoint Foundation             Monitoring                        b4ly    High        Leaving Monitored Scope (EnsureListItemsData). Temps d’exécution=3881,34106429728    6f7d7165-91ca-447c-aede-46b142fd4073
    09/14/2011 14:22:45.43     w3wp.exe (0x1344)                           0x1008    SharePoint Foundation             Web Parts                         89a1    High        Error while executing web part: Microsoft.BusinessData.Runtime.ExceededLimitException: Le connecteur de base de données a limité la réponse. La réponse de la base de données contient plus de « 2000 » lignes. Le connecteur de base de données peut lire « 2000 » lignes au maximum. La limite peut être modifiée via l’applet de commande « Set-SPBusinessDataCatalogThrottleConfig ».     à Microsoft.SharePoint.BusinessData.SystemSpecific.Db.ThrottledIDataReader.Read()     à Microsoft.SharePoint.BusinessData.SystemSpecific.Db.DbEntityInstanceEnumerator.MoveNext()     à Microsoft.SharePoint.BusinessData.Runtime.EntityInstanceEnumeratorBase.MoveNext()     à Microsoft.SharePoint.SPListDataSource.GetFilteredEntityInstancesInternal(XmlDocument xdQueryView, Boolean fFormatDates, Boolean fUTCToLocal, Strin...    6f7d7165-91ca-447c-aede-46b142fd4073
    09/14/2011 14:22:45.43*    w3wp.exe (0x1344)                           0x1008    SharePoint Foundation             Web Parts                         89a1    High        ...g firstRowId, Boolean fBackwardsPaging, String& bdcidFirstRow, String& bdcidNextPageRow, List`1& lstColumnNames, Dictionary`2& dictColumnsUsed, List`1& mapRowOrdering, List`1& lstEntityData)     à Microsoft.SharePoint.SPListDataSource.GetFilteredEntityInstances(XmlDocument xdQueryView, Boolean fFormatDates, Boolean fUTCToLocal, String firstRowId, Boolean fBackwardsPaging, String& bdcidFirstRow, String& bdcidNextPageRow, List`1& lstColumnNames, Dictionary`2& dictColumnsUsed, List`1& mapRowOrdering, List`1& lstEntityData)     à Microsoft.SharePoint.SPListItemCollection.EnsureEntityDataViewAndOrdering(String& bdcidFirstRow, String& bdcidNextPageFirstRow)     à Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData()     à Microsoft.SharePoint.SPListItemCollection.get_Count()     à Micr...    6f7d7165-91ca-447c-aede-46b142fd4073
    09/14/2011 14:22:45.43*    w3wp.exe (0x1344)                           0x1008    SharePoint Foundation             Web Parts                         89a1    High        ...osoft.SharePoint.WebControls.SPDataSourceView.ExecuteSelect(DataSourceSelectArguments selectArguments, String aggregateString, Boolean wantReturn, BaseXsltListWebPart webpart, SPListItem& listItem, SPListItemCollection& listItems, String[]& fieldList)     à Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigatorInternal()     à Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator()     à Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform)    6f7d7165-91ca-447c-aede-46b142fd4073
    09/14/2011 14:22:45.43     w3wp.exe (0x1344)                           0x1008    SharePoint Foundation             Monitoring                        b4ly    High        Leaving Monitored Scope (DataBinding DataFormWebPart (OF)). Temps d’exécution=3884,01123606492    6f7d7165-91ca-447c-aede-46b142fd4073
    09/14/2011 14:22:45.44     w3wp.exe (0x1344)                           0x1008    SharePoint Foundation             Monitoring                        b4ly    Medium      Leaving Monitored Scope (Request (POST:http://tricoflextest:80/Lists/OF/Liste%20en%20lecture.aspx)). Temps d’exécution=3951,88271135019    6f7d7165-91ca-447c-aede-46b142fd4073
    09/14/2011 14:22:50.67     w3wp.exe (0x1344)                           0x0934    SharePoint Portal Server          Runtime                           8gp7    Medium      Topology cache updated. (AppDomain: /LM/W3SVC/748310638/ROOT-1-129604314659178370)    4a767c37-f5e3-46a7-b689-123751bd2d5e
    09/14/2011 14:22:57.17     w3wp.exe (0x1344)                           0x1008    SharePoint Foundation             Topology                          e5mc    Medium      WcfSendRequest: RemoteAddress: 'http://tricoflextest:32843/d88e738ab8cd4895a154f835145dc763/BdcService.svc/http' Channel: 'Microsoft.SharePoint.BusinessData.SharedService.IBdcServiceApplication' Action: 'http://www.microsoft.com/Office/2009/BusinessDataCatalog/BusinessDataCatalogSharedService/GetThrottlingRules' MessageId: 'urn:uuid:d44e2a9e-876e-4282-ab60-1cff9548a416'     
    09/14/2011 14:22:57.17     w3wp.exe (0x1344)                           0x1940    SharePoint Foundation             Topology                          e5mc    Medium      WcfSendRequest: RemoteAddress: 'http://tricoflextest:32843/d88e738ab8cd4895a154f835145dc763/BdcService.svc/http' Channel: 'Microsoft.SharePoint.BusinessData.SharedService.IBdcServiceApplication' Action: 'http://www.microsoft.com/Office/2009/BusinessDataCatalog/BusinessDataCatalogSharedService/GetCacheInvalidationRecordsSince' MessageId: 'urn:uuid:c6f59ee0-4249-4138-a4bf-2bedca21af2b'     
    mercredi 14 septembre 2011 12:30
  • Apparemment le problème pourrait être résolu en faisant cette manip:

     

    Le connecteur de base de données a limité la réponse. La réponse de la base de données contient plus de «*2000*» lignes. Le connecteur de base de données peut lire «*2000*» lignes au maximum. La limite peut être modifiée via l’applet de commande «*Set-SPBusinessDataCatalogThrottleConfig*».

     

    Mais je ne sais pas comment faire ? est-ce via sharepoint designer ?

    Merci encore.

    mercredi 14 septembre 2011 15:40
  • D'après ce que j'ai compris, il faut modifier l'applet via le powershell sharepoint.
    Or si je tape cette commande:

    Get-SPBusinessDataCatalogThrottleConfig –Scope Database –ThrottleType Items –ServiceApplicationProxy $contosoServAppProxy | Set-SPBusinessDataCatalogThrottleConfig –Maximum 1000000000 –Default 500000

    voici l'erreur qui apparaît:

    PS C:\Users\administrateur> Get-SPBusinessDataCatalogThrottleConfig -Sc
    ope Database -ThrottleType Items -ServiceApplicationProxy $contosoServAppProxy |
     Set-SPBusinessDataCatalogThrottleConfig -Maximum 1000000000 -Default 500000
    Get-SPBusinessDataCatalogThrottleConfig : Impossible de valider l'argument sur
    le paramètre « ServiceApplicationProxy ». L'argument est null. Indiquez un argu
    ment non-null et réessayez.
    Au niveau de ligne : 1 Caractère : 101
    + Get-SPBusinessDataCatalogThrottleConfig -Scope Database -ThrottleType Items -
    ServiceApplicationProxy <<<<  $contosoServAppProxy | Set-SPBusinessDataCatalogT
    hrottleConfig -Maximum 1000000000 -Default 500000
        + CategoryInfo          : InvalidData: (:) [Get-SPBusinessDataCatalogThrot
       tleConfig], ParameterBindingValidationException
        + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.Share
       Point.BusinessData.SharedService.SPGetSPBusinessDataCatalogThrottleConfig



    Pouvez-vous m'aider ? comment compléter les arguments ? j'ai trouvé cette doc: http://technet.microsoft.com/fr-fr/library/ff607630.aspx

    Merci encore.
    mercredi 14 septembre 2011 18:07
  • J'ai trouvé ce lien http://www.wssdemo.com/Lists/PowerShell/DispForm.aspx?ID=2&ContentTypeId=0x010015508A18042A864A8C50FE032164E521 qui me paraît pas mal. Mais je ne sais toujours pas ce que je dois mettre comme nom de proxy ? où dois-je le trouver dans mon sharepoint ?
    Merci d'avance.
    vendredi 16 septembre 2011 18:09
  • Bonjour,

    J'ai réussi à résoudre mon problème. Tout compte fait il faut remplacer la variable $contosoServAppProxy par l'ID du service BDC.

    Voici ce que ça donne:

     

     

    PS C:\Users\administrateur.HOZETRIC>Get-SPBusinessDataCatalogThrottleConfig -Scope Database -ThrottleType Items -ServiceApplicationProxy a65ca32c-bef7-42da-8d92-53746a8bdf31 | Set-SPBusinessDataCatalogThrottleConfig -Maximum 1000000000 -De
    fault 500000


     


    • Modifié mimi1255 lundi 19 septembre 2011 11:55
    lundi 19 septembre 2011 11:55