Need help with web service - wrong user ID and password

Djou2424
Member Posts: 76
I am running 2009 SP1 and I am trying to setup a simple web service.
In Nav, in the web service table, I added 1 record: Page, CustomerCard, 21, Published = Yes
I started the service successfully with the NT AUTHORITY\NetworkService username and password.
Eventviewer confirms that the service is started properly:
"Service:
Microsoft Dynamics NAV Business Web Services are available at http://SERVERNAME:7047/DynamicsNAV/WS/Services.
SERVERNAME being the name set in the customSettings file
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
If I try this address in internet explorer, I get the following message:
- <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
- <s:Body>
- <s:Fault>
<faultcode xmlns:a="urn:microsoft-dynamics-schemas/error">a:Microsoft.Dynamics.Nav.Types.NavDatabasePasswordException</faultcode>
<faultstring xml:lang="en-US">The user ID and password are invalid. Try again.</faultstring>
- <detail>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">The user ID and password are invalid. Try again.</string>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
If I try with http://localhost:7047/DynamicsNAV/WS/Services I get the same error message.
I tried logging in to windows with one user and also as administrator, same error.
What am I doing wrong?
In Nav, in the web service table, I added 1 record: Page, CustomerCard, 21, Published = Yes
I started the service successfully with the NT AUTHORITY\NetworkService username and password.
Eventviewer confirms that the service is started properly:
"Service:
Microsoft Dynamics NAV Business Web Services are available at http://SERVERNAME:7047/DynamicsNAV/WS/Services.
SERVERNAME being the name set in the customSettings file
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
If I try this address in internet explorer, I get the following message:
- <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
- <s:Body>
- <s:Fault>
<faultcode xmlns:a="urn:microsoft-dynamics-schemas/error">a:Microsoft.Dynamics.Nav.Types.NavDatabasePasswordException</faultcode>
<faultstring xml:lang="en-US">The user ID and password are invalid. Try again.</faultstring>
- <detail>
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">The user ID and password are invalid. Try again.</string>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
If I try with http://localhost:7047/DynamicsNAV/WS/Services I get the same error message.
I tried logging in to windows with one user and also as administrator, same error.
What am I doing wrong?
0
Comments
-
I forgot to say that the Navision Client, the web service and the SQL Server are all install on the same computer.0
-
Hi Man,
I had the same problem and i think the solution is very simple. Go to Navision->Tools->security->Windows Logins->Then add one of your windows logins there e.g Administrator which shall be domain_name\Administrator
Click outside the entry to let it save then back to it and click "roles".
give it super role.
Make sure you also synchronize your users
Geoffrey Mutisya (Attain Enterprise Solutions ltd).0 -
Hi Djou2424,
NAV web service will work on only windows login.
Try below,
1) Your windows login must be local administrator.
2) Create your windows login in NAV and synchronize it.
(check windows login, you must able to login in NAV SQL instance and RTC.)
3) Create your web service and publish it.
5) Restart NAV web service.
6) You can able to access to NAV web service.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