Nav 2009 R2 SQL Windows login Slow

rlawson
Member Posts: 48
When using Nav209R2 classic client and connecting to a SQL 2008 R2 database via windows authentication it displays the smal box opening database/Data Base name and takes a couple of minutes to login and see the companies. The database size is only 9 gig. If I use database authentication is takes about 5 seconds to connect. The problem only occurs on PC's with a client installed locally and accesses the SQL on the same network. If the same user logs directly into the SQL server or Terminal server (through RDP) and accesses Navision using windows authentication it also only takes 5 seconds. I am taking the default parameters for the Desktop Icon (i.e. "C:\Program Files\Microsoft Dynamics NAV\60\Classic\finsql.exe"). It happens on both XP and Windows 7 - 32 or 64 bit PCs.
0
Comments
-
Ping the domain to see if all computers (those that work, and those that don't) get the same reply.There are no bugs - only undocumented features.0
-
Pinging looks exactly the same between all computers. All reply within <1ms with no time outs. DNS or TCP do not seem to be the issue.0
-
do they all return the same IP when you ping the domain? I don't mean ping the SQL box. What I mean is "PING mydomain.com".There are no bugs - only undocumented features.0
-
Yea, I type in ping xxx.local (which is the domain name) on all servers and PCs and I get the same IP 172.31.0.5.0
-
For me it looks like a kind of dns problems. What happens if you try with the ip instead of the servername?
Thomas0 -
I already have the IP in for the server (i.e. 172.31.0.36). Any other ideas?0
-
Are all of the machines in the same physical location - nothing across WAN? Are there issues with the NAV Server communicating to the Active Directory server - again, same physical location?-Lavin
"Profanity is the one language all programmers know best."0 -
are the response time for the ping the same?0
-
All of the PCs/servers of interest are at the same physical location. Moreover, if someone from outside the subnet RDP's into the terminal server they have no issue. All the ping times are <1ms as reported above and database authentication works fine. AD server, Nav server, terminal server, and PCs are all on the same subnet and ping <1 ms to everyone.0
-
try the ip address instead of name.0
-
See 4 post before for me trying the IP address instead of name. It does the same thing ... 2 minutes to get into Navision.0
-
It looks like checking the active directory would take too long. To prove it could be interesting if you try to connect with ssms from a client to that sql server. If you have the same difference between windows login and db login I would say NAV is not the problem.
Hope this helps
Thomas0 -
You can also test with using ODBC connectoin using windows and see how long it takes. No need to install SSMS0
-
I tested the ODBC connection with both windows and SQL database authentication.
The database method connected right away while the windows came up with the following error:
Microsoft SQL Server Login
Connection failed:
SQLSTATE 'Hy000'
SQL Server Error: 0
[Microsoft][ODBC SQL Server Driver]Cannot generate SSPI context0 -
You have probably bad SPN or duplicate ones on AD. It could be also rename of the PC. There is a lot of info on how to fix it.0
-
I checked for duplicate SPN and there are none. All of the SPNs look good. We did not rename any PCs. We did change from a workgroup to a domain but this is happening for all of the local PCs at random times. PC A will work today and not tomorrow while PC B will not work today and work tomorrow.0
-
Every PC automatically fixed itself - 3 seconds to get into Navision. I don't get the ODBC error any more either. The problem is - it will come back sometime. When it does, I will look more into the AD authentication.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions