1

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

包安装报告

包安装结果见下图

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
4

2 回答 2

3

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

于 2011-03-09T14:49:18.427 回答
0

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

于 2011-03-09T11:34:24.230 回答