Dynamics Navision 4.0 SP1
It occurs just too often. I know the reason (This problem may occur when you handle a new transaction inside a transaction.), but don't know how to resolve this. It's Navision bug. Does anybody know, how to resolve this problem? I've searched for hot fixes (Partnersource), but only what I've found was this problem should be resolved in some service pack for Dynamics Navision 5.01. OK, good for them, but what about others?
Any ideas?
Thank you.
0
Comments
viewtopic.php?f=14&t=12221
http://wiki.dynamicsbook.com/index.php? ... r_messages
http://www.BiloBeauty.com
http://www.autismspeaks.org
For version 4, look at the KB article 948824 on microsoft.
I hope it will help you
I'm using a NAS to do some processing.
The NAS is running all day on an endless loop, looking for records to process. After processing every record, I do a COMMIT to unlock tables used by the NAS.
I do also do some kind of error control, so that if a record throws an error, the NAS can move to the next record and forget about the first one.
Here is the code for the endless loop and the error control:
And here the code on the OnRun trigger
Table2Lines.INSERT gives an error because the line already exists.
Ok, this can happen. But... the error control on the function that does codeunit.RUN should catch it...
It is catching many other errors (the blocked error when trying to insert item on a transfer line and the item is blocked, error saying that Quantity cannot be less than shipped quantity if the process tries to reduce quantity on a partially posted transfer line, etc. etc.).
I've even seen the error that is poping now about line already existing on Table2Lines on my error control table...
I've also seen on my error control table a record that could not be processed because of locking.
But now... instead of catching the error and moving on... I do see the error message on the server's Event Viewer, and right after the error, there is another event on the Event Viewer that says: Internal error 1247 in module 19.
It cannot be a deadlock, as the NAS starts (and has got the error) at midnight and there are no users at that time...
It could have locks on some other times, as the NAS is running all day long and at some point, of course, there are users on the database... but this particular one, at midnight, it is impossible!
Any help will be really appreciated
I'm not in version 4, but in version 5.01.
KB says: This problem may occur when you handle a new transaction inside a transaction
And it provides new exes to solve the problem.
Does anyone know if there are new exes for 5.01 as well?
Or could anyone tell me if somewhere in my code I'm "handling a new transaction inside a transaction"?
Why? I don't understand it... there is one record that is causing problems...
I've manually checked "Error Field" on that record, and the NAS was able to process a bunch of other records.
I've stopped the NAS, unchecked "Error Field" manually and run the endless loop manually and keep on getting the same internal error.
Am I locking myself somehow?
someone can help?
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
https://mbs2.microsoft.com/Knowledgebase/kbdisplay.aspx?wtntzsmnwukntmmyvlxuzlwukkqpovrvxytuqpskvuxozzwm
let me know if you can download it.
Regards,
Willy
just a question: how did you find it?!?!?
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
Actually.....I used the Knowledge base search https://mbs2.microsoft.com/Knowledgebase/search.aspx and searched on '948824' :whistle:
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog
I have the same problem. I wonder if there isn't some IP blocking on mbs.microsoft.com that is causing problems. Or maybe the log in account.