NAV server and SQL database in different workgroup/domain

aavio
Member Posts: 143
Hi
Is it possible to configure NAV webservice with NAV server components and SQL database in different workgroup/different domain.
I tried to configure as such, but when tried to access http://localhost:7047/DynamicsNAV/WS/services from NAVserver configured machine, i get error
[*]please note that i am able to connect to sqldatabase with finsql client from NAVserver configured machine without vpn.
Kindly advise.
Is it possible to configure NAV webservice with NAV server components and SQL database in different workgroup/different domain.
I tried to configure as such, but when tried to access http://localhost:7047/DynamicsNAV/WS/services from NAVserver configured machine, i get error
The Microsoft Dynamics NAV Server cannot connect the Change Listener to SQL Server because of the following error: Login failed. The login is from an untrusted domain and cannot be used with Windows authentication
[*]please note that i am able to connect to sqldatabase with finsql client from NAVserver configured machine without vpn.
Kindly advise.
aav!o
0
Comments
-
Some questions:
-NAV2009/2013
-classic : are you using Windows logon or database logon?
-Which user are you using for the service tier?Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Hi,
-NAV2009R2 database
-NAV classic client, we use database login to connect.
-Which user are you using for the service tier?
[*]have tried with service logon as local user which exist in both the servers(same username & password)
[*]have tried with service logon as network service.
My purpose is to get NAV webservice access for my portal.
Kindly advise possibility of configuring NAV webservices with NAV server compoments and SQL database in different workgroup/domain.aav!o0 -
aavio wrote:-Which user are you using for the service tier?
[*]have tried with service logon as local user which exist in both the servers(same username & password)
[*]have tried with service logon as network service.
Use that user for the service. You probably also need to create SPN's for that user. For that, you need to check the manual.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
but for creating spn and delegation, both NAV server and SQL server machines need to be same active directory right?
In my situation,
SQL server is in a workgroup.
NAV server is in a separate domain.
Kindly en-light me on setting delegation in such a case.
Thanks and Regards,aav!o0 -
To be honest, I never tried to do that with different domains (it is already hard with 1 domain) (or even worse: a domain and a workgroup).
After some searching, it seems it will not work if you are not in a domain (although I think it should work with trusted domains).
If you only need 1 user to connect to the SQL and not different users, you might try without spn's.
I would first try to connect to the SQL server with the classic client using a windows logon. You will need to use RUNAS /user:.......... and run the classic.
This is something I already do (my SQL Server is on a VM in a workgroup and my finsql client is running using a user of that VM).
When this works, you can try to use that user for the Dynamics NAV service (never tried this). And if all activity on SQL server uses that user, it might work. If you need different users with different logins and permissions, I am afraid that this is not possible.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!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