Important : Dans Excel pour Microsoft 365 et Excel 2021, Power View est supprimé le 12 octobre 2021. Vous pouvez également utiliser l’expérience visuelle interactive fournie par Power BI Desktop,que vous pouvez télécharger gratuitement. Vous pouvez également importer facilement des classeurs Excel dans Power BI Desktop.
Symptômes
Prenons l’exemple du scénario suivant :
-
Vous utilisez Microsoft SQL Server 2012 Reporting Services (SSRS 2012) ou SQL Server 2014 Reporting Services (SSRS 2014) Power View pour Microsoft SharePoint 2013 dans un Microsoft Office Excel 2013.
-
Le workbook doit son nom à certains caractères coréens.
-
Vous téléchargez le SharePoint 2013.
Dans ce scénario, vous ne pouvez pas afficher le SharePoint 2013 et le message d’erreur suivant peut s’afficher :
Microsoft.Reporting.QueryDesign.Edm.Internal.EdmException: Unable to load the specified Entity Data Model. --> System.ArgumentException : [net_WebHeaderInvalidControlChars]
Arguments :
Les chaînes de ressources de débogage ne sont pas disponibles. Souvent, les arguments et clés fournissent des informations suffisantes pour diagnostiquer le problème. Voir http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.20513.00&File=System.Net.dll&Key=net_WebHeaderInvalidControlChars
Nom du paramètre : valeur
at System.Net.ValidationHelper.CheckBadWebHeaderChars(String name, Boolean isHeaderValue)
à System.Net.WebHeaderCollection.set_Item(Nom de la chaîne, valeur chaîne)
sur Microsoft.Reporting.AdHoc.DataManagement.Internal.UrlAccessHttpStreamHandler.<LoadImpl>d__6.MoveNext()
sur Microsoft.Reporting.AsyncEnumerator.AsyncEnumeratorBase.MoveNextChecked()
sur Microsoft.Reporting.AsyncEnumerator.AsyncEnumeratorBase.ResumeIterator(Boolean synchronous)
sur Microsoft.Reporting.AsyncEnumerator.AsyncEnumeratorBase.BeginExecuteCore(IEnumerator'1 asyncMethod)
sur Microsoft.Reporting.AsyncEnumerator.AsyncEnumeratorImpl.BeginExecute(Func'2 asyncMethod)
sur Microsoft.Reporting.AsyncEnumerator.BeginExecute(Func'2 asyncMethod, AsyncCallback userCallback, Object userState, AsyncEnumeratorSettings settings)
sur Microsoft.Reporting.AdHoc.DataManagement.Internal.UrlAccessHttpStreamHandler.BeginLoad(IUrlAccessMethodHandler urlAccessMethodHandler, List'1 requestCollection, AsyncCallback userCallback, Object userState)
sur Microsoft.Reporting.AdHoc.DataManagement.Internal.ReportServerConnection.<GetModelImpl>d__2d. MoveNext()
sur Microsoft.Reporting.AsyncEnumerator.AsyncEnumeratorBase.MoveNextChecked()
sur Microsoft.Reporting.AsyncEnumerator.AsyncEnumeratorBase.ResumeIterator(Boolean synchronous)
sur Microsoft.Reporting.AsyncEnumerator.AsyncEnumeratorBase.BeginExecuteCore(IEnumerator'1 asyncMethod)
sur Microsoft.Reporting.AsyncEnumerator.AsyncEnumeratorImpl'1.BeginExecute(Func'2 asyncMethod)
sur Microsoft.Reporting.AsyncEnumerator.BeginExecute[TResult](Func'2 asyncMethod, AsyncCallback userCallback, Object userState, AsyncEnumeratorSettings settings)
sur Microsoft.Reporting.AdHoc.DataManagement.Internal.ReportServerConnection.BeginGetModel(GetModelRequestInfo requestInfo, AsyncCallback userCallback, Object userState)
sur Microsoft.Reporting.AdHoc.DataManagement.Internal.EntityDataModelDefinitionService.<GetModelDefinitionImpl>d__4.MoveNext()
sur Microsoft.Reporting.AsyncEnumerator.AsyncEnumeratorBase.MoveNextChecked()
sur Microsoft.Reporting.AsyncEnumerator.AsyncEnumeratorBase.ResumeIterator(Boolean synchronous)
sur Microsoft.Reporting.AsyncEnumerator.AsyncEnumeratorBase.BeginExecuteCore(IEnumerator'1 asyncMethod)
sur Microsoft.Reporting.AsyncEnumerator.AsyncEnumeratorImpl'1.BeginExecute(Func'2 asyncMethod)
sur Microsoft.Reporting.AsyncEnumerator.BeginExecute[TResult](Func'2 asyncMethod, AsyncCallback userCallback, Object userState, AsyncEnumeratorSettings settings)
sur Microsoft.Reporting.AdHoc.DataManagement.Internal.DataManager.<GetModelDefinitionImpl>d__ad. MoveNext()
sur Microsoft.Reporting.AsyncEnumerator.AsyncEnumeratorBase.MoveNextChecked()
sur Microsoft.Reporting.AsyncEnumerator.AsyncEnumeratorBase.ResumeIterator(Boolean synchronous)
sur Microsoft.Reporting.AsyncEnumerator.AsyncEnumeratorBase.BeginExecuteCore(IEnumerator'1 asyncMethod)
sur Microsoft.Reporting.AsyncEnumerator.AsyncEnumeratorImpl'1.BeginExecute(Func'2 asyncMethod)
sur Microsoft.Reporting.AsyncEnumerator.BeginExecute[TResult](Func'2 asyncMethod, AsyncCallback userCallback, Object userState, AsyncEnumeratorSettings settings)
at Microsoft.Reporting.AdHoc.DataManagement.Internal.DataManager.BeginGetModelDefinition(ModelIdentifier modelIdentifier, AsyncCallback userCallback, Object userState)
sur Microsoft.Reporting.QueryDesign.Services.Internal.ModelManager.<>c__DisplayClass11.<LoadModelImpl>b__e()
sur Microsoft.Reporting.QueryDesign.Services.Internal.ModelManager.WrapAnticipatedExceptions[T](Func'1 operation)
Notez que ce problème se produit pour les noms de fichiers qui contiennent certains caractères coréens. Cela ne se produit pas si vous renommez le fichier à l’aide d’autres caractères coréens ou anglais. Par exemple :
http://sharepoint/Shared Documents/한글.xlsx (Ce fichier signale une erreur.)
http://sharepoint/Shared Documents/테스트.xlsx (Ce fichier peut s’ouvrir correctement.)
http://sharepoint/Shared Documents/test.xlsx (Ce fichier peut s’ouvrir correctement).)
Résolution
Le problème a été résolu dans la mise à jour cumulative d’SQL Server.
Mise à jour cumulative 4 SQL Server 2014 /fr-FR/help/2999197
Mise à jour cumulative 2 SQL Server 2012 SP2 /help/2983175
Mise à jour cumulative 11 SQL Server 2012 SP1 /help/2975396
Chaque nouvelle mise à jour cumulative SQL Server contient tous les correctifs et tous les correctifs de sécurité inclus dans la mise à jour cumulative précédente. Consultez les dernières mises à jour cumulatives pour SQL Server :
État
Microsoft a confirmé l’existence de ce problème dans les produits Microsoft répertoriés dans la section « S’applique à ».