WebService Error: The target principal name is incorrect

tfranzen
Member Posts: 25
Hi all,
I've managed to consume a NAV-WebService from NAV when the WebService is running on the same machine as the consumer (means 2 different Services for 2 different databases on my local notebook). Now I try to consume a WebService which is provides from a different machine (but in same domain) and I'm receiving an error "Der Zielprinzipalname ist falsch" (The target principal name is incorrect)
Does anyone have an idea how to solve this?
Thanks
Thomas
I've managed to consume a NAV-WebService from NAV when the WebService is running on the same machine as the consumer (means 2 different Services for 2 different databases on my local notebook). Now I try to consume a WebService which is provides from a different machine (but in same domain) and I'm receiving an error "Der Zielprinzipalname ist falsch" (The target principal name is incorrect)
Does anyone have an idea how to solve this?
Thanks
Thomas
0
Best Answer
-
Hi all,
the solution for my problem was the following:
- Enable "Use NLTM Authentication" in ServerConfiguration (solved the problem with the target principal Name)
- Be aware of NAV using the ServiceUser when using DotNet-Variables with property "RunOnClient" set to No
Greetings
Thomas5
Answers
-
Please check this link https://blogs.msdn.microsoft.com/meer_alam/2015/05/10/the-target-principal-name-is-incorrect-cannot-generate-sspi-context/
It has details about this particular issue. Maybe it will help you resolve your issue.1 -
SPNs - it was French to me two years ago and although I know what to do to create them, i still don't fully understand how they work.
Anyone here who has a link to and/or can write a really simple explanation on what they do and why?0 -
Hi all,
the solution for my problem was the following:
- Enable "Use NLTM Authentication" in ServerConfiguration (solved the problem with the target principal Name)
- Be aware of NAV using the ServiceUser when using DotNet-Variables with property "RunOnClient" set to No
Greetings
Thomas5
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