Data Dynamics Reports Support

Started by ajjkoch at 08-04-2010 6:34 AM. Topic has 1 replies.

Print Search Rate
Sort Posts:    
   08-04-2010, 6:34 AM
ajjkoch is not online. Last active: 1/31/2012 6:54:21 PM ajjkoch

Top 500 Posts
Joined on 01-29-2009
Posts 34
Exception while rendering

Attachment: OrderForm.rdlx
Get the following execption on Windows 7 64bit and 8 logical processors with DDR 1.6.1871.45. All worked fine with DDR 1.6.1402.0. Any Idea??? Please help.

AppDomain.CurrentDomain.UnhandledException
System.InvalidOperationException: Cross-thread operation not valid: Control 'ReportProcessingMessage' accessed from a thread other than the thread it was created on.
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.Hide()
at #bPf.#kPf.#bep(Object )
at System.Threading.SynchronizationContext.Send(SendOrPostCallback d, Object state)
at #bPf.#kPf.#9Sf(#oPf message, Boolean canceled)
at #bPf.#aPf.#XSf(IAsyncResult result)
at System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(IMessage msg)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.DoAsyncCall()
at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(Object o)
at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(_ThreadPoolWaitCallback tpWaitCallBack)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(Object state)
STACK TRACE:
at Bf.Gui.Common.WinForms.ExceptionHandler.AppDomain_UnhandledException(System.Object sender, System.UnhandledExceptionEventArgs e) in D:\brn_ako\Sapphire_10_V1_C\Sapphire\Gui\Common.WinForms\ExceptionHandler.cs:line 37
at System.Windows.Forms.Control.SetVisibleCore(System.Boolean value)
at System.Windows.Forms.Control.Hide()
at #bPf.#kPf.#bep(System.Object )
at System.Threading.SynchronizationContext.Send(System.Threading.SendOrPostCallback d, System.Object state)
at #bPf.#kPf.#9Sf(#bPf.#oPf message, System.Boolean canceled)
at #bPf.#aPf.#XSf(System.IAsyncResult result)
at System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage msg)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(System.Runtime.Remoting.Messaging.IMessage msg, System.Runtime.Remoting.Messaging.IMessageSink replySink)
at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.DoAsyncCall()
at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(System.Object o)
at System.Threading._ThreadPoolWaitCallback.WaitCallback_Context(System.Object state)
at System.Threading.ExecutionContext.runTryCode(System.Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(System.Runtime.CompilerServices.RuntimeHelpers+TryCode code, System.Runtime.CompilerServices.RuntimeHelpers+CleanupCode backoutCode, System.Object userData)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state)
Get the following exception while rendering on Windows 7 64bit with ddr version 1.6.1871.45. Did NOT get this problems with verion 1.6.1402.0. Any Idea what happened? Please help me. Pleas give me a hint.

at System.Threading._ThreadPoolWaitCallback.PerformWaitCallbackInternal(System.Threading._ThreadPoolWaitCallback tpWaitCallBack)
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback(System.Object state)

---
   Report 
   08-06-2010, 4:40 AM
Amit Pal is not online. Last active: 2/7/2012 10:11:10 PM Amit Pal

Top 25 Posts
Joined on 12-11-2008
Posts 855

DDStaff
Re: Exception while rendering
Hello,

I am not sure why you were not getting this exception with the previous build however this is thrown when your program accesses a GUI element from a thread other than the main thread. You may use the Invoke or BeginInvoke method of the control to execute the call.

If the issue persists then please attach a sample application (as it seems to me that you are using LocateDataSource event). If possible, please attach sample data as well so that we can check this further at our end.
Amit Pal
GrapeCity- DataDynamics
   Report 
GrapeCity » Product Support » Data Dynamics R... » Re: Exception while rendering

Privacy Policy | Copyright © 1997-2012 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.