共享点: "Failed to extract the cab file in the solution"

标签 sharepoint deployment

当我尝试使用 stsadm -o addsolution -filename 部署我的 wsp 时,我收到“无法提取解决方案中的 cab 文件”错误。

我已将 wsp 作为 cab 打开并检查其中是否有重复文件,据我所知有时会导致此问题。

该问题仅在我尝试将自定义字段类型作为解决方案的一部分时才开始,为此我将以下内容添加到 ddf

..\CustomFields\ShortMonth\ShortMonthControl.ascx ..\CONTROLTEMPLATES\ShortMonthControl.ascx

..\CustomFields\ShortMonth\fldtypes_shortmonth.xml ..\XML\fldtypes_shortmonth.xml


<TemplateFiles >
<TemplateFile Location="CONTROLTEMPLATES\ShortMonthControl.ascx"/ >
<TemplateFile Location="XML\fldtypes_shortmonth.xml"/></TemplateFiles>
到 list 。

我试过把它恢复到只引用两者中的 ascx ,但它没有帮助。

有任何想法吗?

最佳答案

检查您的文件中是否没有任何特殊字符。他们可能是因为复制粘贴而偷偷溜进来的。例如,您的代码示例在此页面上呈现的方式,它有 (`),它不应该在那里。

关于共享点: "Failed to extract the cab file in the solution",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1001726/

相关文章:

javascript - sharepoint moss 2007 使用 javascript 添加列

security - Office 文档提示登录匿名 SharePoint 网站

c# - 部署 .NET 应用程序时出现 InvalidDeploymentException 错误

deployment - 我如何在 glassfish 中使用共享库来避免部署巨大的库?

java - ejb jar 是否应该在部署 JBOSS AS 的同一个 JVM 上编译?

deployment - Foundation 5 生产环境文件

c# - 以编程方式将用户添加到列表

c# - C# 中的共享点编程

tomcat - AWS 服务器中的部署自动化

javascript - office 365 - 将 Sharepoint 站点的文件添加到发现