BCDemo Win App - Error

StatusIDPriorityType
Closed39581MinorBug
ProfileReply
NielClient

When I run the BCDemo windows application it erred with the following error:
Message: 'Xafari.BC.Tasks.DC.TaskNote' is not registered as entity

I have attached the eXpressAppFramework log file

Attached files:

Replies

UserDescriptionPosted On
MariyaVoytovichAgent

Hello!

Our apologies for the delay.

Thanks for reporting the issue.
In order to fix the issue, we must first reproduce the issue in our labs.

We do not have an error when starting the application.
Please tell me, did you change something in the demo example, for example, the list of modules in the application or config?

The error is caused by parallel registration of modules in the application.
You can disable it to test the functionality of the demo example.

To do this, in the constructor of the BCDemoWindowsFormsApplication class, insert the following code:

ApplicationModulesManager.UseParallelTypesCollector = false;

We want to help you and are looking forward to hearing from you.

Regards,
Mariya
On behalf of Xafari Client Services Team

NielClient

I added the line to BCDemoWindowsFormsApplication class. Now I receive the error in the attachment.

Attached files:
NielClient

If I change the Languages to only Russian the application runs. If I add English I get the error.

Regards,
Niel

MariyaVoytovichAgent

Hello!

This error occurs because the application model lacks an aspect.

Maybe your system has some special aspect. In this case, you need to add an aspect of your region.
Rather all you need is to add the en aspect.

Please, open the application model using the XafariModelEditor tool, which is installed in the folder C:\Program Files (x86)\Top Soft LLC\Xafari Framework v19.2.3011\Tools\XafariModelEditor, and add an aspect of your region. And change the value for PreferredLanguage.

For more details see: Localization Basics, Model Difference Storages.

Feel free to contact us if you need further assistance or have additional questions.

Regards,
Mariya
On behalf of Xafari Client Services Team

NielClient

Thank you I have made the change in my local copy of the demo application, but other clients might see the same error.

× This ticket is closed.

Write US