While there seems to be an awful lot of documentation on the setting up NAV 3-tier I still cannot get my Navision to consume a Navision webservice. The resulting failure is "The user ID and password are invalid. Try again".
This is on a 3-tier and I can see via the event logs that the 2nd tier (WS) is connecting the the 3rd tier (SQL) using the correct credentiials.
There seems to be a lot of varying documentation on the syntax of SPN. I have added some but I am not sure if they have been added correctly - or infact if this is even my problem.
If my SLQ Server is SQLSERVER, my SQL Instance is SQLInstance, my database is SQLDB my credentials are DOMAIN/USER and my webservice is set to use port 7048, What SPN(s) should I be adding.
When adding delegation do I add this to the 2nd tier computer or the 3rd tier? And do I add the user/Computer of the DOMAIN/USER or of the SQLServer?
Any other suggestions or thought would also be appreciated. ](*,)
Sleep on it... The best solutions come at 2am
0
Comments
eg:
ICredentials credentials = new NetworkCredential("user", "password", "domain");
EECustomerService eeCustomerService = new EECustomerService();
eeCustomerService.UseDefaultCredentials = false;
eeCustomerService.Credentials = credentials;
eeCustomerService.Url = Url;
CustomerService = eeCustomerService;
hope this works.
regards
I am trying to consume a Navision webservice from within Navision, without .net code.
I am having this issue even though I am setting the credentials using the following code
Any other thoughts or suggestions? ](*,)
check whether that database is having windows authentication or not with which ID you are trying to open the RTC.