Open Closed

DevExpress Query Builder generate error "Schema loaded failed" in Asp .Net Core (abp Framework) #1958


User avatar
0
MajidAli created

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: 4.3.0
  • UI type: Angular / MVC / Blazor: MVC
  • DB provider: EF Core / MongoDB: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no : No

Hi, I am using query builder in Asp.net core abp framework project but its generate an error on load DataSource (Schema loaded failed), please see error details below:

I have added the sample project with source code. Please have a look:

Here is Abp Framework(Asp.Net Core) Sample project(Not work): Please don't share the source code. Here is Asp.Net Core(Without Abp) Sample project(its work): Please don't share the source code.

In this project, first "DbMigrator" project run for create the local database in your system and then run "Web" project. After run the Application you will see the issue that query builder will not load query properly.


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    https://community.abp.io/articles/using-devextreme-components-with-the-abp-framework-zb8z7yqv#json-serialization

    if this is related to Newtonsoft.Json You can try to set the UseHybridSerializer to false.

    https://docs.abp.io/en/abp/latest/JSON#abpjsonoptions

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09