Search found 17 matches

by at2k21
Wed Jun 13, 2018 5:49 pm
Forum: General
Topic: Timeout/exception on call to IOrderStore.NewOrder(OrderCreationSpec)
Replies: 6
Views: 1166

Re: Timeout/exception on call to IOrderStore.NewOrder(OrderCreationSpec)

Bob,

Thank you for the update. I ran a test changing my code to use a single instance of the SelectServer object and that caused every NewOrder call to fail after one failed.
by at2k21
Wed Jun 13, 2018 1:02 pm
Forum: General
Topic: Timeout/exception on call to IOrderStore.NewOrder(OrderCreationSpec)
Replies: 6
Views: 1166

Re: Timeout/exception on call to IOrderStore.NewOrder(OrderCreationSpec)

As luck would have it I found this matching error on the server. Work task failed. Error: One or more errors occurred. Stack Trace: *********************************************************************************** Error: Execution Timeout Expired. The timeout period elapsed prior to completion of ...
by at2k21
Wed Jun 13, 2018 12:45 pm
Forum: General
Topic: Timeout/exception on call to IOrderStore.NewOrder(OrderCreationSpec)
Replies: 6
Views: 1166

Re: Timeout/exception on call to IOrderStore.NewOrder(OrderCreationSpec)

I was able to wrangle up the following stack for your review. This seems to verify my thought that there is a timeout. Please let me know if I can provide any further information. Message: One or more errors occurred. Target: Void ThrowIfExceptional(Boolean) Stack: at System.Threading.Tasks.Task.Thr...
by at2k21
Wed Jun 13, 2018 12:02 pm
Forum: General
Topic: Timeout/exception on call to IOrderStore.NewOrder(OrderCreationSpec)
Replies: 6
Views: 1166

Re: Timeout/exception on call to IOrderStore.NewOrder(OrderCreationSpec)

The Select version number is 4.3.50811.33. It is a production environment. I don't have access to the stack. I will have to see if I can wrangle one up. Is there anything you can do to help until then?
by at2k21
Wed Jun 13, 2018 10:40 am
Forum: General
Topic: Timeout/exception on call to IOrderStore.NewOrder(OrderCreationSpec)
Replies: 6
Views: 1166

Timeout/exception on call to IOrderStore.NewOrder(OrderCreationSpec)

I am experiencing what I believe is a timeout on an inconsistent basis. On a call to NewOrder on the IOrderStore passing in an OrderCreationSpec it will throw an exception with the helpful message "One or more errors occurred" after a 2 minute pause. When checked later using the Select Client the or...
by at2k21
Wed Mar 21, 2018 1:20 pm
Forum: General
Topic: Create object very slow
Replies: 1
Views: 384

Create object very slow

Using code similar to below I am seeing long pauses for the server requests and I am not sure why. //... Other code above here SelectServer server = GetSelectServer(); IOrderStore os = server.GetService<IOrderStore>(); OrderCreationSpec spec = new OrderCreationSpec() { BaseNumber = anOrder.BaseNumbe...
by at2k21
Tue Nov 21, 2017 1:28 pm
Forum: General
Topic: GetService<IOrderStore>() throws TargetInvocationException
Replies: 7
Views: 1160

GetService<IOrderStore>() throws TargetInvocationException

Hello, I am trying to get my SoftPro Select programming sea legs about me and going through the example Open an Order in the documentation. When I get to the line IOrderStore os = ss.GetService<IOrderStore>(); in code it throws the following stack. System.Reflection.TargetInvocationException: Except...
by at2k21
Tue Nov 21, 2017 12:31 pm
Forum: General
Topic: Authentication issue
Replies: 2
Views: 449

Re: Authentication issue

That worked great. Thank you.
by at2k21
Mon Nov 20, 2017 8:08 pm
Forum: General
Topic: Authentication issue
Replies: 2
Views: 449

Authentication issue

Hello, I am trying to get things working between my dev environment and the Select server. I can successfully authenticate using windows authentication from code but when I try to use a Select username and password I get a "Security error." message. Because I can login using the same credentials fro...
by at2k21
Fri Aug 25, 2017 6:48 pm
Forum: Standard/Enterprise Development
Topic: Call to SPOpenFile does not seem to check csUserID passed in
Replies: 1
Views: 728

Call to SPOpenFile does not seem to check csUserID passed in

When making calls to SPOpenFile it always succeeds as long as csFileID is valid regardless of the value of csUserID. What is the purpose of the csUserID parameter? Is it really needed? In calls to SPGetPromptFilesDirectory chUserID parameter is checked and only seems to work for the value "Default"....