Open enfJoao opened 6 days ago
@tvatavuk any ideas?
Is there a chance that two compilers try to create the file at the same time, and refuse to overwrite a 0-byte file or something?
Deleted the files in the folder, restarted the server, same output. One app generates the files and the app runs, the other generates the errors.
I'm submitting a
[x] bug report
...about
[x] other / unknown
Current Behavior / Expected Behavior
Importing apps from DNN to test in Oqtane. Some work with no issues, other report this:
Error: System.Exception: Error: Can't compile 'AppCode.dll' in AppCode. Details are logged into insights. Bad IL format. The format of the file ' .... \App_Data\2sxc.bin\App-00006-AppCode-5c98a772de834cf2f6cbaba95a058d43347c40224e3ac673b0d60a04183c20b8.dll' is invalid. at ToSic.Sxc.Razor.RazorCompiler.FindViewAsync(ActionContext actionContext, String partialName, IApp app, HotBuildSpec spec) at ToSic.Sxc.Razor.RazorCompiler.CompileView(String partialName, Action
1 configure, IApp app, HotBuildSpec spec) at ToSic.Sxc.Razor.RazorRenderer.RenderToStringAsync[TModel](String templatePath, TModel model, Action1 configure, IApp app, HotBuildSpec hotBuildSpec) at ToSic.Sxc.Razor.RazorEngine.RenderTask(RenderSpecs specs)
This is the content of the folder:
Instructions to Reproduce the Problem
Load any view (from specific apps with no significant differences).
Your environment