Closed Johnkag closed 4 years ago
added Xpand.XAF.Modules.Reactive.ReactiveModuleBase.Unload(typeof(Xpand.XAF.Modules.MasterDetail.MasterDetailModule)); but still throws
sample is required
also note that v2.202.46.0 belongs to the https://github.com/eXpandFramework/DevExpress.XAF repository and v20.1.701.2 to this one
We will try to answer all questions that do not require research within 24hr. To prioritize cases that require research we use the following labels in order. For all other issues the posting time is respected.
This case is prioritized.
i think its because modules from the two repositories have the same name "MasterDetailModule"
the standalone packages can be unloaded, instructions available in each module wiki
still throws even if unloaded
still throws after Xpand.XAF.Modules.Reactive.ReactiveModuleBase.Unload(typeof(Xpand.XAF.Modules.MasterDetail.MasterDetailModule));
Sorry without further research I cannot help you more. The unload feature is tested on each build and it should work. However although you prioritized with the sample, there are pending cases with higher priority at the moment. Once i research the case I let u know.
Consider boosting the case priority as per my support tiers and please let me know if you solve it your self not to consume my resources in vain.
did u resolve the case?
renamed expand master detail module
use this combination RequiredModuleTypes.Add(typeof(Xpand.ExpressApp.WorldCreator.DBMapper.WorldCreatorDBMapperModule)); RequiredModuleTypes.Add(typeof(Xpand.ExpressApp.WorldCreator.Win.WorldCreatorWinModule)); RequiredModuleTypes.Add(typeof(Xpand.ExpressApp.MasterDetail.Win.MasterDetailWindowsModule));
you get
System.InvalidOperationException HResult=0x80131509 Message=Exception occurs while initializing the 'Xpand.ExpressApp.WorldCreator.WorldCreatorModule' module: An error with number 1111 has occurred. Error message: The database version is greater than the application version. The application needs to be updated. Please contact your system administrator or download a new version. Additional information: the local version 2.202.46.0 of module 'MasterDetailModule' is smaller than version 20.1.701.2 in the database. Source=Xpand.XAF.Modules.Reactive StackTrace: at Xpand.XAF.Modules.Reactive.ReactiveModuleBase.SetupModules(ApplicationModulesManager applicationModulesManager) in D:\a\1\s\src\Modules\Reactive\ReactiveModuleBase.cs:line 80 at Xpand.XAF.Modules.Reactive.ReactiveModuleBase.SetupModulesPatch(ApplicationModulesManager __instance) in D:\a\1\s\src\Modules\Reactive\ReactiveModuleBase.cs:line 47 at DevExpress.ExpressApp.ApplicationModulesManager.Load(ITypesInfo typesInfo, Boolean loadTypesInfo)
Inner Exception 1: CompatibilityException: An error with number 1111 has occurred. Error message: The database version is greater than the application version. The application needs to be updated. Please contact your system administrator or download a new version. Additional information: the local version 2.202.46.0 of module 'MasterDetailModule' is smaller than version 20.1.701.2 in the database.