NAV Web Service intermittent connection

francisharvey
Member Posts: 7
Hi,
It is not the first time I set up web service for NAV2009R2 server,
But i got a strange intermittent error,
If i try to connect to web service with internet explorer from another machine it didn't work,
When I connect by remote desktop on and try it locally, it works, I see the xml page,
And when i return to my other machine and try it again, it works too
If I wait some time, it stop working...
It seem to close the connection, so i need to go again on the server to reactivate it.
I've remove the frendly error from internet option, so now i see there is a error on user / password with sql server 2008 when it show http error 500
Anyone has seen something like that before ?
Thanks
Francis Harvey
It is not the first time I set up web service for NAV2009R2 server,
But i got a strange intermittent error,
If i try to connect to web service with internet explorer from another machine it didn't work,
When I connect by remote desktop on and try it locally, it works, I see the xml page,
And when i return to my other machine and try it again, it works too
If I wait some time, it stop working...
It seem to close the connection, so i need to go again on the server to reactivate it.
I've remove the frendly error from internet option, so now i see there is a error on user / password with sql server 2008 when it show http error 500
Anyone has seen something like that before ?
Thanks
Francis Harvey
0
Comments
-
Hello.
You need to setup delegation. What you are experiencing, I can try to explain.
When you login in locally, NAV service tier connects to Active directory using kerberos authenication and get a ticket.
This ticket stays for 24 hours on the computer so that NAV doesn't need to authenicate again.
So when you connect from another pc it uses the ticket. When the ticket expires NAV goes to AD again for authenication and fails.
please read this blog on how to setup it SPN
http://mibuso.com/blogs/peik/2012/04/08 ... gurations/0 -
We had a simlar problem. It is as ara3n described, but I recommend to use latest build, because we had still problem with this even when the SPNs were correctly set. In most cases it was connected to the build and that we were using NTLM. When Kerberos auth. was used and newest build, we had no problems.0
-
Thanks you guys,
I check the link you provide, it seem to give all the information to configure spn correctly, but i already have this information, as i said, it was not the first time i configure that things.
http://mibuso.com/blogs/peik/2012/04/08 ... gurations/
But here's the part I've missed, I forgot to create the SPNs for the SQLServer:1433
I only did it one time on my test environnement, every new server i created, it was already configured...
And I think it set it during the installation of sqlserver if you select a domain user but i'm not sure at all. :-k
I finally found it when i succeed to analyse the Nav2009 best practices,
I've put "DynamicsNAV" as the instance the first time, instead of nothing, so the analyser said no server was installed...
So now, aftrer reboot of every server, it is working. \:D/
Thanks again ara3n for you extremely meaningfull explanation of my problem. :thumbsup:
Francis Harvey0 -
You are welcome.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