Follow

Unhandled Exception occurs during install of Director 14.1

Applies To:

Venafi Encryption Director 14.1,  Venafi TrustAuthority,  Venafi TrustForce

Symptom:

An Unhandled Exception occurs during the install/upgrade of Director 14.1.

Screen_Shot_2014-04-07_at_12.03.04_PM.png

See below for the exception text:

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Web.Administration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

File name: 'Microsoft.Web.Administration, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

at Venafi.Core.Support.IISSupport.GetExistingIISCertificate(X509Certificate2& Certificate)

at Venafi.ControlCenter.InstallWizard.PerformInstall()

at ComponentFactory.Krypton.Toolkit.KryptonButton.OnClick(EventArgs e)

at ComponentFactory.Krypton.Toolkit.KryptonButton.OnButtonClick(Object sender, MouseEventArgs e)

at ComponentFactory.Krypton.Toolkit.ButtonController.MouseUp(Control c, Point pt, MouseButtons button)

at ComponentFactory.Krypton.Toolkit.ViewManager.MouseUp(MouseEventArgs e, Point rawPt)

at ComponentFactory.Krypton.Toolkit.VisualControlBase.OnMouseUp(MouseEventArgs e)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at ComponentFactory.Krypton.Toolkit.VisualControlBase.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

WRN: Assembly binding logging is turned OFF.

To enable assembly bind failure logging, set the registry value HKLM\Software\Microsoft\Fusion!EnableLog to 1.

Note: There is some performance penalty associated with assembly bind failure logging.

To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Cause:

The reason this occurs is because of the new Venafi "Operation Certificate" feature which requires IIS. We have created a patch that will no longer fail if IIS is not on present on the server.

Resolution:

Resolution #1:

Do the following to resolve the issue:

  1. Download the attached patch (updated Director Control Center).
  2. Unzip DCC.exe.zip file.
  3. Copy the new DCC.exe to the venafi\Platform directory on the director server.
  4. Open an administrator command prompt.
  5. Change directory to venafi\Platform and run "dcc.exe -wizard"

The installation should proceed an no longer cause and exception.

Resolution #2:

Install Trust Protection Platform version 14.2 or higher.

Was this article helpful?
0 out of 0 found this helpful

Comments