HomeHomeDiscussionsDiscussionsGeneral Discuss...General Discuss...Post Installation Test 2 doesn´t workPost Installation Test 2 doesn´t work
Previous
 
Next
New Post
1/24/2012 8:11 AM
 
Hello,

I have some problems to get a correct connection to my librairy. The Post Installation Test 1 works fine under :
Author-it API Server: http://localhost:9098/Authentication . I see the service I´ve called.

But in Post Installation Test 2 I get some errors tue the connection-process.
We using a simple webserver "xampp". Putting the General Concepts (ExtJS)-folder in to the webapplication-folder (htdocs) and the site will be displayed.
But I get no connection to the librairy. We are using trusted connection to get a line to the database. What is wrong?

Have you any idea to correct the code in Default.htm to connect my database with trusted connection?

 Regards André
 
New Post
1/25/2012 10:51 AM
 
Hi Andre,

Sorry about the delay. I will try to reproduce the problem. I hope to get back to you later today.

regards,
Andrew
 
New Post
1/25/2012 2:03 PM
 
As a starting point, I would check which user the "Author-it API Server" application is running under, and ensure they have sufficient permissions with your SQL Server database.
 
New Post
1/26/2012 4:26 AM
 
Hello Derek,

now i managed it to install the API-Server with my trusted connection amocker@gk-domain. (before this I have deinstalled my Authorit-API, Authorit-Server, and Authorit-API-Server-Configuration-Tool. and reinstalled this componnents with the new user.)

Then I have used the General Concepts (Winforms, SOAP) sample. Whithin the project I managed it to connect my own Authorit.API. Then I replaced  in the app.config the expression "http://localhost:9099/..." with "http://localhost:9098/..."
Finally I replaced in the mainForm.cs the expression original : var loginResponse = _authenticationClient.Login(txtLibrary.Text, txtUsername.Text, txtPassword.Text);
to var loginResponse = _authenticationClient.LoginWithActiveDirectory("authorit");//txtLibrary.Text);

authorit is the alias and also the name of my database on the server dbclust-win.gk.gk-software.com .
Pressing the login-Button during test I get the message : Login failed with response: FailureIncorrectUserOrPassword

But I use ActiveDirectory (-->trusted connection) and I don´t need any password or username (I thought so.). Thats why I have used 
var loginResponse = _authenticationClient.LoginWithActiveDirectory("authorit");


Have you any idea?

Regards André
 
New Post
1/26/2012 4:07 PM
 
Andre,

Is it possible that SQLServer is lacking permissions for the user that the Author-it API Server runs under in IIS?

This post may be of help:
http://weblogs.asp.net/achang/archive...

regards,
Andrew



 
Previous
 
Next
HomeHomeDiscussionsDiscussionsGeneral Discuss...General Discuss...Post Installation Test 2 doesn´t workPost Installation Test 2 doesn´t work