Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
BTW, to temporarily make it work in the middle-tier scenario,
public class ConsoleApplicationServerServerApplication : ServerApplication { private string applicationFolder; public ConsoleApplicationServerServerApplication() { applicationFolder = PathHelper.GetApplicationFolder(); // Change the ServerApplication.ApplicationName property value. It should be the same as your client application name. this.ApplicationName = "SecuritySystemExample"; // Add your client application's modules to the ServerApplication.Modules collection here. this.Modules.Add(new SystemWindowsFormsModule()); this.Modules.Add(new SystemAspNetModule()); this.Modules.Add(new SecuritySystemExampleModule()); this.Modules.Add(new SecurityModule()); } protected override void OnDatabaseVersionMismatch(DevExpress.ExpressApp.DatabaseVersionMismatchEventArgs args) { args.Updater.Update(); args.Handled = true; } protected override void CreateDefaultObjectSpaceProvider(CreateCustomObjectSpaceProviderEventArgs args) { args.ObjectSpaceProvider = new XPObjectSpaceProvider(args.ConnectionString, args.Connection); } protected override string GetDcAssemblyFilePath() { return Path.Combine(applicationFolder, DcAssemblyFileName); } protected override string GetModelAssemblyFilePath() { return Path.Combine(applicationFolder, ModelAssemblyFileName); } protected override string GetModulesVersionInfoFilePath() { return Path.Combine(applicationFolder, ModulesVersionInfoFileName); } }
So, this suggestion is mainly about improving usability in this scenario and also ensuring that there are no other technical issues so far.
OR
2) You can use a solution posted by Daniel Großer in Security - Support domain components in the new security system (Client-Side UI and Integrated modes).
thx Dennis,
is there a way to figure out the path of the DcAssembly?
The DcAssembly.dll file is generated in the Release mode near the executable file by default.
Is this going to make it in the 13.1 release? This really should have been in 12.2 along with the UI and Integrated modes but I sure hope it makes it into 13.1.
This suggestion is not implemented in the 13.1 version. You can add this ticket to your favorites to be automatically notified in case of any progress. Now you can use solutions from the comments above.
Can I ask about the status of this suggestion?
@Stanislaw: This suggestion is still active and you can currently use the solutions described above. We will update this ticket once we come with a simpler solution for this particular scenario.