Hi All,
My c# windows application is crashing when load variables operation is performed in my application. In this operation, the variables queried from compactSqlce is not getting stored in a dataview, in VISTA, but works fine in XP.
The operations throwing exceptiop are,
query.AsDataView();
or
query.copytodatatable();
the query is fetching the required values, but fails to put them to a dataview or datatable.
This issue is occuring only in VISTA
Please help!
Error Details as Below :
Please find the error details as below :
System.TypeLoadException was unhandled
Method 'FindByKey' on type 'System.Data.LinqDataView' from assembly 'System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is overriding a method that is not visible from that assembly.
at System.Data.DataTableExtensions.AsDataView[T](EnumerableRowCollection`1 source)
at IRst_VariableSelectorUIExtension.frmVariableSelector.BeginLoadDataMap(String fileName) in D:\Service Tool_SCM\Source_latest\IRst_VariableSelectorUIExtension\frmVariableSelector.cs:line 920
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
Many Thanks,
Vidya