Web service calls have randomly stopped working

Toddy_Boy
Member Posts: 232
Calls to my web services from VB.NET and ASP.NET have just stopped working with the following error
You do not have permission to read the Company table
I'm at a loss ... any help much appreciated as these services have been running great for a year
I've restarted the services rebooted the middle tier to no avail, seriously stuck ](*,)
Using SQL Server 2008 nav
You do not have permission to read the Company table
I'm at a loss ... any help much appreciated as these services have been running great for a year
I've restarted the services rebooted the middle tier to no avail, seriously stuck ](*,)
Using SQL Server 2008 nav
Life is for enjoying ... if you find yourself frowning you're doing something wrong
0
Answers
-
Are you sure, that the appropriate accounts are in NAV and have correct roles? What about possible password change of the account? Or may be someone changed the account on the service (NAV or SQL) or name of the server (NAV or SQL) and the SPNs are not correct anymore...0
-
Hi Kine
This account has been fine for over a year, nothing to my knowledge has changed in Nav, the account has SUPER privileges in Nav and is also used by the NAS which is still running fine.
No-one would have changed the SPN as no-one knows howwe had our partner set the SPNs up as I couldn't make it work.
Is there a way you know of to check the SPNs?
In addition, the account was working fine on our test database, this gets refreshed overnight as a backup/restore of the live database, as of this morning I get the same error ](*,)
SteveLife is for enjoying ... if you find yourself frowning you're doing something wrong0 -
Try to sync permissions in NAV first, may be some problem here. The SPNs may be are not the problem, mainly if the RTC clients are working without problems (and in most situation when there is problem with SPNs, it ends with Error 500 or 401). Was there some change in NAV objects? Like Codeunit 1...0
-
Hi Kine
I tried to sync the permission on friday with no joy.
SteveLife is for enjoying ... if you find yourself frowning you're doing something wrong0 -
Found this: viewtopic.php?t=55469
Looks similar.
Looks at KB 2623055 here> http://mibuso.com/blogs/waldo
Looks like connected problem too.
SImilar described here> http://navigateintosuccess.com/blog/bug ... services-40 -
Hi Kine
I've looked at the topics briefly before posting, I've had another look;Found this: viewtopic.php?t=55469Looks at KB 2623055 here> http://mibuso.com/blogs/waldoSImilar described here> http://navigateintosuccess.com/blog/bug ... services-4
Further info, if I log onto the middle tier as myself and run the url below I get a list of web services, however if I log as the failing account i get an error page "The website cannot display the page"Life is for enjoying ... if you find yourself frowning you're doing something wrong0 -
Question is if the ROLES assigned to the account used to connect to webservices are to specific company, or the company name filed is empty... (Role could be associated to user for specific company only or for all companies if nothing is entered).0
-
I've tried again with the url for company specific and get the same result as above i.e. No Error for my Login, and error for the failing account login.
The failing account has SUPER role for the one company accessed by the web service i.e. myCompanyName in the above example
SteveLife is for enjoying ... if you find yourself frowning you're doing something wrong0 -
It is not about the URL, but about the permissions settings inside NAV. The assignment of Permission Roles to the specific user...0
-
Hi Kine
I've just managed to resolve it.-
Delete the user from Navision
Add the user back into Navision
Assign the correct role in Navision
Change the user default schema in SQL Server back to $ndo$navlistener
Restart services
One of the articles you pointed to Delete Users held the answer.
Many thanks for the pointers
SteveLife is for enjoying ... if you find yourself frowning you're doing something wrong0
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