Community
Showing results for 
Search instead for 
Do you mean 
Reply

API asks for Server credentials

Highlighted
Copper Contributor
Posts: 95
Country: Netherlands

API asks for Server credentials

[ Edited ]

API Version: 1.0.148.0

Act Premium V19.1 update 2

Windows 2012 server

 

We did an test on our demoserver, three database connected to the APFW

Accessible to browsers 

 

Then we test the API, two databases are given an token, the third database (is a restore from a older Act! version) gives an authorisation screen

All databases are in the same directory and shared

 

See screens for examples

 

 

Greetings,

ACT Certified Consultants
TendenZ
the Netherlands
Administrator
Posts: 4,024
Country: United_Kingdom

Re: API asks for Server credentials

Hi Tendenz,

Was this also happening in other browsers?
What happens if you use a HTTP request tool like https://www.hurl.it to make the authorization request?
Employee
Posts: 38
Country: USA

Re: API asks for Server credentials

Most likely what is causing this is "Windows Authentication" is enabled on the API application.  If you go into IIS and select the "act.web.api" application, should be under the Default Web Site.  Click on the "Authentication" icon in the right panel.  You should see a list of authentication names.  The only thing that should be enabled for the Act.Web.Api web application is "Anonymous Authentication" and "ASP.NET Impersonation".  Just disable all other authentications.