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?
Comments
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).
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.