The user ID and password are invalid. Try again

sabzam
Member Posts: 1,149
Hi all,
We are using Web Services and we are trying to integrate NAV 2009 to another product and we are receiving the following error
what could be the problem? how can we hard code the username and password of a particular user so that can actually write in NAV 2009 through this user.
Can you help me please
Regards and Thanks
We are using Web Services and we are trying to integrate NAV 2009 to another product and we are receiving the following error
The user ID and password are invalid. Try again
what could be the problem? how can we hard code the username and password of a particular user so that can actually write in NAV 2009 through this user.
Can you help me please
Regards and Thanks
0
Comments
-
Just look at the examples for how to use Webservices. You will see that there is property Credentials which must be set...0
-
I get this same error message on different situation and I don't know how to solve this issue.
I have been done NAV2009 R2 installation on three seperate computers. With guide of installation has been Walktrough: 3T on 3CPU -manual and this forum. Installation is also tested with Best Practice Analyzer, and only errors on the list are for Business Web Service.
I can get connection to SQL database with Classic and RTC clients on NAVSERVER. But, with CLIENT computer and RTC client this doesn't work, it only popup's this "The user ID and password are invalid. Try again" message. All these three computers are in same domain. Developer license has uploaded to database.
All installation task's are double checked: SPN's, Delegating access, domain logins, OCL's..
Event viewer logs on SQL:
An account was successfully logged on.
Subject:
Security ID: NULL SID
Account Name: -
Account Domain: -
Logon ID: 0x0
Logon Type: 3
New Logon:
Security ID: ANONYMOUS LOGON
Account Name: ANONYMOUS LOGON
Account Domain: NT AUTHORITY
Logon ID: 0xc032f11a
Logon GUID: {00000000-0000-0000-0000-000000000000}
Process Information:
Process ID: 0x0
Process Name: -
Network Information:
Workstation Name: NAVSERVER
Source Network Address: -
Source Port: -
Detailed Authentication Information:
Logon Process: NtLmSsp
Authentication Package: NTLM
Transited Services: -
Package Name (NTLM only): NTLM V1
Key Length: 1280 -
Still, it seems that the problem are SPNs. Check that there is no MORE SPNs than it should be. Not only if they are missing, but when there are some additional SPNs could be problem.0
-
Thanks for your reply.
Now I have one domain user, which ran SQL and NAV Server services.
When I list SPN's for this user, I get following information:
DynamicsNAV/NAV_Server:7046
DynamicsNAV/NAV_Server.domain.lan:7046
MSSQLSvc/SQL_Server:1433
MSSQLSvc/SQL_Server.domain.lan:1433
Now NAVbpa show errors for SPN and Delegation. Could I trust for this application and these messages?
From RTC Computer, my server address is : NAV_Server:7046/DynamicsNAV
I also tried different parameter combinations on client and server config files, but without success.0 -
Wow. I figured out this one. As you say Kine, problem found under SPN's. Thanks.
In this case main reason was multiple DC's on same network. Because, at installation I used diffrent domain user than target domain was, then this login error came on my face. Then I made user to same domain as where PC's are, and connection has created. All the time I used installation user at test-user, because it works from NAVSERVER to SQL. But because SPN permission have not right to all these domain, then connection from NAVCLIENT to NAVSERVER fails.
My final SPN's are:
DynamicsNAV/NAV_Server:7046
DynamicsNAV/NAV_Server.domain1.lan:7046
MSSQLSvc/SQL_Server.domain1.lan:14330
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