How to start the demo center

StatusIDPriorityType
Closed38565MajorBug
ProfileReply
BerndClient

Dear support,

we (audimex ag) currently contemplate on purchasing licesens for Xafari and we want to try out your Audit Trail module as well as your Branches / Tenant module. I am trying to run the demo center, but the application does not start. The windows event log yields the following message:

Application: XafariDemoCenter.exe
Framework version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception information: System.IO.FileNotFoundException
at XafariDemoCenter.Program.Main()

I tried it on my machine and I installed a fresh Windows 10 virtual machine together with the latest DevExpress installation and the latest Visual Studio 2019 with exactly the same result. Is there any other prerequirement? Can I download your demo sources from anywhere else?

Best regards
Bernd

Replies

UserDescriptionPosted On
BerndClient

My bad, I used the wrong XAF version. With 19.2.3 I can run the demo launcher and also found the sources. But when trying to run the BC Demo from the demo launcher (Win and Web) I get the following exception:

System.InvalidOperationException: Exception occurs while assigning the 'DetailView, ID:XafariAuthenticationLogonParameters_DetailView' view to WinWindow:
The 'sourceNode' must have either only default aspect or same set of aspects as this node.
Parametername: sourceNode ---> System.ArgumentException: The 'sourceNode' must have either only default aspect or same set of aspects as this node.
Parametername: sourceNode
bei DevExpress.ExpressApp.Model.Core.ModelNode.ApplyDiff(ModelNode sourceNode, Boolean isMerge)
bei Xafari.BC.Services.ServicesModelService.c__DisplayClass5_0.b__1(ModelNode afterSetupLayer, ModelApplicationBase applicationModel)
bei Xafari.Helpers.ModelNodeHelper.OperateLayer(ModelApplicationBase target, Action`2 action)
bei Xafari.BC.Services.ServicesModelService.c__DisplayClass5_0.b__0()
bei Xafari.BC.Services.XafariCommonService.LockAction(Action action)
bei Xafari.BC.Services.ServicesModelService.CreateServicesModelLayer(String id, Boolean isLoadFromStore)
bei Xafari.BC.Services.ServicesModelService.InitializeCore()
bei Xafari.BC.Services.XafariCommonService.Initialize()
bei Xafari.BC.Numerators.NumeratorManager.InitializeCore()
bei Xafari.BC.Services.XafariCommonService.Initialize()
bei Xafari.BC.Numerators.NumeratorManager.ServiceSpaceContext.InitializeCore()
bei Xafari.BC.Services.XafariServiceBase`1.ServiceSpaceContextBase.Initialize()
bei Xafari.BC.Services.XafariServiceBase`1.ServiceSpaceContextBase.Xafari.BC.Services.IServiceSpaceContext.Setup()
bei Xafari.BC.Services.ServiceSpace.RegisterService(IXafariService service)
bei Xafari.BC.Services.ServiceSpace.FindServiceContext(IXafariService service)
bei Xafari.BC.Services.XafariServiceBase`1.Instance_ServiceSpaceCreated(Object sender, ServiceSpaceCreatedEventArgs e)
bei Xafari.BC.Services.ServiceSpacesManager.OnServiceSpaceCreated(ServiceSpaceCreatedEventArgs e)
bei Xafari.BC.Services.ServiceSpacesManager.c__DisplayClass9_0.b__0()
bei Xafari.BC.Services.XafariCommonService.LockFunc[T](Func`1 func)
bei Xafari.BC.Numerators.NumeratorsLogicController.OnViewControllerAssigned()
bei Xafari.BC.LogicControllers.LogicControllerBase.set_ViewController(LogicControllerViewController value)
bei Xafari.BC.LogicControllers.LogicControllerService.c__DisplayClass14_0.b__0(LogicControllerBase logicController)
bei System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
bei System.Linq.Buffer`1..ctor(IEnumerable`1 source)
bei System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
bei Xafari.BC.LogicControllers.LogicControllerViewController.OnViewChanged()
bei DevExpress.ExpressApp.ViewController.SetView(View newView)
bei DevExpress.ExpressApp.Frame.ActivateViewControllers()
bei DevExpress.ExpressApp.Frame.SetView(View view, Boolean updateControllers, Frame sourceFrame, Boolean disposeOldView)
--- Ende der internen Ausnahmestapel├╝berwachung ---
bei DevExpress.ExpressApp.Frame.SetView(View view, Boolean updateControllers, Frame sourceFrame, Boolean disposeOldView)
bei DevExpress.ExpressApp.Win.PopupWindowShowActionHelper.CreatePopupWindow(Boolean createAllControllers)
bei DevExpress.ExpressApp.Win.WinApplication.DoLogon()
bei DevExpress.ExpressApp.Win.WinApplication.Start()

The same exception occurs when I try the Northwind demo. The FeatureCenter demo works just fine. Do you have a hint for me?

MariyaVoytovichAgent

Hello Bernd!

You are welcome.

This error occurs because the application model lacks an 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. Or change the value for PreferredLanguage to en.

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

× This ticket is closed.

Write US