Hi,
Bit confused here. As per the documents for installing NAV 3 tier we need to create SPNs for SQL and NAV WebServices. The instruction says -
Create an SPN for the SQL Server service. This service runs on the NAVSQL computer with a default instance name of MSSQLSvc. Type the following command -
Copysetspn -A MSSQLSvc/NAVSQL.yourDomain.yourCompany.com:1433 yourDomain\yourUser
Again, replace "yourDomain," "yourCompany," and "yourUser" with the appropriate values.
The question is - MSSQLSvc... is this static information or do i Replace it with SQL Server Instance name (Services.msc -> select SQL Server -> Right Click -> Property -> Service Name). In my case i am using an existing SQL SERVER 2005 and the Service Name is MSSQLSERVER
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
• HTTP/FullyQualifiedDomainNameOfTheServiceTier:7047
• MSSQLSvc/ FullyQualifiedDomainNameOfTheDBTier:1433
• DynamicsNAV/ FullyQualifiedDomainNameOfTheServiceTier:7046
Kerberos Delegation has been configured against Domain\UserName from MSSQLSvc SPN.
It is working fine, when I am running the RTC or iE (WebService URL) from Service Tier but it is not working from DB layer.
Any clue why?
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
RTC = The program could not create a connection to the server. Do you want to try again?
EventViewer = Nothing
If that is so, then how is it working from Service Layer?
And check event logs on client and server...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
2) iE Error is -
3) I tried running RTC and iE (WebService URL) its not running and nothing is getting captured in Event Log in DB Server+Client and Service Tier
4) I was checking for duplicate SPNs (setspn -x) it is pointing to one duplication of MSSQLSvc..but it is registered as MSSQLSvc/DiffCompName.SameDomain:1433 SameDomain\DiffUser
2) you can use this tool http://www.iis.net/community/default.as ... g=6&i=1887 to check the SPN settings... it is best what I have found yet...
3) SPN for another server is not duplicity
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
It is working now both RTC and iE (Web Services URL) and from both servers (DB and Apps).
I have AX installed in my DB server. I was trying to consume NAV WebService from AX. While I am trying to ADD the service reference it is throwing the following error -
The remote server returned an error: (500) Internal Server Error
Any clue?
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
It is working from in iE from both ServiceTier and DB. However in DB Server, when i am trying to consume the same from AX it is giving me the error.
I have tried the same in Dev environment (AX is consuming NAV web service perfectly). After installing the same in test environment it is throwing this error when i am trying to add service reference in AX... I tried adding the same in SSIS WebService Connection and the error is same.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Another problem... it is running fine in Dev environment but not in Test Env. Sadly I am bit hesitant to follow a trial and error route in this environment (it may bring down all the other apps installed in test environment)
2) If you want to use WebService, you need to set delegation from HTTP (frontend) service to SQL (backend)
3) If there are some red crosses, you need to solve them...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Agree ...
I just noticed something...
In Application Server and DB Server -
1) [Working]This URL is working - http://IPofAppServer:7047/DynamicsNAV/W ... me/Service
2) [Not Working] This URL is asking for UID and PWD and no UID/PWD is accepted -
http://FullyQualifiedDomainNameofAppSer ... me/Service
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.