After some installation/reconfiguration via SIM following error page may be shown:
Console redirects to this page if product is uninstalled.
In given example Notification Server has been marked as uninstalled.
SIM logs also contain following warnings:
2/25/2014 1:11:56 PM Unexpected exception caught while building the product to msi upgrade code map. HKEY_LOCAL_MACHINE\Software\Altiris\eXpress\Notification Server\ProductInstallation\{a18da391-b2dc-4bbd-83a9-84b2fdfd6f9f} System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
at System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(TextReader txtReader)
at Altiris.NS.Installation.DbConfiguration.BuildProductToMsiGuidMappings(Dictionary`2 productGuidToMsiUpgradeCodeMap, Dictionary`2 productInstallGuidToMsiProductCodeMap) Altiris.NS.Installation.DbConfiguration.BuildProductToMsiGuidMappings AeXSvc 40
"2/25/2014 1:12:26 PM","Product 'Notification Server' is found in the database but has not been installed on the machine. Uninstalling items that belongs to this product. ProductGuid:d0e33520-c160-11d2-8612-00104b74a9df","Altiris.NS.Installation.DbConfiguration.MarkItemsUninstalledForMissingProductMsi","AeXSvc","40"
--------
"2/20/2014 10:00:13 AM","Unable to load config file ""D:\Program Files\Altiris\Notification Server\Config\CoreSettings.config"". Error=System.Xml.XmlException: ??????????????
?? System.Xml.XmlTextReaderImpl.Throw(Exception e)
?? System.Xml.XmlTextReaderImpl.ParseDocumentContent()
?? System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
?? System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
?? System.Xml.XmlDocument.Load(XmlReader reader)
?? System.Xml.XmlDocument.Load(String filename)
?? Altiris.NS.Hosting.AeXHoster.LoadAllInstallations()","Altiris.NS.Hosting.AeXHoster.LoadAllInstallations","AeXSVC.exe","5","Warnings"
Problem is caused by invalid *.config file in .../Program Files/Altiris/.../Config folder.
In this example it was corrupted coresettings.config file in ../Program Files/Altiris/Notification Server/Config folder.
Normally coresettings.config file resides in C:\ProgramData\.. but for some reason it was found in a wrong location.
Installation attempts to load all .config files and since it encountered corrupted file it never completed configuration check and left product in uninstalled state.
1. This non-critical warning helps to find corrupted file:
"2/20/2014 10:00:13 AM","Unable to load config file ""D:\Program Files\Altiris\Notification Server\Config\CoreSettings.config"". Error=System.Xml.XmlException: ??????????????
?? System.Xml.XmlTextReaderImpl.Throw(Exception e)
?? System.Xml.XmlTextReaderImpl.ParseDocumentContent()
?? System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)
?? System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc)
?? System.Xml.XmlDocument.Load(XmlReader reader)
?? System.Xml.XmlDocument.Load(String filename)
?? Altiris.NS.Hosting.AeXHoster.LoadAllInstallations()","Altiris.NS.Hosting.AeXHoster.LoadAllInstallations","AeXSVC.exe","5","Warnings"
----
Delete this file(s).
2. Find which product was uninstalled.
GUID of the product can be found in warning:
"2/25/2014 1:12:26 PM","Product 'Notification Server' is found in the database but has not been installed on the machine. Uninstalling items that belongs to this product. ProductGuid:d0e33520-c160-11d2-8612-00104b74a9df","Altiris.NS.Installation.DbConfiguration.MarkItemsUninstalledForMissingProductMsi","AeXSvc","40"
Running this SQL query returns no results:
select * from vProduct where Guid='D0E33520-C160-11D2-8612-00104B74A9DF'
If this is true mark it back as installed by running query:
exec spSetProductUninstalled 'D0E33520-C160-11D2-8612-00104B74A9DF', 0
3. You may need to run NS.Weekly scheduled job as well to restore any scheduled jobs which were removed because product was in uninstalled state.
Applies To
ITMS 7.x