iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Our data extensions for DevForce EntityQueryExtensions located in assembly "Intersoft.Client.Data.Provider.DevForce.dll" not working correctlywith newest version of DevForce 2010 v6.1.0.I'm trying use the data provider extension takes the QueryDescriptor as an input. Code is below:
public override void GetTotalItemCount(QueryDescriptor queryDescriptor, Action<int> onSuccess) { var op = this.Manager.Users.Parse(queryDescriptor, false).AsScalarAsync().Count(); op.Completed += (o, e) => { if (onSuccess != null) onSuccess(e.Result); }; }
This code compiles correctly, but at runtime throws an exception:
System.MissingMethodException was unhandled by user code Message=Method not found: 'IdeaBlade.EntityModel.IEntityQuery`1<!!0> IdeaBlade.EntityModel.EntityQueryExtensions.OrderBySelector(IdeaBlade.EntityModel.IEntityQuery`1<!!0>, IdeaBlade.Core.IPropertySortSelector)'. StackTrace: w Intersoft.Client.Data.Provider.DevForce.EntityQueryExtensions.[TEntity](IEntityQuery`1 query, SortDescriptorCollection sortDescriptors) w Intersoft.Client.Data.Provider.DevForce.EntityQueryExtensions.Parse[TEntity](IEntityQuery`1 query, QueryDescriptor queryDescriptor, Boolean applyPageDescriptor) w S4MApp.ModelServices.UsersRepository.GetTotalItemCount(QueryDescriptor queryDescriptor, Action`1 onSuccess) w S4MApp.ViewModels.UsersViewModel.GetTotalItemCount() w S4MApp.ViewModels.UsersViewModel.OnQueryChanged(Object sender, EventArgs e) w Intersoft.Client.Data.ComponentModel.QueryDescriptor.?(Object sender, EventArgs e) w MS.Internal.CoreInvokeHandler.InvokeEventHandler(Int32 typeIndex, Delegate handlerDelegate, Object sender, Object args) w MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)
When I downgrade DevForce to version 6.0.8 this code is working properly.Hope this helps. Thank you.
Regards,Krzysztof
Hi Krzysztof,
Can you let us know if you were using Silverlight or WPF version?As far I know, this is a known issue in our WPF version. I should work well in Silverlight version.If you have an issue in Silverlight version, would you mind to help us by sending a simple runable project that replicates the issue?
Regards,Handy
Hi Handy,
I am also having this problem, I have installed DevForce 6.1 with Silverlight 4. This happens when you create a new Silverlight 4 project from the template "Intersoft ClientUI MVVM Data Application (DevForce)" on a machine with DevForce 6.1 installed and run the application and go to the products page.
It looks like Intersoft.Client.Data.Provider.DevForce.dll needs to be fixed up to work with DevForce 6.1
Chris
Hello Chris,
I followed the step by step but can run the project well in here. Can you send me a video recording which shows the issue?
I don't have time to create a recording. The problem is if you have DevForce 6.1 installed. The intersoft installer installs DevForce 6.09, which does work.
But when you have DevForce 6.1 installed, then the problem is with the line of code:
var query = this.EntityQuery.Parse(queryDescriptor, false)
This is located on line 116 of the DataRepositoryGeneric.cs file located under the ModelServices.Infrastructure folder in the Silverlight project.
The Parse method is an extension method from the assembly Intersoft.Client.Data.Provider.DevForce.dll.
The exception is MissingMethodException which looks like a breaking change in 6.1 which can be found in their release notes for 6.1.
Regards,
Hi Jimmy,
Is there a way to get past this problem until it has been fixed? Can an updated Intersoft.Client.Data.Provider.Devforce.dll be released that works with 6.1?
I am using some newer features in Devforce 6.1 and don't want to go back to 6.09.
Thanks
I got a MissingMethodException. I have gone back to Devforce 6.09 until this issue is resolved.
I too am getting this error of "MissingMethodException" using DevForce.6.1.0 when running the Walkthrough for "Bind UXGridView to DevForce Services using MVVM Pattern".
I just downloaded 6.1.0 from IdeaBlade's web site. While we are waiting for a fix from you guys, how/where do I get 6.0.9?
To revert back to 6.0.9, please uninstall the newer version, then install 6.0.9 using the DevForce installer located in C:\Program Files (x86)\Intersoft Solutions\Intersoft WebUI Studio 2011 R1\Installer.
Hope this helps.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname