No execution permission with on CodeUnit with id 1
borgy
Member Posts: 25
Dear Nav/Sql experts,
One user of our company gets the following error: "No execution permission with on CodeUnit with id 1".
Its only in the RTC, in the classic client he can do his normal job, same database.
Step 1
I have tried to synchronize, then delete his account and synchronize again.
Then made a new account and synchronize, with no errors.
Step 2
I've tried to do the following on SQL
Drop login, drop schema, drop user in combination with step 1
It doesn't work.
In the security we have a genaral authorization level with the right to execute/run a every codeunit.
CodeUnit 0, execute Yes.
I'm out of options, does anybody know this error?
Kind regards,
André Borgeld
One user of our company gets the following error: "No execution permission with on CodeUnit with id 1".
Its only in the RTC, in the classic client he can do his normal job, same database.
Step 1
I have tried to synchronize, then delete his account and synchronize again.
Then made a new account and synchronize, with no errors.
Step 2
I've tried to do the following on SQL
Drop login, drop schema, drop user in combination with step 1
It doesn't work.
In the security we have a genaral authorization level with the right to execute/run a every codeunit.
CodeUnit 0, execute Yes.
I'm out of options, does anybody know this error?
Kind regards,
André Borgeld
0
Comments
-
I think the problem is not related with SQL Security. It seems to be something about NAV user role/permissions setup.
¿Did you modified codeunit 1 for any reason? ¿Is this codeunit the "original" codeunit?
Sergi Navarro
MCTS: Microsoft Dynamics™ NAV 2009 C/SIDE Solution Development
Visit my Navision Spanish Blog here: http://www.sergisoft.com0 -
Dear Sergi,
I did not modify the codeunit and other users have no problem in logging in to the RTC.
And like i said the same user can work in the classic client on the same database. You would expect the same error here.
Kind regards,
André0 -
I think is a migrating issue to the RTC. Anybody got any idea how to solve this?0
-
Try to Compile all object.0
-
Solved. There was a problem with the AD synchronisation.
After compliling there was still no issue with the first codeunit. Althrough a good idea to inspect it.0 -
borgy,
could you enlighten me on what you did in AD to make it work. i have the exact same problem and can not figure out how to fix it. the Classic works fine but the RTC won't
thanks,0 -
borgy wrote:After compliling there was still no issue with the first codeunit
sounds like he Recompiled the codeunit
object designer->codeunits->select all->compile0 -
We have the same problem and are also not clear on the recommended resolution.
Note that we have also:
1. Recompiled all code Units
2. Synchronized all Logins
multiple times....
Appreciated - g0 -
i also have a problem like that
using administrator , yes it can
but using other user can't
what i do is remove the company name on the user role...
because for administrator login i didnt put company name on his user role0 -
That´s a SQL problem with permissions or the user don´t asigned any profile for RTC0
-
had the same problem..
The problem occurs when you filter any users permissions by company.
The work around is to give that same user the ALL role with no company filter.
They will be able to login to any company but will not see any data there or be able to open any forms.
Not sure if there is a fix out yet.0 -
But when they Login to another Comany, the RTC crashes and won't open again. Because it will try to open the last comany.tameemabdullah wrote:...
The work around is to give that same user the ALL role with no company filter.
They will be able to login to any company but will not see any data there or be able to open any forms.
I have a workaround for that problem. You must create a User Personalization Entry in the database. Then the user can start the rtc.0 -
Add Role "ALL" to the User and synchronize.
I have solves the same issue in this way. (Ref--http://dynamicsuser.net/forums/p/40739/208678.aspx)Now or Never0 -
Role all is a work-around, not the solution. Problem is that you like to show only 1 of the companies.
Solution is to create 1 role:
- for example super => company A and assign this to user A
Go to Application Setup: RoleTailered Client and create for this user a user personalization.
Then the problem is solved0
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


