03.04.2009, 08:05 | #1 |
Участник
|
Dynamics AX: QueryRun and Query Objects - Binding operation failed to allocate buffer space
Источник: http://dynamics-ax.blogspot.com/2009...s-binding.html
============== So if you ever work with the QueryRun and Query objects within X++, and I mean work with them a lot. You might come across an issue. If for some reason, your start to see the following in thrown errors or in the event viewer, Application event log on the AOS, then you have an issue most likely with the QueryRun and Query Objects.: Binding operation failed to allocate buffer space The issue that your facing is the query that your creating. The query your creating, to make use with your QueryRun object is causing the AOS to hit a buffer limit. You can increase the buffer limit at the AOS. But most likely what you will need to do is force literals for the query your building in X++. It's simple to do, after your create an instance of the Query object simply do a: Query.literal(1); call. This will 'force the hand' of the AOS to accept the buffer allocation requirement, and allow your advanced query to run. Therefore allowing your QueryRun operation to finish as desired. Well that's all for now. Ran into this, and thought it would be worth putting out here. If anyone has ran into this before, and wants to share feel free to leave a comment. Also if you have more details about literals and the use as described above, feel free to share that as well. Check back soon! "Visit the Dynamics AX Community Page today!" ============== Источник: http://dynamics-ax.blogspot.com/2009...s-binding.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|