Nav 2009 R2 3T configuration

avazquezavazquez Member Posts: 8
edited 2012-03-28 in NAV Three Tier
Hello all,

first of all I hope all can read between lines :-)

We are trying to install the 3T enviorment with this configuration:
- One server for: SQL SERVER 2008 on Windows Server 2008 R2 Standard
- One server for: NAV Server on Windows Server 2008 R2 Standard
- One server for: Client Windows 7 and Windows XP

All servers are in the same domain group, and we have a domain user that executes Nav Server and MicrosoftDynamicsNavWS.

We try to do step by step these guides, from Nav2009R2 Documentation files:
- Walkthrough: Installing the Three Tiers on Three Computers
- "How to: Configure Web Services with Delegation"

When we try to access web services http://instancename:7047/DynamicsNAV/WS ... y/Services, its impossible, always the browser give us a HTTP 500 error.

We created the next SPN:
- setspn -A DynamicsNAV/NAVSERVER.domain.com:7046 group\user
- setspn -A MSSQLSvc/SQLSERVER.domain.com:1433 group\user

After this, we did it:

"To delegate access to the SQL Server service
Click Start, and then click Run.
In the Open field, type dsa.msc.
This opens the Active Directory Users and Computers utility.
Right-click the node for the domain where you have installed Microsoft Dynamics NAV, and then click Find.
In the Find Users, Contacts, and Group dialog box, type the name of the domain user in the Name field, and then press ENTER.
In the Search results area, right-click the domain user, and then click Properties.
On the Delegation tab, click Trust this user for delegation to specified services only, and then click Use Kerberos only.
There is also the option to not restrict authorization to Kerberos, although the environment is not as secure when you are less restrictive. Your decision must be reflected in the value that you assign to the AllowNtlm setting in the RoleTailored client configuration file (ClientUserSettings.config). For details, see Configuring the RoleTailored Client.
Click Add to open the Add Services dialog box.
Click Users or Computers, and then specify the domain user.
In the list of services for the domain user, click MSSQLSvc, which is the SQL Server service.
Click OK to close the Add Services dialog box. Continue clicking OK to close all open dialog boxes."

Then we found one problem:
- The MSSQLSvc doesn't appear. Where MSSQLSvc are?

We try again to open the url in the browser (I.E.) but its impossible, we always received the same http 500 error.

We need to access the webservices, what are we doing bad?

KR,
Alex.

Comments

  • kinekine Member Posts: 12,562
    Check my blog for more info and for link to tool which could help you to find what is wrong. Is the SQL running under same account as the service tier? The SPNs looks like yes, but is it true?
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • avazquezavazquez Member Posts: 8
    Hi Kine !,

    I red this topic: http://dynamicsuser.net/blogs/kine/arch ... -spns.aspx

    "Is the SQL running under same account as the service tier? The SPNs looks like yes, but is it true?": Yes, we have a user called: sqladminqa

    sqladminqa run SQL and run NAVServer.

    Now, we are trying to configure by this way:

    Needed SPNs for NAV Server:
    setspn –A DynamicNAV/NAVSERVER.domain.com:7046 domain.com\sqladminqa$
    setspn –A DynamicNAV/NAVSERVER:7046 domain.com\sqladminqa$

    SPNs for NAV WebService:

    setspn –A HTTP/NAVSERVER.domain.com domain.com\sqladminqa$
    setspn –A HTTP/NAVSERVER domain.com\sqladminqa$

    SPN for SQL:

    setspn –A MSSQLSvc/SQLSERVER.domain.com:1433 domain.com\sqladminqa
    setspn –A MSSQLSvc/SQLSERVER:1433 domain.com\sqladminqa

    I will tell your more info about it if this config works or dont.

    Thanks !
  • kinekine Member Posts: 12,562
    If your NAV server is running under account sqladminqa, than your SPNs will NOT BE for domain.com\sqladminqa$ but only for domain.com\sqladminqa

    domain.com\sqladminqa$ is account for COMPUTER with name sqladminqa!
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • avazquezavazquez Member Posts: 8
    edited 2011-06-09
    kine wrote:
    If your NAV server is running under account sqladminqa, than your SPNs will NOT BE for domain.com\sqladminqa$ but only for domain.com\sqladminqa

    domain.com\sqladminqa$ is account for COMPUTER with name sqladminqa!

    Then must be the same without '$' ??:

    Needed SPNs for NAV Server:
    setspn –A DynamicNAV/NAVSERVER.domain.com:7046 domain.com\sqladminqa
    setspn –A DynamicNAV/NAVSERVER:7046 domain.com\sqladminqa

    SPNs for NAV WebService:

    setspn –A HTTP/NAVSERVER.domain.com domain.com\sqladminqa
    setspn –A HTTP/NAVSERVER domain.com\sqladminqa

    SPN for SQL:

    setspn –A MSSQLSvc/SQLSERVER.domain.com:1433 domain.com\sqladminqa
    setspn –A MSSQLSvc/SQLSERVER:1433 domain.com\sqladminqa
  • kinekine Member Posts: 12,562
    Yes, the <domain\computer$> is used only when the services are running under system account like "network service".... If you are using user domain account for the services, the user domain account is used...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • avazquezavazquez Member Posts: 8
    Ok, I will try it.
  • avazquezavazquez Member Posts: 8
    Hello again!,

    Finally, the three tier is configured and working!

    Thanks for your help!.
  • julkifli33julkifli33 Member Posts: 1,092
    i already used Best practice analyzer
    it seems to be okay....
    i already create SPN
    i already delegate and using kerberos

    but when i check in the event viewer in db server... why it still said login failed for user NT AUTHORITY\ANONYMOUS LOGON ??
    reason : Token-based server access validation failed with an infrastructure error
  • julkifli33julkifli33 Member Posts: 1,092
    do we have answer for my last question?
    thanks
  • clabandclaband Member, Microsoft Employee Posts: 26
    I have only seen this once before. It seems like a DNS error of some kind. Booting the machine running the NAV Server fixed it for me

    /Claus
    Claus Busk Andersen
    Program Manager
    Microsoft Dynamics NAV
Sign In or Register to comment.