次の方法で共有


XML 形式の Excel ブックが SharePoint から開かない

この記事は、サポート エスカレーション エンジニアの Warren Rath によって記述されました。

現象

SharePoint ドキュメント ライブラリから XML 形式 (XML スプレッドシート 2003) で Microsoft Excel ブックを開こうとすると、次のエラーが表示されます。

Office では指定されたコマンドが認識されないため、このアクションを実行できませんでした。

回避策

この問題を解決するには、Office のバージョンとビルドに応じて、次のレジストリ キーを使用します。

警告

レジストリを編集すると、プロパティが実行されていない場合に有害な副作用が発生する可能性があるため、この回避策は自己責任で使用してください。

Office 2013 の 32 ビット (Microsoft インストーラー)

[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"=""

Office 2016 の 32 ビット (Microsoft インストーラー)

[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"=""

Office 2016 の 64 ビット (Microsoft インストーラー)

[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 ビットの Office 2016 (クイック実行)

[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]

@=""

Office 2016 の 64 ビット (クイック実行)

[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"=""