Page 1 of 1

New Error message from softpro 2.6 OrderTracking API

Posted: Tue May 13, 2014 4:21 pm
by HariK
Hi,

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
Showing 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.
Here is when we usually see this exception

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

Re: New Error message from softpro 2.6 OrderTracking API

Posted: Tue May 13, 2014 4:37 pm
by John Morris
This is not one of our error messages. Can you provide a call stack for the exception?

Re: New Error message from softpro 2.6 OrderTracking API

Posted: Tue May 13, 2014 8:33 pm
by HariK
Order isn't saved and below message is returned in the messages out parameter; No additional information is retuned by softpro API

Also I am unable to repro this currently, will see if any additional information is retuned next time this occurs

Code: Select all

orderTracking.SaveOrder(order, out messages);