Copy Company SQL Access Denied Error

nickgoddard
Member Posts: 7
I have been working at a client and we are unable to copy a company or create a new company in Nav2013R2.
We normally have SQL and Nav on the same server but this site has them on different servers. I have checked the SQL security details and the user has sysadmin server role and db_owner access to the database. If I log into SQL management studio on the SQL server then I can create a table. I cannot though create a table in the 50000 range from the Nav server.
I have checked disk space and the database is set to have unrestricted growth.
We normally have SQL and Nav on the same server but this site has them on different servers. I have checked the SQL security details and the user has sysadmin server role and db_owner access to the database. If I log into SQL management studio on the SQL server then I can create a table. I cannot though create a table in the 50000 range from the Nav server.
I have checked disk space and the database is set to have unrestricted growth.
0
Comments
-
Hi,
In my experience there are three reasons for this error message.
1. The NAV Server Service user on another machine is not a db_Owner on the SQL Server.
E.g. on the machine A, the NAV Server service is running as a user Domain\NavUser
on the machine B, which is SQL Server, the user Domain\NavUser needs to have db_Owner permissions.
2. The management port (default port 7045) is not open. (Usually Fireawall issue)
Open the port and restart NAV Server Service
3. The Sync-NAvTenant was not run, hence the system does not know all the tables.
From Powershell run Sync-NAvTenant and make sure it runs successful . Restart NAV Server Service and try to copy company.
I hope this helps.
Thanks.0 -
Thanks for the reply. This was actually due the Host Intrusion Software the client had set up on their network and was blocking the traffic.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