Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing 2sxc v18.02.00 in Oqtane v6.0.0 Causes HTTP 500.30 Error Due to Missing Assembly #3501

Closed
tvatavuk opened this issue Nov 5, 2024 · 0 comments
Assignees

Comments

@tvatavuk
Copy link
Contributor

tvatavuk commented Nov 5, 2024

I'm submitting a

[x] bug report => search github for a similar issue before submitting

...about

[x] Oqtane parts

Current Behavior / Expected Behavior

Installing 2sxc v18.02.00 in Oqtane v6.0.0 breaks the Oqtane installation, resulting in an HTTP Error 500.30 - ASP.NET Core app failed to start.

Instructions to Reproduce the Problem

  1. Install Oqtane v6.0.0.
  2. Install ToSic.Sxc.Oqtane.Install.18.2.0.nupkg.
  3. Restart Oqtane.
  4. Access the Oqtane site.

The site fails to load with an "HTTP Error 500.30 - ASP.NET Core app failed to start."

image

Your environment

  • 2sxc version(s): 18.02.00
  • Oqtane: 6.0.0
  • Hosting platform: IIS

More info

An error is logged in ASP.NET Core, indicating a missing System.Runtime.Caching.dll assembly.

Application startup exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.Caching, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
File name: 'System.Runtime.Caching, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
   at ToSic.Eav.Caching.MemoryCacheService.Notify(ICanBeCacheDependency obj)
   at ToSic.Eav.Apps.State.AppState.CacheResetTimestamp(String message, Int32 offset)
   at ToSic.Eav.Apps.State.AppState..ctor(ParentAppState parentApp, IAppIdentity id, String nameId, ILog parentLog)
   at ToSic.Eav.Apps.State.AppState.AppStateBuilder.InitForPreset()
   at ToSic.Eav.Persistence.File.AppLoader.LoadFullAppState()
   at ToSic.Eav.Internal.Loaders.EavSystemLoader.StartUp()
   at ToSic.Eav.Internal.Loaders.SystemLoader.<StartUp>b__5_0(ILogCall l)
   at ToSic.Lib.Logging.ILog_Actions.DoLogCall(ILog log, String parameters, Action`1 action, Boolean timer, Boolean enabled, String message, String cPath, String cName, Int32 cLine)
   at ToSic.Lib.Logging.ILog_Actions.Do(ILog log, Action`1 action, Boolean timer, Boolean enabled, String message, String cPath, String cName, Int32 cLine)
   at ToSic.Eav.Internal.Loaders.SystemLoader.StartUp()
   at ToSic.Sxc.Oqt.Server.StartUp.OqtStartup.Configure(IApplicationBuilder app, IWebHostEnvironment env) in C:\Projects\2sxc\2sxc\Src\Oqtane\ToSic.Sxc.Oqt.Server\StartUp\OqtStartup.cs:line 116
   at Oqtane.Extensions.ApplicationBuilderExtensions.ConfigureOqtaneAssemblies(IApplicationBuilder app, IWebHostEnvironment env) in A:\_Test\2sxc-oqtane\oqtane.framework-6.0.0-dev2\Oqtane.Server\Extensions\ApplicationBuilderExtensions.cs:line 21
   at Oqtane.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, ISyncManager sync, ICorsService corsService, ICorsPolicyProvider corsPolicyProvider, ILogger`1 logger) in A:\_Test\2sxc-oqtane\oqtane.framework-6.0.0-dev2\Oqtane.Server\Startup.cs:line 197
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InvokeWithManyArgs(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
   at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.Configure(IApplicationBuilder app)
   at Microsoft.AspNetCore.Hosting.WebHost.BuildApplication()
tvatavuk added a commit that referenced this issue Nov 5, 2024
@tvatavuk tvatavuk self-assigned this Nov 5, 2024
@github-project-automation github-project-automation bot moved this to Done in 2sxc 18 Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: v18.04
Development

No branches or pull requests

2 participants