删除的功能:来自 /xl/worksheets/sheet1.xml 部分的超链接



>我正在使用 SSRS 2013,当我想导出包含指向某些页面的超链接的报表时遇到问题。这只发生在Excel中,而不是在CSV中,当我有大量数据(超过50 000行,每行都有一个指向某个用户名的超链接(。

这是我想导出到Excel时收到的错误日志消息:

error237240_01.xml错误 在文件中检测到 'E:\VIP.xlsx'Excel 已完成文件 级别验证和修复。此工作簿的某些部分可能是 修理或丢弃。删除的功能:超链接来自 /xl/worksheets/sheet1.xml .part

我该如何解决这个问题可能是什么问题?

我猜你有无效的URL超链接。

我真的不了解 SSRS,但 mabye 遵循这里的文档 https://learn.microsoft.com/en-us/sql/reporting-services/report-design/add-a-hyperlink-to-a-url-report-builder-and-ssrs 将解决您的问题

我在Removed Feature: Hyperlinks上遇到了类似的问题(来自其他来源,而不是 SSRS( - 也许这对您有所帮助:

我发现,我在工作表中有无效的超链接。

对于某些超链接,有两个超链接具有Target如下:
HYP1( http://www.domedomain.org, www.anotherdomain.com
hyp2( https://www.example.com http://www.sometnihg.net http://www.test.com
(无效的超链接(

我已将其更改为以下内容:
hyp1( http://www.domedomain.org
HYP2( https://www.example.com
(真实有效的超链接(

现在一切似乎都正常了。

您可以解压缩 xlsx 文件并查找 xml 文件 /xl/worksheets/_rels/sheet1.xml.rels超链接定义为

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
    ...
    <Relationship Id="rid1" Target="http://www.example.com" TargetMode="External" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink"/>
    <Relationship Id="rid2" Target="http://www.example2.com" TargetMode="External" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink"/>
    ...
</Relationships>

并查找目标属性内容

最新更新