Hi
After some investigation I found that my inventory nse is moved to the bad folder (NSCap\EvtQueue\Bad\AeXException) does anybody know what the error "Invalid <Key> element for resource Guid=0000.." Means? I have attached the nse that gives me this error.
Cheers,
Kåre Bering
<event date="Apr 22 14:36:47 +00:00" severity="2" hostName="EBJQXV" source="Altiris.NS.ResourceManagement.MessagingResource.FromXmlInternal" module="AeXSVC.exe" process="AeXSvc" pid="7696" thread="58" tickCount="418250281"><![CDATA[Invalid <Key> element for resource Guid=00000000-0000-0000-0000-000000000000 Name='vendor' Value='']]></event>
<event date="Apr 22 14:36:47 +00:00" severity="1" hostName="EBJQXV" source="Altiris.NS.ResourceManagement.ResourceImporter.LoadResources" module="AeXSVC.exe" process="AeXSvc" pid="7696" thread="58" tickCount="418250281"><![CDATA[Failed to import resource from the XML.
Name:
Guid:00000000-0000-0000-0000-000000000000
Ref:919
Owner:09357d77-bfcb-4e2a-b10b-a2b11fa881ca
( Exception Details: Altiris.NS.Exceptions.AeXException: You must either specify a resource key or a resource guid when creating a resource.
at Altiris.NS.ResourceManagement.MessagingResource.Save_Impl(Boolean allowUpdate)
at Altiris.NS.ResourceManagement.MessagingResource.<Save>b__0(IDatabaseContext context)
at Altiris.Database.DatabaseContext`1.PerformWithDeadlockRetryHelper(Int32 retries, Boolean inTransaction, Getter`1 getContext, Action`1 action, Action`1 retry)
at Altiris.Database.DatabaseContext`1.PerformWithDeadlockRetry(Int32 retries, Boolean startNewTransaction, IsolationLevel isolationLevel, Boolean independentContext, Action`1 action, Action`1 retry)
at Altiris.Database.DatabaseContext`1.PerformWithDeadlockRetry(Int32 retries, Boolean startNewTransaction, Action`1 action, Action`1 retry)
at Altiris.NS.ResourceManagement.ResourceImporter.LoadResources(XmlReader reader) )
( Exception logged from:
at Altiris.Diagnostics.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception)
at Altiris.Diagnostics.Logging.EventLog.ReportException(String strMessage, String category, Exception exception)
at Altiris.NS.ResourceManagement.ResourceImporter.LoadResources(XmlReader reader)
at Altiris.NS.StandardItems.Messaging.InventoryCaptureItem.OnMessage_Impl(String message, Boolean useFilename)
at Altiris.NS.StandardItems.Messaging.InventoryCaptureItem.OnMessageInternal(String message, Boolean useFilename)
at Altiris.NS.StandardItems.Messaging.InventoryCaptureItem.OnFHMessage(String path)
at Altiris.NS.LegacyInterop.ItemMessageDispatcherService.Dispatch(String message, Boolean useFilename)
at Altiris.NS.LegacyInterop.ItemMessageDispatcherService.DispatchFile(String path)
at Altiris.NS.ClientMessaging.FileDispatcher.ProcessFileCallback(Object state)
at Altiris.Common.Threading.LocalThreadPool.ExecuteUserWorkItem(UserWorkItem workItem)
at Altiris.NS.Threading.NSThreadPool.ExecuteUserWorkItem(UserWorkItem workItem)
at Altiris.Common.Threading.LocalThreadPool.ExecuteUserWorkItemInContext(UserWorkItem workItem)
at Altiris.Common.Threading.LocalThreadPool.ThreadPoolProc(Object threadStartParameter)
at System.Threading.ThreadHelper.ThreadStart(Object obj)
)
( Extra Details: Type=Altiris.NS.Exceptions.AeXException Src=Altiris.NS )]]></event>
<event date="Apr 22 14:36:47 +00:00" severity="1" hostName="EBJQXV" source="Altiris.NS.StandardItems.Messaging.InventoryCaptureItem.OnMessage_Impl" module="AeXSVC.exe" process="AeXSvc" pid="7696" thread="58" tickCount="418250281"><![CDATA[Failed to process NSE :
( Exception Details: Altiris.NS.Exceptions.AeXException: You must either specify a resource key or a resource guid when creating a resource.
at Altiris.NS.ResourceManagement.MessagingResource.Save_Impl(Boolean allowUpdate)
at Altiris.NS.ResourceManagement.MessagingResource.<Save>b__0(IDatabaseContext context)
at Altiris.Database.DatabaseContext`1.PerformWithDeadlockRetryHelper(Int32 retries, Boolean inTransaction, Getter`1 getContext, Action`1 action, Action`1 retry)
at Altiris.Database.DatabaseContext`1.PerformWithDeadlockRetry(Int32 retries, Boolean startNewTransaction, IsolationLevel isolationLevel, Boolean independentContext, Action`1 action, Action`1 retry)
at Altiris.Database.DatabaseContext`1.PerformWithDeadlockRetry(Int32 retries, Boolean startNewTransaction, Action`1 action, Action`1 retry)
at Altiris.NS.ResourceManagement.ResourceImporter.LoadResources(XmlReader reader)
at Altiris.NS.StandardItems.Messaging.InventoryCaptureItem.OnMessage_Impl(String message, Boolean useFilename) )
( Exception logged from:
at Altiris.Diagnostics.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception)
at Altiris.Diagnostics.Logging.EventLog.ReportException(String strMessage, String category, Exception exception)
at Altiris.NS.Logging.EventLog.ReportException(String strMessage, Exception exception)
at Altiris.NS.StandardItems.Messaging.InventoryCaptureItem.OnMessage_Impl(String message, Boolean useFilename)
at Altiris.NS.StandardItems.Messaging.InventoryCaptureItem.OnMessageInternal(String message, Boolean useFilename)
at Altiris.NS.StandardItems.Messaging.InventoryCaptureItem.OnFHMessage(String path)
at Altiris.NS.LegacyInterop.ItemMessageDispatcherService.Dispatch(String message, Boolean useFilename)
at Altiris.NS.LegacyInterop.ItemMessageDispatcherService.DispatchFile(String path)
at Altiris.NS.ClientMessaging.FileDispatcher.ProcessFileCallback(Object state)
at Altiris.Common.Threading.LocalThreadPool.ExecuteUserWorkItem(UserWorkItem workItem)
at Altiris.NS.Threading.NSThreadPool.ExecuteUserWorkItem(UserWorkItem workItem)
at Altiris.Common.Threading.LocalThreadPool.ExecuteUserWorkItemInContext(UserWorkItem workItem)
at Altiris.Common.Threading.LocalThreadPool.ThreadPoolProc(Object threadStartParameter)
at System.Threading.ThreadHelper.ThreadStart(Object obj)
)
( Extra Details: Type=Altiris.NS.Exceptions.AeXException Src=Altiris.NS )]]></event>
<event date="Apr 22 14:36:47 +00:00" severity="1" hostName="EBJQXV" source="Altiris.NS.LegacyInterop.ItemMessageDispatcherService.Dispatch" module="AeXSVC.exe" process="AeXSvc" pid="7696" thread="58" tickCount="418250281"><![CDATA[ItemMessageDispatcherService::Dispatch
( Exception Details: Altiris.NS.Exceptions.AeXException: You must either specify a resource key or a resource guid when creating a resource.
at Altiris.NS.LegacyInterop.ItemMessageDispatcherService.Dispatch(String message, Boolean useFilename) )
( Exception logged from:
at Altiris.Diagnostics.Logging.EventLog.ReportException(Int32 severity, String strMessage, String category, Exception exception)
at Altiris.Diagnostics.Logging.EventLog.ReportException(String strMessage, String category, Exception exception)
at Altiris.NS.Logging.EventLog.ReportException(String strMessage, Exception exception)
at Altiris.NS.LegacyInterop.ItemMessageDispatcherService.Dispatch(String message, Boolean useFilename)
at Altiris.NS.LegacyInterop.ItemMessageDispatcherService.DispatchFile(String path)
at Altiris.NS.ClientMessaging.FileDispatcher.ProcessFileCallback(Object state)
at Altiris.Common.Threading.LocalThreadPool.ExecuteUserWorkItem(UserWorkItem workItem)
at Altiris.NS.Threading.NSThreadPool.ExecuteUserWorkItem(UserWorkItem workItem)
at Altiris.Common.Threading.LocalThreadPool.ExecuteUserWorkItemInContext(UserWorkItem workItem)
at Altiris.Common.Threading.LocalThreadPool.ThreadPoolProc(Object threadStartParameter)
at System.Threading.ThreadHelper.ThreadStart(Object obj)
)
( Extra Details: Type=Altiris.NS.Exceptions.AeXException Src=Altiris.NS )]]></event>
<event date="Apr 22 14:36:47 +00:00" severity="1" hostName="EBJQXV" source="Altiris.NS.ClientMessaging.FileDispatcher.ProcessFileCallback" module="AeXSVC.exe" process="AeXSvc" pid="7696" thread="58" tickCount="418250296"><![CDATA[Unable to process the file "E:\Altiris\Notification Server\NSCap\EvtQueue\Process\046dc3ec-d661-4f18-a815-88bf070099eb.nse" Moving to "E:\Altiris\Notification Server\NSCap\EvtQueue\Bad\AeXException\0820bbd8-e5a7-47ca-9aab-2ff344c69829.nse". Reason: You must either specify a resource key or a resource guid when creating a resource.]]></event>