Xafari Security module and middle tier app server

Ali Yakup DurşenClient

Is there a known issue with XAF middle tier security option and Xafari SecurityDC module. I run into several problems.

If not, sample code of implementation of Xafari DC Security under XAF mid tier layer will be appreciated.

Also, is there any sample code implementing Xafari DC Security on an existing XAF project?



UserDescriptionPosted On
Sasha (Xafari Support)Client


Thanks for the ticket.
We are going to investigate it. Give us some time.

Best regards,

Sasha (Xafari Support)Client


We are unable to reproduce an issue for some our scenario.
Could you please provide us with the following info?
1. A small demo project, reproducing the problem;
2. Or detailed steps to reproduce the problem.
We want to help you and are looking forward to hearing from you.

Thanks, Sasha.

Ali Yakup DurşenClient

Hi Sasha,

Sorry for late response. I was a little bit busy. I can look it up again just now.

I add a middle tier app server and configured. After click on "Logon" button I get the error as following:

System.NotSupportedException: Belirtilen metot desteklenmiyor.
konum: DevExpress.ExpressApp.Security.ClientServer.DataServerObjectSpaceProvider.CreateUpdatingObjectSpace(Boolean allowUpdateSchema)
konum: DevExpress.ExpressApp.Updating.DatabaseSchemaUpdater.Update()
konum: test_xafarimidtierserver.App.test_xafarimidtierserverAppModule.application_DatabaseVersionMismatch(Object sender, DatabaseVersionMismatchEventArgs e) c:\users\yakup\documents\visual studio 2015\Projects\test_xafarimidtierserver\test_xafarimidtierserver.App\AppModule.cs içinde: satır 70
konum: DevExpress.ExpressApp.XafApplication.OnDatabaseVersionMismatch(DatabaseVersionMismatchEventArgs args)
konum: DevExpress.ExpressApp.XafApplication.CheckCompatibilityCore()
konum: DevExpress.ExpressApp.Win.WinApplication.CheckCompatibilityCore()
konum: DevExpress.ExpressApp.XafApplication.CheckCompatibility()
konum: DevExpress.ExpressApp.XafApplication.Logon(PopupWindowShowActionExecuteEventArgs logonWindowArgs)
konum: DevExpress.ExpressApp.Win.WinApplication.Logon(PopupWindowShowActionExecuteEventArgs logonWindowArgs)

You will find my solution as a zipped attachment.,

Thanks for your support.

Sasha (Xafari Support)Client

Hello Ali,

Thanks for the provided information.
Unfortunately, we did not test this way of using Xafari Security objects with the WCF Application Server. We passed this ticket to our developers for further research, please give us additional time.

Sorry for the delay with the answer and the temporary inconvenience.
Best regards,

Write US