1

DNN サイト用のカスタム ログイン モジュールを開発しました。DNN バージョン 05.06.01 (238) をインストールしたローカル ホストにカスタム ログインをインストールできましたが、同じ 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 に答える