Object Table Locked
bramdedaele
Member Posts: 16
Hi guys,
"The object table cannot be changed because it is locked by another user. Wait until the user is finished and then try again."
This happens when items are imported using a dataport. I would understand (and probably be able to solve) an error about the Item table, but this...? Is this the SQL, NAV,...
If it were the Item table that is being locked, I guess NAV would point to the "Item" table and not to the "Object" table? Or am I wrong?
When is the "object" table altered or how to search for the problem?
Running NAV4.0SP3 on SQL2005 DB.
Thx!
Bram.
"The object table cannot be changed because it is locked by another user. Wait until the user is finished and then try again."
This happens when items are imported using a dataport. I would understand (and probably be able to solve) an error about the Item table, but this...? Is this the SQL, NAV,...
If it were the Item table that is being locked, I guess NAV would point to the "Item" table and not to the "Object" table? Or am I wrong?
When is the "object" table altered or how to search for the problem?
Running NAV4.0SP3 on SQL2005 DB.
Thx!
Bram.
Dynamics NAV Consultant
0
Answers
-
Hi
Very interesting! And what does the debugger say about that?Nav 4.0 sp30 -
Interesting indeed :-).
The weird thing is that it's occasionally... (of course I don't know which user does what and when) so simulating is not an option...Dynamics NAV Consultant0 -
Same...
4.00 SP3...
I'm getting the feeling that it has "nothing" to do with the import itself (because it happens on other events also)...
The irritating thing is, that I know little/nothing about an "Object"-table being changed...Dynamics NAV Consultant0 -
(sorry)
23305
Ok, so that could be it, I was playing with the roles/users/synchronisation to SQL... :-)
(let's hope so)Dynamics NAV Consultant0 -
Hi,
It could also happen if users are working on the same item as you at the same time : you change data on a item and an user changes data on the same item...
It's a transaction error.0 -
bramdedaele wrote:(sorry)
23305
Ok, so that could be it, I was playing with the roles/users/synchronisation to SQL... :-)
(let's hope so)
Can you check if you're using the enhanced security model? If you do, and you do a synch, this can take a while, and typically, the error pops up... .0 -
@ KTA: I know locking is transaction-related :-), but normally it should run smoothly with SQL, if it doesn't take longer than locking timeout (10 secs here).
@ Waldo: Indeed, this takes a while (as known with enhanced security model). Chances are that this is the cause.
Anyway, I'm going to set this issue as solved for now, thx a lot guys!Dynamics NAV Consultant0 -
I didn't create/install the DB, but I guess one of the advantages that come with the enhanced security model (I'd have to look them up).Dynamics NAV Consultant0
-
bramdedaele wrote:I didn't create/install the DB, but I guess one of the advantages that come with the enhanced security model (I'd have to look them up).
Let me help you ... I briefly mentioned them in thispost.
0 -
Waldo wrote:bramdedaele wrote:I didn't create/install the DB, but I guess one of the advantages that come with the enhanced security model (I'd have to look them up).
Let me help you ... I briefly mentioned them in thispost.
Lol, indeed :-), now that you mention it. I'd say also that It would be better to take the standard, so I'm going to propose this to my "boss" as I'm not the project leader here
. Dynamics NAV Consultant0 -
I have discovert the same problem also in a 4.0SP3 but with a Native DB so it have nothing to do with SQL security in this solution ther is about 180 companys in one DB and somtimes when a user runs a rather complex codeunit who also runs a Dataport the Object Table Locked error ocurs for users working in other companys.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 328 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


