Hi folks, I need some help regarding the dynamics nav web services. I've having trouble with this error 'Callback functions are no allowed'. I know why this happends, but i'm having trouble to detect which code is throwing this message. There are lots of objects and code upon this web service call.
So, i ask, does anyone know if it is possible to hit a breakpoint in a codeunit from the web service call? Kind alike NAS debug or something?
I've tried to attach proccesses and so on, but nothing. The breakpoint doesn't get hit.
Thank you loads!
0
Comments
Gunnar Gestsson
Microsoft Certified IT Professional
Dynamics NAV MVP
http://www.dynamics.is
http://Objects4NAV.com
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
The thing is that i only get this message 'Callback functions are no allowed' when i'm not using the nav client. Are you familiar with GUIALLOWED? I need to star the debugger from the web service call. What you've suggested will not give me the error because calling from another codeunit would be a GUIALLOWED action.
Gunnar Gestsson
Microsoft Certified IT Professional
Dynamics NAV MVP
http://www.dynamics.is
http://Objects4NAV.com
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
That is a good sugestion, that crossed my mind. I think that NAS and the WS's have to respect the same rules regarding the consuming of dynamics nav objects. But i don't know if this is in fact all true. I think i'll give a try.
@Samil, i will look for it. This is a very good thing to know of. By the way, what dos NST stands for?
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Keep up.
here is the procedure to debug/remote debug the middle-tier services: http://blogs.msdn.com/b/nav/archive/200 ... -2009.aspx
It might help