SharePoint:"无法在解决方案中提取cab文件"

Gra*_*eme 7 deployment sharepoint

当我尝试使用stsadm -o addsolution -filename部署我的wsp时,我收到"无法解压缩解决方案中的cab文件"错误...

我打开了作为出租车的wsp并检查了那里没有重复的文件,据我所知,有时可能会导致这个问题.

该问题仅在我尝试将自定义字段类型作为我的解决方案的一部分包含时启动,为此我将以下内容添加到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>

清单.

我已经尝试将其重新引用到两者中的ascx引用,但它没有看到帮助.

有任何想法吗?

Eug*_*atz 5

检查文件中是否有任何特殊字符.他们可能因复制粘贴而潜入.例如,代码示例在此页面上呈现的方式,它具有(`),它不应该存在.


Kit*_*nke 2

您的 DDF 中需要“..\”吗?