System.Runtime.InteropServices.COMException (0x8009310B): ASN1 bad tag value met, while installing license file.
search cancel

System.Runtime.InteropServices.COMException (0x8009310B): ASN1 bad tag value met, while installing license file.

book

Article ID: 176918

calendar_today

Updated On:

Products

IT Management Suite

Issue/Introduction

System.Runtime.InteropServices.COMException (0x8009310B): ASN1 bad tag value met, while installing license file.

Priority: 1
Date: 22/04/2009 09:23:11
Tick Count: 595196437
Host Name: NS
Process: w3wp.exe (10304)
Thread ID: 12792
Module: AltirisNativeHelper.dll
Source: LicensingConfigPage
Description: Failed to install license certificates - "--- BEGIN CERTIFICATE ---
...........

--- END CERTIFICATE ---". Error=System.Runtime.InteropServices.COMException (0x8009310B): ASN1 bad tag value met.
   at CELICENSELib.CELicensingClass.InstallLicense(String bstrCertificate)
   at Altiris.NS.Licensing.LicensingService.InstallCertificate(String certificate)
   at Altiris.NS.UI.cfgLicensingB.btnInstall_Click(Object sender, EventArgs e)
-----------------------------------------------------------------------------------------------------
Priority: 1
Date: 22/04/2009 09:23:11
Tick Count: 595196437
Host Name: NS
Process: w3wp.exe (10304)
Thread ID: 12792
Module: aexlicense.dll
Source: Licensing
Description: Failed on call to CCELicensing::InstallLicense failed, Error - 8009310b.

Cause

It seems that the wrong version of .NET is being used to decrypt the license certificate. Microsoft has made changes to the decryption process/requirements starting .NET 2.0 and above.

Resolution

If there are no specific applications requiring .NET 2.0, 3.0 and 3.5; then please make a complete backup of the Notification Server and uninstall .NET 2.0, 3.0 and 3.5.

If this does not fix the issue; please run a repair of Notification Server from Add/remove Programs.

NOTE: You may encounter errors in the console after the repair. Please review the KB46775.

Try to re-apply the license files after the repair if there are no additional errors.

Applies To
NS 6.0 Sp3 R7/R10

Windows 2003 Sp2

SQL Server 2005 Sp2

.NET versions installed:
V1.0.3705
V1.1.4322
V2.0.50727
V3.0
V3.5