Problem only in production: Error "AmbigCall"

Hello,

I have implemented a Query Builder (version 20.1.0.50 in Blazor WASM Application) with custom fields, whose value is taken from a DropDownList. In Debug on my Visual Studio 2022 everything works fine, when I publish to the production server, the GetSqlFromRules method returns the "AmbigCall" error in the console.

Always on the production server, if I serialize and view the Rules they appear correct without any problem.

Are there any known issues on this issue?


4 Replies

YA YuvanShankar Arunagiri Syncfusion Team April 22, 2022 01:01 PM UTC

Hi Stefano,


We have checked your requirement by publishing the Query builder sample. We can be able to GetSqlFromRules without any error. We validating the issue using below mentioned rule model.


public List<RuleModel> Rules = new List<RuleModel>
{
new RuleModel { Label="Employee ID", Field = "EmployeeID", Type="Number", Operator = "notequal", Value = 1001},
new RuleModel { Label="Country", Field = "Country", Type="String", Operator = "equal", Value = "England"}
};



If you are still facing issue, please share the below details.


  • Share the GetSqlFromRules data from the working sample.
  • Share the RuleModel from the working sample.

Please provide the above requested information, based on that we will check and provide you a better solution quickly.


Regards,
YuvanShankar A



SM Stefano Manto April 22, 2022 01:20 PM UTC

Hello, thanks for the reply.

The problem with my solution arises when I deploy to my production environment (WinServer 2016, IIS Ver. 10.0.14393.0)

For convenience I enclose the solution within which the problem arises. I started from the solution generated by your basic template by adding my custom field


Attachment: SyncfusionBlazorApp2_13a345c8.zip


YA YuvanShankar Arunagiri Syncfusion Team April 28, 2022 08:38 AM UTC

Hi Stefano,


Currently, we are setting up the environment (WinServer 2016, IIS Ver. 10.0.14393.0) to check this reported issue and will update you as soon as possible.


Regards,

YuvanShankar A



YA YuvanShankar Arunagiri Syncfusion Team December 23, 2022 10:44 AM UTC

We apologize for the inconvenience, Stefano.


We are pleased to inform you that our Essential Studio 2022 Volume 4 release v20.4.0.38 is now available. As part of this release, we have made some performance improvements to our query builder component. We recommend updating your Syncfusion package to the latest version to take advantage of these improvements.


If you are still experiencing issues after updating, please don't hesitate to get back in touch with us.


Loader.
Up arrow icon