2011-03-09 88 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

相關問題