License removal tool unable to remove SLF licenses.

book

Article ID: 170162

calendar_today

Updated On:

Products

Symantec Products

Issue/Introduction

Remove License tool unable to remove SLF licenses.

Exception occurred during SLIC license removal.

Data at the root level is invalid. Line 1, position 1.
   [System.Xml.XmlException @ System.Xml]
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
   at System.Xml.XmlDocument.Load(XmlReader reader)
   at System.Xml.XmlDocument.LoadXml(String xml)
   at Altiris.NS.Licensing.LicenseUtil.RemoveSlic(LicenseInstance licenseInstance)

Exception logged from:
   at Altiris.NS.Licensing.LicenseUtil.RemoveSlic(Altiris.NS.Licensing.LicenseInstance)
   at Altiris.NS.Licensing.LicenseUtil.RemoveLicense(Altiris.NS.Licensing.LicenseInstance)
   at RemoveLegacyLicense.MainForm.removeButton_Click(Object, EventArgs)
   at System.Windows.Forms.Control.OnClick(EventArgs)
   at System.Windows.Forms.Button.OnClick(EventArgs)
   at System.Windows.Forms.Button.OnMouseUp(System.Windows.Forms.MouseEventArgs)
   at System.Windows.Forms.Control.WmMouseUp(System.Windows.Forms.Message&, System.Windows.Forms.MouseButtons, Int32)
   at System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message&)
   at System.Windows.Forms.ButtonBase.WndProc(System.Windows.Forms.Message&)
   at System.Windows.Forms.Button.WndProc(System.Windows.Forms.Message&)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(System.Windows.Forms.NativeMethods+MSG&)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(System.Windows.Forms.NativeMethods+MSG&)
   at System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
   at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
   at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
   at RemoveLegacyLicense.Program.Main()

-----------------------------------------------------------------------------------------------------
Process: RemoveLicense (9644), Thread ID: 1, Module: Altiris.NS.dll
Priority: 1, Source: Altiris.NS.Licensing.LicenseUtil.RemoveSlic

Cause

KNOWN ISSUE

Environment

Symantec Installation Manager (SIM) 8.1.x

Resolution

A point-fix in 8.1.x versions has been attached.

HOW TO INSTALL THIS POINTFIX:

  1. Retrieve files from the archive to the NS hard drive.
  2. Run as administrator PFinstaller2.EXE, click on 'Install' button.

HOW TO UNINSTALL THIS POINTFIX:

  1. During PF installation - Backup folder created -where installer will copy all original files. (BackUp folder will be located in PF root)
  2. Execute PFInstaller2.exe with administrative privileges (right-click > Run as administrator).
  3. Accept UAC (User Account Control) prompt, select Uninstall. During uninstall:
    1. Installer will stop services.
    2. Installer will copy backed up files to original directory. (e.g.  Agent installation package will be copied in Altiris folder)
    3. Revert assembly files.
    4. Run executable files - (e.g. agent installation and registry delete)
    5. Start services.
    6. Update/revert registry. (e.g. agent version will be set to pre PF one)

WORKAROUND:

  1. Delete files from "C:\ProgramData\Symantec Shared\Licenses".
  2. Start Task Scheduler and run "NS.Internal Licensing Refresh Item.{e8136a00-759c-4471-addc-b1d9e58cb5bd}"
  3. Use SIM to install new/temporary license file(s) that don't start in the future.

Attachments

8.1_SMP_PF4127900.zip get_app