Excel de travail au format XML ne s’ouvrent pas SharePoint

Cet article a été rédigé par l’ingénieur de l’escalade du support technique, Auth rath.

Symptômes

Lorsque vous essayez d’ouvrir des Microsoft Excel au format XML (Feuille de calcul XML 2003) à partir d’une bibliothèque de documents SharePoint, vous recevez l’erreur suivante :

Cette action n’a pas pu être effectuée car Office ne reconnaît pas la commande qui lui a été donnée.

Solution de contournement

Pour résoudre ce problème, utilisez les clés de Registre suivantes en fonction de la version et de la build de votre Office :

Avertissement

La modification du Registre peut avoir des effets secondaires dangereux s’il n’est pas fait propriété, donc utilisez cette solution de contournement à vos propres risques.

32 bits de Office 2013 (Microsoft Installer)

[HKEY_CLASSES_ROOT .xml\OpenWithList\excel.exe]

@=""

[HKEY_CLASSES_ROOT\Applications\excel.exe\shell\edit\command]

@= » " C: \ Program Files (x86) \ Microsoft Office \ Office15 \EXCEL.EXE" /n " %1 " »

[HKEY_CLASSES_ROOT\Applications\excel.exe\SupportedTypes]

« .xml"=" »

32 bits de Office 2016 (Microsoft Installer)

[HKEY_CLASSES_ROOT .xml\OpenWithList\excel.exe]

@=""

[HKEY_CLASSES_ROOT\Applications\excel.exe\shell\edit\command]

@= » " C: \ Program Files Microsoft Office \ \ Office16 \EXCEL.EXE" /n " %1 " »

[HKEY_CLASSES_ROOT\Applications\excel.exe\SupportedTypes]

« .xml"=" »

64 bits de Office 2016 (Microsoft Installer)

[HKEY_CLASSES_ROOT .xml\OpenWithList\excel.exe]

@=""

[HKEY_CLASSES_ROOT\Applications\excel.exe\shell\edit\command]

@= » " C: \ Program Files Microsoft Office \ \ Office16 \EXCEL.EXE" /n " %1 " »

[HKEY_CLASSES_ROOT\Applications\excel.exe\SupportedTypes]

« .xml"=" »

32 bits de Office 2016 (Click-To-Run)

[HKEY_CLASSES_ROOT\Applications\Excel.exe]

« FriendlyAppName »= » @C: \ Program Files Microsoft Office \ root \ \ VFS \ ProgramFilesCommonX86 \ Microsoft Shared \ Office16 \oregres.dll,-206 »

[HKEY_CLASSES_ROOT\Applications\Excel.exe\shell]

[HKEY_CLASSES_ROOT\Applications\Excel.exe\shell\edit]

@= » @C: \ Program Files Microsoft Office root \ \ \ VFS \ ProgramFilesCommonX86 \ Microsoft Shared \ Office16 \oregres.dll,-1 »

[HKEY_CLASSES_ROOT\Applications\Excel.exe\shell\edit\command]

@= » " C: \ Program Files Microsoft Office \ root \ \ Office16 \EXCEL.EXE" /n " %1 " »

[HKEY_CLASSES_ROOT\Applications\Excel.exe\SupportedTypes]

« .xml"=" »

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Classes\Applications\excel.exe\shell\edit\command]

@= » " C: \ Program Files Microsoft Office \ Root \ \ Office16 \EXCEL.EXE" /n " %1 " »

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Classes\Applications\excel.exe\SupportedTypes]

« .xml"=" »

[HKEY_CLASSES_ROOT .xml\OpenWithList\Excel.exe]

@=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Classes.xml\OpenWithList\excel.exe]

@=""

64 bits de Office 2016 (Click-To-Run)

[HKEY_CLASSES_ROOT .xml\OpenWithList\Excel.exe]

@=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Classes.xml\OpenWithList\excel.exe]

@=""

[HKEY_CLASSES_ROOT\Applications\Excel.exe]

« FriendlyAppName »= » @C: \ Program Files Microsoft Office \ root \ \ VFS \ ProgramFilesCommonX64 \ Microsoft Shared \ Office16 \oregres.dll,-206 »

[HKEY_CLASSES_ROOT\Applications\Excel.exe\shell]

[HKEY_CLASSES_ROOT\Applications\Excel.exe\shell\edit]

@= » @C: \ Program Files Microsoft Office root \ \ \ VFS \ ProgramFilesCommonX64 \ Microsoft Shared \ Office16 \oregres.dll,-1 »

[HKEY_CLASSES_ROOT\Applications\Excel.exe\shell\edit\command]

@= » " C: \ Program Files Microsoft Office \ root \ \ Office16 \EXCEL.EXE" /n " %1 " »

[HKEY_CLASSES_ROOT\Applications\Excel.exe\SupportedTypes]

« .xml"=" »

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Classes\Applications\excel.exe\shell\edit\command]

@= » " C: \ Program Files Microsoft Office \ Root \ \ Office16 \EXCEL.EXE" /n " %1 " »

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\REGISTRY\MACHINE\Software\Classes\Applications\excel.exe\SupportedTypes]

« .xml"=" »