We are seeing below error from the softpro order tracking API (Softpro 2.6), do you know if you have seen this before and/or know what is causing it
Here is when we usually see this exceptionShowing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
Code: Select all
CreateOrderTracking
using (var order = orderTracking.GetOrder(orderQuerySpec, false))
{
var commitment = order.Title.Commitment[0];
foreach (string exception in exceptionList)
{
var commitmentException = commitment.Exceptions.CreateNew();
commitmentException.Description = "exception";
commitmentException.IncludeOnLoanPolicy = true;
commitmentException.IncludeOnOwnerPolicy = true;
}
orderTracking.SaveOrder(order, out messages);
}
More Info on this error:
This is NOT happening on all orders
Once the issue is repro on any order, it is repro on all subsequent calls to the same order