Nav Web Services and Sharepoint on the same app server

Dan77
Member Posts: 17
Hi guys,
this is not a question, but just a quick topic for those who would have to deal with such a problem, as it might be helpful to others.
In case you have both Nav Web Services and Sharepoint foundation installed on the same application server, have decent secure domain account setup for all your services, Service Principal Names and Kerberos trust for delegation rules set up as well, and are struggling to expose Nav WS to the outer world, you might be in this situation:
Sharepoint working fine for all clients. In localhost, Nav WS are working fine.
Unexpected behavior when trying to access your [url=http://server:port/DynamicsNAV/WS]http://server:port/DynamicsNAV/WS[/url], with recurrent Windows login dialog and HTTP 400 - Bad request each and every time.
No NT AUTHORITY\ANONYMOUS LOGON msg in the back-end.
This is an Internet Explorer problem: it does not address HTTP SPN with the port (use Wireshark to analyze Kerberos messages and see the SPN used), unless you apply the following hotfix to all clients registries:
http://support.microsoft.com/kb/908209
Post-hotfix installation instructions
Note These steps should be applied on the client computer on which you try to open the Web page.
After you install the hotfix, you must add the
FEATURE_INCLUDE_PORT_IN_SPN_KB908209
registry key, and then set its DWORD value to iexplore.exe. To do this, follow these steps.
For 32-bit computers
Click Start, click Run, type regedit, and then click OK.
In the left pane, locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl
On the Edit menu, point to New, and then click Key.
Type FEATURE_INCLUDE_PORT_IN_SPN_KB908209, and then press ENTER.
On the Edit menu, point to New, and then click DWORD Value.
Type iexplore.exe, and then press ENTER.
On the Edit menu, click Modify.
Type 1 in the Value data box, and then click OK.
Exit Registry Editor.
For 64-bit computers
Click Start, click Run, type regedit, and then click OK.
In the left pane, locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Internet Explorer\Main\FeatureControl
On the Edit menu, point to New, and then click Key.
Type FEATURE_INCLUDE_PORT_IN_SPN_KB908209, and then press ENTER.
On the Edit menu, point to New, and then click DWORD Value.
Type iexplore.exe, and then press ENTER.
On the Edit menu, click Modify.
Type 1 in the Value data box, and then click OK.
Exit Registry Editor.
Note that the hotfix is indicated to apply to IE 6 but the post-hotfix install steps are also applying to IE 7, 8 and 9 at this time.
this is not a question, but just a quick topic for those who would have to deal with such a problem, as it might be helpful to others.
In case you have both Nav Web Services and Sharepoint foundation installed on the same application server, have decent secure domain account setup for all your services, Service Principal Names and Kerberos trust for delegation rules set up as well, and are struggling to expose Nav WS to the outer world, you might be in this situation:
Sharepoint working fine for all clients. In localhost, Nav WS are working fine.
Unexpected behavior when trying to access your [url=http://server:port/DynamicsNAV/WS]http://server:port/DynamicsNAV/WS[/url], with recurrent Windows login dialog and HTTP 400 - Bad request each and every time.
No NT AUTHORITY\ANONYMOUS LOGON msg in the back-end.
This is an Internet Explorer problem: it does not address HTTP SPN with the port (use Wireshark to analyze Kerberos messages and see the SPN used), unless you apply the following hotfix to all clients registries:
http://support.microsoft.com/kb/908209
Post-hotfix installation instructions
Note These steps should be applied on the client computer on which you try to open the Web page.
After you install the hotfix, you must add the
FEATURE_INCLUDE_PORT_IN_SPN_KB908209
registry key, and then set its DWORD value to iexplore.exe. To do this, follow these steps.
For 32-bit computers
Click Start, click Run, type regedit, and then click OK.
In the left pane, locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl
On the Edit menu, point to New, and then click Key.
Type FEATURE_INCLUDE_PORT_IN_SPN_KB908209, and then press ENTER.
On the Edit menu, point to New, and then click DWORD Value.
Type iexplore.exe, and then press ENTER.
On the Edit menu, click Modify.
Type 1 in the Value data box, and then click OK.
Exit Registry Editor.
For 64-bit computers
Click Start, click Run, type regedit, and then click OK.
In the left pane, locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Internet Explorer\Main\FeatureControl
On the Edit menu, point to New, and then click Key.
Type FEATURE_INCLUDE_PORT_IN_SPN_KB908209, and then press ENTER.
On the Edit menu, point to New, and then click DWORD Value.
Type iexplore.exe, and then press ENTER.
On the Edit menu, click Modify.
Type 1 in the Value data box, and then click OK.
Exit Registry Editor.
Note that the hotfix is indicated to apply to IE 6 but the post-hotfix install steps are also applying to IE 7, 8 and 9 at this time.
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