Hi,
I am encountering the following error when running the command in the browser:
http://localhost:7047/DynamicsNAV/WS/Services
This XML file does not appear to have any style information associated with it. The document tree is shown below.
<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.Exceptions.NavReadDeniedPermissionException
</faultcode>
<faultstring xml:lang="en-US">
You do not have permission to read the Company table.
</faultstring>
<detail>
<string xmlns="
http://schemas.microsoft.com/2003/10/Serialization/">
You do not have permission to read the Company table.
</string>
</detail>
</s:Fault>
</s:Body>
</s:Envelope>
I created a new windows user and assigned it with a super user role in NAV. I also pointed the CustomConfig file to the correct database. Then setup the Microsoft Dynamics Nav Server and Microsoft Dynamics Business Web Services to the same user name. I followed all the steps stated in the walkthrough of NAV and also created a codeunit and exposed it as web service.
Are there additional setups that are needed in NAV, windows or SQL Server?
Thanks!
Answers
Security model (if extended, you need to synchronize)
How you are connecting to the URL (IE, Chrome, Firefox...)
If SPNs and delegation is needed and if it is correctly set when needed
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Hi Kine,
I have already synchronize the Security as well and I am just using the Standard Security model. I am also using firefox because I do not know why it doesn't load properly in IE (always fails with a different error message). I am also just trying it on a test PC which already houses the Dynamics NAV Server and the Database Server. So no delegation is needed or is it?
Btw, I was able to load the Webservices list using another database, I just want to know why this happens and what is the solution for this. Thanks a lot.
Thanks for the help