SharePoint 2016 OnPremise, tout fonctionne bien, mais parfois seulement dans une liste, lors de lajout dun nouvel élément, après lenregistrement quand il revient à la vue standard, jobtiens Exception from HRESULT: 0x80131904.

Uls dit:

System.Data.SqlClient.SqlException (0x80131904): A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The specified network name is no longer available.) ---> System.ComponentModel.Win32Exception (0x80004005): The specified network name is no longer available SPRequest.GetListItemDataWithCallback2: UserPrincipalName=i:0).w|s-1-5-21-2025429265-688789844-725345543-18654, AppPrincipalName= ,pSqlClient=<null> ,bstrUrl=http://portal/mySite ,bstrListName={A9A7F119-9D25-4CDD-A59D-BD5F8AB58C85} ,bstrViewName=<null> ,bstrViewXml=<View><Query><OrderBy><FieldRef Name="Datum" Ascending="FALSE" /><FieldRef Name="BegonnenUm" Ascending="FALSE" /></OrderBy><Where><Eq><FieldRef Name="Author" /><Value Type="Integer"><UserID Type="Integer" /></Value></Eq></Where></Query><Aggregations Value="On"><FieldRef Name="Dauer" Type="SUM" /><Fi ,fSafeArrayFlags=SAFEARRAYFLAG_AUTOHYPERLINK Error while executing web part: Microsoft.SharePoint.SPException: Exception from HRESULT: 0x80131904 ---> System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x80131904 at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) --- End of inner exception stack trace --- at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx) at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView) at Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData() at Microsoft.SharePoint.SPListItemCollection.get_Count() at Microsoft.SharePoint.WebControls.SPDataSourceView.ExecuteSelect(DataSourceSelectArguments selectArguments, String aggregateString, Boolean wantReturn, BaseXsltListWebPart webpart, SPListItem& listItem, SPListItemCollection& listItems, String[]& fieldList) at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigatorInternal() at Microsoft.SharePoint.WebControls.SingleDataSource.GetXPathNavigator() at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 1bbd449f-5801-b098-2604-475e9b3793d4 

Si jactualise la page, cela fonctionne.
Une idée?

Réponse

Ici, vous devez vérifier un deux choses – le principal problème avec ceci est que votre connexion SQL avec le serveur SharePoint nest pas stable. Vérifiez le journal des fenêtres du serveur SQL – vous y trouverez plus de détails sur lerreur.

Mais en général, vérifiez ce qui suit:

  • Connectivité réseau entre SQL Server et SharePoint – la plupart du temps, il nest pas stable, vérifiez auprès de votre équipe réseau.
  • Si vous avez un cluster de groupe AG ( listener ) configuré dans le serveur SQL – la base de données principale sera parfois détachée de Groupe de disponibilité (AG) mais il se reconnectera à nouveau en raison de la fluctuation de la connectivité réseau.
  • Essayez daugmenter la propriété de délai dexpiration de la connexion SQL
  • Enfin, essayez de réinitialiser IIS.

Commentaires

  • ok merci, je vais le vérifier. Mais comment est-il possible que je nai ce problème que sur cette seule liste, jen ai certainement plus de 200 dans ma ferme.
  • Êtes-vous sûr que ce nest que pour une liste ou pour toutes les listes sous un seul contenu db? Un problème de groupe AG se produit au niveau de la base de données de contenu.
  • Je nai quun seul ContentDB et oui, uniquement pour cette liste.
  • Ohhk .. Dans ce cas, je pense que vous pouvez essayer de faire le Il est réinitialisé, cela pourrait corriger.
  • Malheureusement, le redémarrage de l’IIS n’a pas aidé '. Je redémarrerai le serveur dès que possible

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *