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

发布于 2024-10-14 19:16:21 字数 1799 浏览 4 评论 0原文

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

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

读取 zip 包时出错 - 见下文

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

失败 在 zip 文件中找不到 dnn 中指定的文件: - 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.

我一直在拼命搜索,似乎无法解决这个问题。任何帮助将不胜感激。

I have created a custom module on my local machine and have installed it to a remote server successfully a number of times using standard DNN deployment methods.

Suddenly, when I try to install a new version, I receive the following error:

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.

I've been desperately searching and cannot seem to resolve this. Any assistance would be truly appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

挽容 2024-10-21 19:16:21

我昨天遇到了这个问题。检查您的 CustomNavNewsletter.dnn 文件。在里面您将看到成功安装所需的所有文件。无论如何,如果您转到 CustomNavNewsletter.dnn 文件中显示 CustomNavNewsletter.dll 的位置,请查看该行上方是否有文件夹。我将快速复制我的代码给你一个例子。
<代码><文件>
<路径>bin
<名称>Arke.NewsFeed.dll

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

希望这有帮助!

马特

I ran into this problem yesterday. Check your CustomNavNewsletter.dnn file. Inside there you will see all of the required files needed to make an installation successful. Anyways, if you go down to where it says CustomNavNewsletter.dll inside your CustomNavNewsletter.dnn file, look to see if there is a folder above that line. I will copy my code quick to give you an example.
<file>
<path>bin</path>
<name>Arke.NewsFeed.dll</name>
</file>

For where it says path, if you have it in another folder, replace bin with whatever name your folder is. When I make my installation zip's I like to move the required files into another folder and make my installation there, and just move my .dll into a bin folder.

Hope this helps!

Matt

行至春深 2024-10-21 19:16:21

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

您是否在 DNN 5 中使用 DNN 4 清单?这种组合意味着安装程序不会在正确的位置查找 .dll 文件。如果您使用的是 DNN 5 清单,.dll 文件是位于 部分(良好)还是文件部分?

Can I ask the obvious question: Is CustomNavNewsletter.dll in the root of your package? Because that error message is indicating that the installer is looking there for it.

Are you using a DNN 4 manifest in DNN 5? That combination means that the installer doesn't look in the right place for .dll files. If you're using a DNN 5 manifest, are the .dll files in a <component type="Assembly"> section (good), or in a files section?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文