2011-03-09 113 views
1

我为我的dnn网站开发了一个自定义登录模块,我可以在安装dnn版本05.06.01(238)的本地主机上安装自定义登录,但是当我尝试将其安装到我的Live站点时安装在同一DNN的版本,安装失败,并显示错误如下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 

回答

3

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

+0

感谢您的回复,它解决了,我删除了 ....标签在配置文件中。 – Senthil 2011-03-10 04:25:13

0

的结果查看您的权限在安装文件夹使确定NETWOR K SERVICE/S(不记得它是否有s)具有读/写权限

+0

安装文件夹具有写入权限,因为其他软件包已成功安装,我将在安装我的自定义身份验证登录时发布所有的安装文件。 – Senthil 2011-03-09 11:59:53

+0

检查web.config文件的权限。确保它没有设置为只读,并且NETWORK SERVICE帐户可以写入/修改它。 – notandy 2011-03-09 20:59:42

相关问题