DNN 自定义身份验证提供程序安装错误

发布于 2024-10-20 21:13:16 字数 3101 浏览 2 评论 0原文

我为我的 dnn 站点开发了一个自定义登录模块,我可以在本地主机安装的 dnn 版本 05.06.01 (238) 中安装自定义登录,但是当我尝试在安装了相同 dnn 版本的 Live 站点中安装它时,它安装失败并显示如下错误

软件包安装报告

请参阅下面的软件包安装结果

Error loading files from temporary folder - see below

StartJob    Starting Installation

Info    Starting Installation - DNN_CustomLoginAuthentication

Info    Starting Installation - AuthenticationSystem

Info    Authentication registered successfully - CustomLogin

Info    Component installed successfully - AuthenticationSystem

Info    Starting Installation - Assembly

Info    Assembly registered - bin\Providers\DotNetNuke.Authentication.CustomLogin.dll

Info    Created - bin\Providers\DotNetNuke.Authentication.CustomLogin.dll

Info    Component installed successfully - Assembly

Info    Starting Installation - File

Info    Folder Created - 

C:\inetpub\vhosts\CITYBROKERS.GR\httpdocs\DesktopModules\AuthenticationServices\CustomLogin\App_LocalResources

Info    Created - App_LocalResources\Login.ascx.resx

Info    Created - App_LocalResources\Settings.ascx.resx

Info    Created - Login.ascx

Info    Created - Settings.ascx

Info    Created - license.txt

Info    Created - CustomLogin_05.00.01_ReleaseNotes.txt

Info    Created - trusterror.htm

Info    Created - install.css

Info    Created - logo.gif

Info    Component installed successfully - File

Info    Starting Installation - ResourceFile

Info    Component installed successfully - ResourceFile

Info    Starting Installation - Cleanup

Info    Component installed successfully - Cleanup

Info    Starting Installation - Config


Info    Creating backup of previous version - web.config

Failure     ExceptionSystem.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Services.Installer.XmlMerge.UpdateNode(XmlNode rootNode, XmlNode actionNode) at DotNetNuke.Services.Installer.XmlMerge.ProcessNode(XmlNode node) at DotNetNuke.Services.Installer.XmlMerge.ProcessNodes(XmlNodeList nodes, Boolean saveConfig) at DotNetNuke.Services.Installer.XmlMerge.UpdateConfig(XmlDocument target) at DotNetNuke.Services.Installer.Installers.ConfigInstaller.Install()
Failure     Installation Failed - Config


Info    Rolling back component install - AuthenticationSystem

Info    Authentication unregistered successfully - CustomLogin

Info    Component rolled back successfully - AuthenticationSystem

Info    Rolling back component install - Assembly

Info    Assembly unregistered - bin\Providers\DotNetNuke.Authentication.CustomLogin.dll

Info    Component rolled back successfully - Assembly

Info    Rolling back component install - File

Info    Component rolled back successfully - File

Info    Rolling back component install - ResourceFile

Info    Component rolled back successfully - ResourceFile

Info    Rolling back component install - Cleanup

Info    Component rolled back successfully - Cleanup

Info    Installation Failed - DNN_CustomLoginAuthentication

Info    Deleted temporary install folder

EndJob  Installation Failed

Info    Component rolled back successfully - AuthenticationSystem

i developed a custom login module for my dnn site, i could install custom login in my local host installed dnn version 05.06.01 (238), but when i tried to install it in my Live site installed same dnn version, it failed to install and shows the Error as follows

Package Installation Report

See below for the results of the package installation

Error loading files from temporary folder - see below

StartJob    Starting Installation

Info    Starting Installation - DNN_CustomLoginAuthentication

Info    Starting Installation - AuthenticationSystem

Info    Authentication registered successfully - CustomLogin

Info    Component installed successfully - AuthenticationSystem

Info    Starting Installation - Assembly

Info    Assembly registered - bin\Providers\DotNetNuke.Authentication.CustomLogin.dll

Info    Created - bin\Providers\DotNetNuke.Authentication.CustomLogin.dll

Info    Component installed successfully - Assembly

Info    Starting Installation - File

Info    Folder Created - 

C:\inetpub\vhosts\CITYBROKERS.GR\httpdocs\DesktopModules\AuthenticationServices\CustomLogin\App_LocalResources

Info    Created - App_LocalResources\Login.ascx.resx

Info    Created - App_LocalResources\Settings.ascx.resx

Info    Created - Login.ascx

Info    Created - Settings.ascx

Info    Created - license.txt

Info    Created - CustomLogin_05.00.01_ReleaseNotes.txt

Info    Created - trusterror.htm

Info    Created - install.css

Info    Created - logo.gif

Info    Component installed successfully - File

Info    Starting Installation - ResourceFile

Info    Component installed successfully - ResourceFile

Info    Starting Installation - Cleanup

Info    Component installed successfully - Cleanup

Info    Starting Installation - Config


Info    Creating backup of previous version - web.config

Failure     ExceptionSystem.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Services.Installer.XmlMerge.UpdateNode(XmlNode rootNode, XmlNode actionNode) at DotNetNuke.Services.Installer.XmlMerge.ProcessNode(XmlNode node) at DotNetNuke.Services.Installer.XmlMerge.ProcessNodes(XmlNodeList nodes, Boolean saveConfig) at DotNetNuke.Services.Installer.XmlMerge.UpdateConfig(XmlDocument target) at DotNetNuke.Services.Installer.Installers.ConfigInstaller.Install()
Failure     Installation Failed - Config


Info    Rolling back component install - AuthenticationSystem

Info    Authentication unregistered successfully - CustomLogin

Info    Component rolled back successfully - AuthenticationSystem

Info    Rolling back component install - Assembly

Info    Assembly unregistered - bin\Providers\DotNetNuke.Authentication.CustomLogin.dll

Info    Component rolled back successfully - Assembly

Info    Rolling back component install - File

Info    Component rolled back successfully - File

Info    Rolling back component install - ResourceFile

Info    Component rolled back successfully - ResourceFile

Info    Rolling back component install - Cleanup

Info    Component rolled back successfully - Cleanup

Info    Installation Failed - DNN_CustomLoginAuthentication

Info    Deleted temporary install folder

EndJob  Installation Failed

Info    Component rolled back successfully - AuthenticationSystem

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

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

发布评论

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

评论(2

总以为 2024-10-27 21:13:16

更新 web.config 失败。检查提供程序清单中的 config 部分,看看它是否引用了不存在的节点。将符号包安装到您的实时站点上,以获取发生的异常的行号(或者更好的是,获取实时站点的本地副本并在调试器中逐步完成安装)。

It failed update the web.config. Check the config section in the provider's manifest, and see if it's referencing nodes that don't exist. Install the Symbols package onto your live site to get a line number for the exception that occurs (or, even better, get a local copy of your live site and walk through the installation in the debugger).

慕烟庭风 2024-10-27 21:13:16

检查您对安装文件夹的权限,确保 NETWORK SERVICE/S(不记得它是否有 s)具有读/写权限

Check your permissions on the installs folder make sure NETWORK SERVICE/S (cant remember if it has an s) has read/write permissions

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