New Error message from softpro 2.6 OrderTracking API

Discussions related to order tracking development with the ProForm module.

Moderator: Phil Barton

Post Reply
HariK
Posts: 25
Joined: Wed Feb 23, 2011 4:15 pm

New Error message from softpro 2.6 OrderTracking API

Post 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
John Morris
Posts: 411
Joined: Thu Sep 11, 2008 11:35 am
Location: Raleigh, NC, USA
Contact:

Re: New Error message from softpro 2.6 OrderTracking API

Post by John Morris »

This is not one of our error messages. Can you provide a call stack for the exception?
John Morris
Sr. Software Architect
SoftPro
HariK
Posts: 25
Joined: Wed Feb 23, 2011 4:15 pm

Re: New Error message from softpro 2.6 OrderTracking API

Post 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);
Post Reply