DNN 自定义身份验证提供程序安装错误
我为我的 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
更新 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).检查您对安装文件夹的权限,确保 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