繁体   English   中英

加载项错误:出了点问题,我们无法启动此加载项

[英]Add-in Error: something went wrong and we couldn't start this add-in

我正在跟踪此链接以运行Excel加载项。

我已经观看了视频,并配置了localhost,以便Home-simple.html在浏览器中可以正常运行:

在此处输入图片说明

我写了SheetSwitcherManifest-online-3.xml

<?xml version="1.0" encoding="UTF-8"?>
<OfficeApp xmlns="http://schemas.microsoft.com/office/appforoffice/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="TaskPaneApp">
  <Id>9475b9bb-ff88-476f-917d-33a9c632508a</Id>
  <Version>1.0.0.0</Version>
  <ProviderName>Microsoft</ProviderName>
  <DefaultLocale>en-US</DefaultLocale>
  <DisplayName DefaultValue="Sheet Switcher - 3" />
  <Description DefaultValue="Sheet Switcher - 3" />
  <Capabilities>
    <Capability Name="Workbook" />
  </Capabilities>
  <DefaultSettings>
  <SourceLocation DefaultValue="http://localhost/Downloads/Excel-Add-in-JS-SheetSwitcher-master/TextEditor/Home-simple.html" />
  </DefaultSettings>
  <Permissions>ReadWriteDocument</Permissions>
</OfficeApp>

但是,在Excel Online中上载此加载项会出现错误:

在此处输入图片说明

有人可以帮忙吗?

对于DefaultValue="file:///Users/softtimur/Downloads/Excel-Add-in-JS-SheetSwitcher-master/TextEditor/Home-simple.html" ,这绝对是不正确的,因为该文件需要托管在IIS( https://),而不是file://引用。

对于https://localhost:44300/Users/softtimur/Downloads/Excel-Add-in-JS-SheetSwitcher-master/TextEditor/Home-simple.html ,该链接对您来说在浏览器中有效吗? 它看起来像file:// ,带有localhost:44300前缀。 您是否已将IIS服务器设置为指向C:驱动器的根目录(这很不正常)? 将其指向文件夹,并使其地址看起来更像https://localhost:44300/TextEditor/Home-simple.html

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM