Web-hosted SDK fails to login using SPS-auth'd user

Discussions related to custom development with Select.
Post Reply
toddsou
Posts: 75
Joined: Wed Jul 25, 2012 9:39 am

Web-hosted SDK fails to login using SPS-auth'd user

Post by toddsou »

Hi-

I've built a web svc which refs the SDK libs. Upon trying to call the typical TryAuthenticate(...) method, it fails, but only if I login with a user defined via SPS-authentication scheme. Logging in via a user with a Windows/domain-authentication scheme works fine.

Here is some information captured in the debugger's Output window:

iisexpress.exe Warning: 0 : The token provider cannot get tokens for target 'http://192.168.66.121:8080/Security/v1/ ... 64948a9984'.
SOAP security negotiation with 'http://192.168.66.121:8080/Integration/ ... 64948a9984' for target 'http://192.168.66.121:8080/Integration/ ... 64948a9984' failed. See inner exception for more details.
exePath must be specified when not running inside a stand alone exe.

iisexpress.exe Information: 0 : Failed to authenticate the current user. The token provider cannot get tokens for target 'http://192.168.66.121:8080/Security/v1/ ... 64948a9984'.
The program '[51424] iisexpress.exe' has exited with code 4294967295 (0xffffffff).

In particular, the message "exePath must be specified when not running inside a stand alone exe." smells like a smoking gun to me. A 10s google search led me to some posts about enabling AspNetCompatibility for WCF-related comms, which I did, but to no avail.

My code is pretty typical, but I'm happy to share it, if needed.

Guidance appreciated.
Thanks.
BobRichards
Posts: 1376
Joined: Wed Jan 15, 2014 3:50 pm
Location: Raleigh, NC
Contact:

Re: Web-hosted SDK fails to login using SPS-auth'd user

Post by BobRichards »

The customer resolved this issue by using the server PIN.
Bob Richards, Senior Software Developer, SoftPro
Post Reply