首页 文章

安装DotNetNuke(5.5)模块时出错 - 读取zip包时出错

提问于
浏览
2

我在本地计算机上创建了一个自定义模块,并使用标准DNN部署方法成功地将其安装到远程服务器多次 .

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

Error reading the zip package - see below

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

Failure File specified in the dnn could not be found in the zip file: - 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.

我一直在拼命搜索,似乎无法解决这个问题 . 任何援助都将得到真正的赞赏 .

2 回答

  • 1

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

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

    希望这可以帮助!

    马特

  • 2

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

    您是否在DNN 5中使用DNN 4清单?这种组合意味着安装程序没有使用DNN 5清单, <component type="Assembly"> 部分(好)中的.dll文件,还是文件部分?

相关问题