Page 1 of 1

works on one, but not on the other

Posted: Thu Sep 20, 2018 11:37 am
by toddsou
Hello-

I have a basic console app which uses the SDK to open an order, make a small edit, and then save the order.

When executed on my machine against a given order, it works. When the output folder is xcopy'd over to another dev's machine and executed against the same order it does not. The exception message is the following:

The order has unresolved errors. Any outstanding errors must be resolved before
the order can be saved.


When I modify the code to interrogate the IOrder.GetMessages() collection, I see the following:

There are outstanding order module compilation errors.

I know this validation message is typically related to CORs stuff, but since I received NO errors nor exceptions on the first machine, I'm questioning that line of thought.

I thought xcopy'ing the entire output folder of my console app would resolve any issues related to missing dll's, etc.

Thoughts appreciated.

Re: works on one, but not on the other - SOLVED

Posted: Thu Sep 20, 2018 2:00 pm
by toddsou
Solved. Just to follow up on my own thread-

The program worked on my machine because the library in question (IronPython.Modules.dll) was loaded from the GAC. On the other machines where the program failed, this library did not exist in the GAC. I had forgotten that I had installed IronPython.NET a few months back, and that dll was included in that package.

I wish the SoftPro SDK project templates included these missing references (...AppInsights, ...Scripting, etc). But until that day comes....

Hopefully, this helps someone else out with a similar problem.

Regards-

Re: works on one, but not on the other

Posted: Thu Sep 20, 2018 2:04 pm
by BobRichards
Thanks for posting the fix! I was wondering if IronPython was missing and was looking through the forums.