IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

SharePoint .NET Discussion :

Erreur de liste SharePoint : "An item with the same key has already been added"


Sujet :

SharePoint .NET

  1. #1
    Nouveau Candidat au Club
    Profil pro
    Inscrit en
    Février 2011
    Messages
    2
    Détails du profil
    Informations personnelles :
    Localisation : Canada

    Informations forums :
    Inscription : Février 2011
    Messages : 2
    Points : 1
    Points
    1
    Par défaut Erreur de liste SharePoint : "An item with the same key has already been added"
    Bonjour,
    je viens d'arriver dqns une boite aui possède un site SharePoint. Elle vient de migrer de la version 2007 a 2010, j'ai une erreur dans la recherche par compagnie dans une liste alors que la recherche par contact fonctionne, il me sors l'erreur suivante :

    An item with the same key has already been added.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.ArgumentException: An item with the same key has already been added.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:


    [ArgumentException: An item with the same key has already been added.]
    System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) +56
    System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +10416334
    System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value) +12
    Microsoft.SharePoint.WebPartPages.DataFormWebPart.ApplyReceivedFilterData() +903
    Microsoft.SharePoint.WebPartPages.DataFormWebPart.ApplyReceivedConsumerData() +24
    System.Web.UI.WebControls.WebParts.RowCallback.Invoke(Object rowData) +0
    Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) +794
    Microsoft.SharePoint.WebPartPages.DataFormWebPart.PerformSelect() +72
    Microsoft.SharePoint.WebPartPages.DataFormWebPart.DataBind() +346
    Microsoft.SharePoint.WebPartPages.DataFormWebPart.EnsureDataBound() +24
    Microsoft.SharePoint.WebPartPages.DataFormWebPart.CreateChildControls() +712
    System.Web.UI.Control.EnsureChildControls() +146
    Microsoft.SharePoint.WebPartPages.DataFormWebPart.Microsoft.SharePoint.WebPartPages.IConnectionData.GetData() +73
    Microsoft.SharePoint.WebPartPages.SPWebPartManager.BeginWebPartDataFetch() +200
    Microsoft.SharePoint.WebPartPages.SPWebPartManager.ActivateV2Connections() +1228
    Microsoft.SharePoint.WebPartPages.SPWebPartManager.ActivateV2ConnectionsAndSharePointDataFetch() +108
    Microsoft.SharePoint.WebPartPages.SPWebPartManager.ActivateConnections() +511
    System.Web.UI.WebControls.WebParts.WebPartManager.OnPageLoadComplete(Object sender, EventArgs e) +70
    System.EventHandler.Invoke(Object sender, EventArgs e) +0
    System.Web.UI.Page.OnLoadComplete(EventArgs e) +11042078
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3160




    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927
    Je n'ai rien trouvé sur internet qui resoud mon problème, merci pour votre aides et vos conseil.

  2. #2
    Membre du Club
    Inscrit en
    Février 2011
    Messages
    41
    Détails du profil
    Informations forums :
    Inscription : Février 2011
    Messages : 41
    Points : 62
    Points
    62
    Par défaut
    Bonjour,

    L'erreur semble venir d'une webpart et de sa connexion / filtre.
    Tu peux essayer de chercher la webpart qui pose pb en les fermant une à une...

    Cordialement,
    Sylvain

  3. #3
    Nouveau Candidat au Club
    Profil pro
    Inscrit en
    Février 2011
    Messages
    2
    Détails du profil
    Informations personnelles :
    Localisation : Canada

    Informations forums :
    Inscription : Février 2011
    Messages : 2
    Points : 1
    Points
    1
    Par défaut
    Bonjour,
    Je viens vraiment de débarquer sur SharePoint, tu peux me dire comment on peux voir la connection de la wepart au filtre et surtout comment tu les desactive une a une, je suis sous SharePoint Designer 2010 et j'ai du mal a visualiser chaque webpart separement.
    De plus je ne possède au qu'un seul filtre`qui affiche de base le premier resultat.
    Merci de ta réponse, cordialement Jeremy.

Discussions similaires

  1. Réponses: 0
    Dernier message: 09/06/2013, 11h26
  2. Réponses: 3
    Dernier message: 10/05/2010, 11h08
  3. different object with the same identifier was already associated with the session
    Par lextaz33 dans le forum Développement Web en Java
    Réponses: 6
    Dernier message: 02/03/2009, 14h36
  4. An entry with the same key already exists: qu'est ce?
    Par cortex024 dans le forum ASP.NET
    Réponses: 2
    Dernier message: 04/04/2007, 16h49

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo