When trying to create or edit an asset such as a computer, the error "Server Error in 'Altiris/AssetContractCommon' Application" occurs. Or, other errors may occur, such as when trying to save an asset, for example, "<data class> cannot be null." This prevents the asset from being able to be created or edited. A variation of the error is "An error occurred loading the page. Please check the log for details."
Server Error in 'Altiris/AssetContractCommon' Application.
Full error details then follow below this. For example:
File or assembly name Altiris., or one of its dependencies, was not found.
Note: The error may reference enabling error reporting on the Altiris server via the web.config file. This actually is not an error and provides no useful information, but is telling the user that workstation-level error reporting is disabled. To see the real error, reproduce the issue directly on the Altiris server or enable workstation-level error reporting, as the instructions in the "error" describe.
In the Altiris server logs, errors pointing to the specific failing Altiris product will appear. For example,
"File or assembly name Altiris.PatchManagementSolution, or one of its dependencies, was not found." -- refers to Patch Management Solution.
Or,
"An unexpected exception has occurred (GUID: (), DataClassTable: Inv_Vontu_DLPAgent_Info, Exception: System.Data.SqlClient.SqlException: Invalid object name 'Inv_Vontu_DLPAgent_Info'.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) -- refers to DLP-IP.
Or,
"FileNotFoundException: Could not load file or assembly 'Altiris.DellCM.Patch, Version=3.0.0.0, Culture=neutral, PublicKeyToken=' or one of its dependencies. The system cannot find the file specified.]" -- refers to Altiris Patch Management for Dell Servers Solution.
Or,
"Exception encountered: Altiris.NS.Exceptions.AeXException: An unexpected exception has occured during CreateInstance. (Assembely:Altiris.NetworkInventoryTask, Version=7.0.0.0, Culture=neutral, PublicKeyToken= Type:Altiris.NetworkInventoryTask.CustomTypes.SNMPResourceDataClass) ---> System.IO.FileNotFoundException: Could not load file or assembly 'Altiris.NetworkInventoryTask, Version=7.0.0.0, Culture=neutral, PublicKeyToken=' or one of its dependencies. The system cannot find the file specified." -- refers to Inventory Solution.
Or,
"An unexpected exception has occurred during CreateInstance" with information then specifying the file and product that caused the issue.
Or,
Unable to update the scheduling data associated with the item: 97829b6d-9541-42a3-9415-51e3234ae8a2
[Altiris.NS.Exceptions.AeXException @ Altiris.NS]
at Altiris.NS.ItemManagement.ItemScheduleMonitor.Notify(ItemNotificationType type, IItem item, String oldItemName)
at Altiris.NS.ItemManagement.Item.NotifyItemScheduler(ItemNotificationType notificationType, String oldItemName)
Keyset does not exist (Exception from HRESULT: 0x80090016)
[System.Runtime.InteropServices.COMException @ mscorlib]
at System.Runtime.InteropServices.ComTypes.IPersistFile.Save(String pszFileName, Boolean fRemember)
at Altiris.NS.Scheduling.ScheduleManagerInterop1.PersistTask(ITask iTask)
at Altiris.NS.Scheduling.ScheduleManagerInterop1.<>c__DisplayClass9.b__8(ITask iTask)
at Altiris.NS.Scheduling.ScheduleManagerInterop1.WithTask[T](String taskName, Boolean createNew, Boolean throwOnError, Func`2 action, String profileCategory)
at Altiris.NS.Scheduling.ScheduleManagerInterop1.SetTask(String taskName, String taskData)
at Altiris.NS.Scheduling.ScheduleManagerInteropContext.SetTask(String name, String task)
at Altiris.NS.ItemManagement.ItemScheduleMonitor.CreateCustomSchedule(CodeProfiler cp, ScheduleManagerInteropContext tasks, String xml, IItemScheduling ische, ECreateOrUpdateResult re, String name)
at Altiris.NS.ItemManagement.ItemScheduleMonitor.CreateOrUpdate(ScheduleManagerInteropContext tasks, IItem item, String oldItemName, Boolean forceOldRemove)
at Altiris.NS.ItemManagement.ItemScheduleMonitor.CreateOrUpdate(IItem item, String oldItemName, Boolean forceOldRemove)
at Altiris.NS.ItemManagement.ItemScheduleMonitor.Notify(ItemNotificationType type, IItem item, String oldItemName)
COM Exception errcode: 0x80090016
It this particular example NS schedules could not be created or edited, since NS did not have proper rights to subfolders under folder.
C:\ProgramData\Microsoft\Crypto\RSA
ITMS 7.x, 8.x
Various.
Note: This article is primarily applicable to when the user is in an out of box security role and this issue occurs. If this issue only occurs while in a custom security role, instead first refer to the following article. If this isn't any help, then continue with this article.
Error "Server Error in 'Altiris/AssetContractCommon' Application" occurs when trying to create or edit an asset while in a custom security role
KB 158317
Certain Altiris products (listed below) add their dependencies and/or data classes into resource types that CMDB Solution manages, such as computers. Sometimes when these other Altiris products are upgraded, repaired or uninstalled, their dependencies and/or data classes become broken or corrupted. When this happens, CMDB loses its functionality of being able to edit or save these resource types. The cause is the other product therefore; CMDB has little to no control over this.
The Altiris products that are known to potentially cause this are:
Solution:
Runtime Error
If a generic "runtime error" appears as the "full" error details, this is actually not the real error. As the full message shows, error reporting has been disabled (by default) on the Symantec Management Platform server. Reproduce the issue on the server to get the real full error details or enable error reporting by following the instructions on the false error to then see these on a workstation. Then, the cause can be directly analyzed.