【问题标题】:Trying to open a webdav excel spreadsheet via the protocol fails with "An unexpected error has occurred"尝试通过协议打开 webdav excel 电子表格失败,并显示“发生意外错误”
【发布时间】:2015-05-29 00:58:53
【问题描述】:

我最近只安装了 Microsoft OneNote 2013(32 位),但没有安装 Word 和 Excel 2013。不过我安装了 Word 和 Excel 2010。

现在,当我尝试使用协议方法打开 webdav 文件时(即我在 IE 11 中输入:ms-excel:ofe|u|http://localhost/WebDav/test.xlsx),系统会提示我打开文件(“某些文件可以损害您的计算机等等等等”),然后单击“确定”按钮,然后我现在收到一个消息框,其中显示“发生了意外错误”。 显示消息的过程是: "C:\PROGRA~2\MICROS~1\Office14\PROTOC~1.EXE" "ms-excel:ofe|u|http://localhost/WebDav/test.xlsx"。我认为exe的全称是“C:\Program Files (x86)\Microsoft Office\Office14\protocolhandler.exe”。

知道为什么这会返回这个晦涩的错误消息而不打开文件吗?当我通过 Excel 2010 -> File->Open and paste http://localhost/WebDav/test.xlsx 打开文件时,它工作正常。

我使用的是 Windows 7 64 位终极版。

更新:如果我从 office 2013 运行 protocolhandler.exe,它可以工作。

【问题讨论】:

    标签: ms-office webdav ithit-webdav-server


    【解决方案1】:

    最后,我通过设置这个注册表设置解决了这个问题:

    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\ms-excel\shell\open\command]
    @="C:\\PROGRA~2\\MICROS~1\\Office15\\PROTOC~1.EXE \"%1\""
    

    【讨论】:

      猜你喜欢
      • 2014-09-13
      • 2018-10-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-12-29
      • 2015-08-08
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多