Delegate.BeginInvoke - Multiple concurrent calls

mart1n89mart1n89 Member Posts: 3
edited 2015-04-22 in NAV Three Tier
hello friends,

I'm developing an AddIn for NAV and when my AddIn is "Ready" I start querying data by c/al code and save result in a .net-variable which works very good for me.
When Handle is created i start loading data with delegate.invoke, which also works fine but i want to use async call delegate.begininvoke because i don't want my users to wait before dataset is loaded completely.

When i Use Delegate.BeginInvoke i always get an error from nav "An internal error has occurred. Multiple concurrent calls have been issued to the server from this client."

I guess it's because .begininvoke is an own thread. What I'm wondering about is that my dataset is loaded anyway.

Do you know this error and may help me or give me some hints i can try?
Sign In or Register to comment.