2011-01-27 51 views
2

我在本地机器上创建了一个自定义模块,并使用标准DNN部署方法成功多次成功将其安装到远程服务器。安装DotNetNuke(5.5)模块时出错 - 读取压缩包时出错

突然,当我尝试安装新版本,我收到以下错误:

错误读取压缩包 - 见下面的DNN指定

StartJob Reading Installation Manifest file 
StartJob Creating Manifest 
Info Added File to manifest - 01.00.00.SqlDataProvider 
Info Added File to manifest - Uninstall.SqlDataProvider 
Info Added File to manifest - CustomNavNewsletter.dll 
Info Added File to manifest - ViewCustomNavNewsletter.ascx 
Info Added File to manifest - EditCustomNavNewsletter.ascx 
Info Added File to manifest - Settings.ascx 
Info Added File to manifest - ViewCustomNavNewsletter.ascx.resx 
Info Added File to manifest - EditCustomNavNewsletter.ascx.resx 
Info Added File to manifest - Settings.ascx.resx 
EndJob Created Manifest 

Info Reading Package Manifest - Module - Stratomer.CustomNavNewsletter 
Info Reading Component Manifest - Script 
Info Found valid path() for 01.00.00.SqlDataProvider. 
Info Found valid path() for Uninstall.SqlDataProvider. 
Info Reading Component Manifest - Module 
Info Module Manifest read successfully 
Info Reading Component Manifest - Assembly 

失败的文件可能不在压缩文件中找到: - C:\ Inetpub \ wwwroot \ dnn \ Install \ Temp \ ldqlkmal \ CustomNavNewsletter.dll

Info Reading Component Manifest - File 
Info Found valid path() for ViewCustomNavNewsletter.ascx. 
Info Found valid path() for EditCustomNavNewsletter.ascx. 
Info Found valid path() for Settings.ascx. 
Info Found valid path (App_LocalResources) for ViewCustomNavNewsletter.ascx.resx. 
Info Found valid path (App_LocalResources) for EditCustomNavNewsletter.ascx.resx. 
Info Found valid path (App_LocalResources) for Settings.ascx.resx. 

我一直在拼命搜索,似乎无法解决此问题。任何援助将真正赞赏。

回答

1

我可以问一个明显的问题:CustomNavNewsletter.dll是否在你的包的根目录下?因为该错误消息表明安装程序正在寻找它。

您是否在DNN 5中使用了DNN 4清单?这种组合意味着安装程序不会在.dll文件的正确位置查找。如果您使用的是DNN 5清单,<component type="Assembly">部分中的.dll文件(good)还是文件部分?

+0

不,这是在zip文件 – Smithers 2011-01-27 23:57:09

2

昨天我遇到了这个问题。检查您的CustomNavNewsletter.dnn文件。在那里你会看到安装成功所需的所有必需文件。无论如何,如果你下载CustomNavNewsletter.dnn文件中的CustomNavNewsletter.dll文件,请查看该行上面是否有文件夹。我会快速复制我的代码给你一个例子。 <file> <path>bin</path> <name>Arke.NewsFeed.dll</name> </file>

对于它所说的路径,如果你在另一个文件夹中,将bin替换为你的文件夹名称。当我制作我的安装zip文件时,我喜欢将所需的文件移动到另一个文件夹中,并在那里进行安装,然后将我的.dll移动到bin文件夹中。

希望这会有所帮助!

马特

+0

帮我为我的模块名称中它有空间里面的bin文件夹,但.dnn文件改变空格为下划线。感谢您指点我正确的方向! – StaticVoid 2014-07-30 14:46:36