Closed isatahiri closed 3 years ago
it relates to Harmony and from what I see in their source code it has been fixed but our dependecy is outdated. You have to wait a bit to publish to IIS at least until next lab minor
add a dependency to Xpand.Patcher 2.0.27 and let me know
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.
just tried, seems to work. Thanks
Issue is deprioritized
as no Assignee found
and scheduled for auto-close
if no activity in the next 60 days
. Thanks a lot for your contribution.
Hello,
Pretty strange, after the migration to the 20.2.3, my project runs in visual studio but not in IIS in remote serer. I checked the security on folder of IIS but this is not the issue.
Does this exceltion talk to you ?
The error occurred:
Reason: "The type initializer for 'Xpand.XAF.Modules.Reactive.ReactiveModuleBase' threw an exception." Data: 1 entries 'ASPIMPERSONATING' '' Stack trace:
at DevExpress.ExpressApp.Utils.Reflection.TypeData.CreateInstance(Object[] args) at DevExpress.ExpressApp.ModuleBase.CreateModule(Type moduleType, ModelStoreBase diffsStore) at DevExpress.ExpressApp.Core.ModuleFactory.ModuleFactoryWithResourcesDiffsStore.CreateModule(Type moduleType) at DevExpress.ExpressApp.ApplicationModulesManager.EnsureModuleInList(Type moduleType, IList
1 moduleList, List
1 requiredModules) at DevExpress.ExpressApp.ApplicationModulesManager.AddModuleIntoList(ModuleBase module, IList1 moduleList, List
1 requiredModules) at DevExpress.ExpressApp.ModuleList.RefreshRequiredModules() at DevExpress.ExpressApp.Utils.BindingListBase`1.EndInit() at PME_Affaire.Web.PME_AffaireAspNetApplication..ctor() at PME_Affaire.Web.Global.Session_Start(Object sender, EventArgs e) at System.Web.SessionState.SessionStateModule.CompleteAcquireState() at System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) at System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)at Xpand.XAF.Modules.Reactive.ReactiveModuleBase..ctor() at Xpand.XAF.Modules.Office.Cloud.Microsoft.MicrosoftModule..ctor() at Create_MicrosoftModule() at DevExpress.ExpressApp.Utils.Reflection.TypeData.CreateInstance(Object[] args)
at HarmonyLib.FileLog.GetBuffer(Boolean clear) at HarmonyLib.MethodBodyReader.FinalizeILCodes(Emitter emitter, List
1 transpilers, List
1 endLabels, Boolean& hasReturnCode) at HarmonyLib.MethodCopier.Finalize(Emitter emitter, List1 endLabels, Boolean& hasReturnCode) at HarmonyLib.MethodPatcher.CreateReplacement(Dictionary
2& finalInstructions) at HarmonyLib.PatchFunctions.UpdateWrapper(MethodBase original, PatchInfo patchInfo) at HarmonyLib.PatchProcessor.Patch() at HarmonyLib.Harmony.Patch(MethodBase original, HarmonyMethod prefix, HarmonyMethod postfix, HarmonyMethod transpiler, HarmonyMethod finalizer) at Xpand.XAF.Modules.Reactive.ReactiveModuleBase..cctor()at System.IO.Directory.CreateDirectory(String path) at HarmonyLib.FileLog..cctor() InnerException is null