Error when checking available web service

battoosai
Member Posts: 16
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!
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!
0
Answers
-
It depends on:
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 needed0 -
kine wrote:It depends on:
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
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.0 -
It is now working. Basically, I deleted all the user accounts. Created a new user account and assigned this to the Dynamics Nav Server and Web Service.
Thanks for the help0
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
- 322 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