Excel Data Connection

ben5000
Member Posts: 110
Hi Experts,
I've setup an excel sheet to connect to Nav using the "connect from SQL Server" feature (under the data tab).
I use windows authentication and have the SUPER role.
I've setup the same excel sheet on a colleague's computer (he has permissions to the tables I want to publish) and when
comes the screen to select the DB and the table, there is no table available.
Do I need to give special permissions?
The only difference between him and I is that I have the client installed locally when he uses citrix to connect Nav.
Thanks for your help
I've setup an excel sheet to connect to Nav using the "connect from SQL Server" feature (under the data tab).
I use windows authentication and have the SUPER role.
I've setup the same excel sheet on a colleague's computer (he has permissions to the tables I want to publish) and when
comes the screen to select the DB and the table, there is no table available.
Do I need to give special permissions?
The only difference between him and I is that I have the client installed locally when he uses citrix to connect Nav.
Thanks for your help

0
Answers
-
If you have the standard security model in NAV, a user has no access to the SQL server tables directly (if he is not a dbowner or sysadmin [he should NOT be!]).
There are different possibilities you can use:
1) create a new database user with db-datareader database role and use that to connect to the DB through Excel. Easy to maintain, but he has access to all data.
2) create a view to the data he can see and give him access to the view. Takes a little more work, but it is more secure.
3) give him explicit permission to read the table. Easier than 2 but difficult to maintain (it is hidden in all those 1000's of tables).
I think that 2) is the best way. You give only access to the tables+fields he needs to use, but not more and it is even possible to do some totalling in the view or other that the user should do in Excel otherwise.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Hi Krikri,
Thanks for your help, I used the second solution you mentioned because the easiest.
But the third one is certainly the best!
Regards,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