Skip to content

2sxc fail on fresh Oqtane 4.0.0 because of restricted DB permissions #3131

@nicpitsch

Description

@nicpitsch

I'm submitting a

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

...about

[x] 2sxc in Oqtane
[x] Installation error

Current Behavior / expected Behavior

2sxc Content or App modules added to a page render following error:

grafik

System.NullReferenceException: Object reference not set to an instance of an object.
   at ToSic.Sxc.Oqt.App.Index.OnParametersSetAsync() in C:\Projects\2sxc\2sxc\Src\Oqtane\ToSic.Sxc.Oqt.Client\App\Index.razor.cs:line 64
   at Microsoft.AspNetCore.Components.ComponentBase.CallStateHasChangedOnAsyncCompletion(Task task)
   at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)

Instructions to reproduce the Problem

My Windows Server environment is for production/deployment, not for development. It has other Oqtane installations - updated from 3.x to version 4.0.0 - where 2sxc is functional. The IIS is setup according to Installing Oqtane on IIS - now using .NET Core version 7.0.

Reproduce:

  • Install latest Oqtane from scratch (don't update an existing).
  • Install latest 2sxc using Oqtane Module Management.
  • Add a 2sxc Content or App module to a page. In my environment the error above happens.

What I further did to try eliminate the error:

My environment

  • Operationg system Windows Server 2016, SQL Express
  • 2sxc version(s): 16.02.00
  • Oqtane: 4.0.0
  • Hosting platform: IIS
  • Browser: all
  • Language: any/all | English

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions