SCSM 2016 and Service Requests

Hi Everyone. Does anyone use this with Service Requests??

I get an error when inside the Service request form and calling the addon. However calling it outside the form in the Request list doesnt.

Also as mentioned on other threads attachments dont attach, it throws an error.

attachment error:

Date: 21/02/2017 14:13:09
Application: Send Email Form
Application Version: 7.5.7487.0
Severity: Error
Message: This type of CollectionView does not support changes to its SourceCollection from a thread different from the Dispatcher thread.

System.ApplicationException: Something wrong happened ---> System.NotSupportedException: This type of CollectionView does not support changes to its SourceCollection from a thread different from the Dispatcher thread.
   at System.Windows.Data.CollectionView.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)
   at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at Microsoft.EnterpriseManagement.UI.SdkDataAccess.DataAdapters.DataItemCollection.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item)
   at itnetx.consolemail.assembly.Classes.ConsoleMailWizardData.AddAttachmentToIncident()
   at itnetx.consolemail.assembly.Classes.ConsoleMailWizardData.AcceptChanges(WizardMode wizardMode)
   --- End of inner exception stack trace ---
   at itnetx.consolemail.assembly.Classes.ConsoleMailWizardData.AcceptChanges(WizardMode wizardMode)
   at Microsoft.EnterpriseManagement.UI.WpfWizardFramework.PropertySheetDialogBase.bgw_DoAcceptWork(Object sender, DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   at Microsoft.EnterpriseManagement.ConsoleFramework.BackgroundWorkerWithCulture.OnDoWork(DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
System.NotSupportedException: This type of CollectionView does not support changes to its SourceCollection from a thread different from the Dispatcher thread.
   at System.Windows.Data.CollectionView.OnCollectionChanged(Object sender, NotifyCollectionChangedEventArgs args)
   at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at Microsoft.EnterpriseManagement.UI.SdkDataAccess.DataAdapters.DataItemCollection.OnCollectionChanged(NotifyCollectionChangedEventArgs e)
   at System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item)
   at itnetx.consolemail.assembly.Classes.ConsoleMailWizardData.AddAttachmentToIncident()
   at itnetx.consolemail.assembly.Classes.ConsoleMailWizardData.AcceptChanges(WizardMode wizardMode)



Answers

  • landynut1134landynut1134 Member IT Monkey ✭
    From the Service Request form

    Date: 21/02/2017 14:18:19
    Application: System Center Service Manager
    Application Version: 7.5.7487.0
    Severity: Error
    Message: Error

    System.ArgumentException: propertyName
       at Microsoft.EnterpriseManagement.UI.SdkDataAccess.DataAdapters.EnterpriseManagementObjectProjectionDataType.GetPropertyValue(Object source, String propertyName)
       at Microsoft.EnterpriseManagement.UI.SdkDataAccess.DataAdapters.BindableCachedDataItem`1.get_Item(String propertyName)
       at itnetx.consolemail.assembly.Classes.ConsoleMailWizardData..ctor(WorkItemTypeEnum type, IDataItem& dataitemIncident)
       at itnetx.consolemail.assembly.Classes.ConsoleMailTaskHandler.ExecuteCommand(IList`1 nodes, NavigationModelNodeTask task, ICollection`1 parameters)

  • Brian_WiestBrian_Wiest Customer Super IT Monkey ✭✭✭✭✭
    It is a posted bug in the support portal
    https://support.cireson.com/Problem/Edit/PR61293/

  • Morten_Aulie_PettersMorten_Aulie_Petters Premier Partner IT Monkey ✭
    The PR61293 ticket only addresses the attachment issue. After upgrading to SCSM 2016 for a customer yesterday the Cireson ASE app is not able to open up when we click on the task in the SR or CR Work Item form. But doing it from a list view however works ok. Is Cireson currently investigating that issue?
  • Morten_Aulie_PettersMorten_Aulie_Petters Premier Partner IT Monkey ✭
    edited November 2017
    @landynut1134: I think the PR62052 ticket matches this error. I just created my own Incident ticket for this issue (IR70727).

    Edit: The Incident ticket was resolved right away because it's a Free Community App. So it should only be addressed in the Community portal.
  • AdrianoAdriano Member IT Monkey ✭
    Is this solved for SR and CR? 
Sign In or Register to comment.