powershell-universal icon indicating copy to clipboard operation
powershell-universal copied to clipboard

Active Directory users can't edit scripts and view jobs

Open ThatRandomDude opened this issue 4 months ago • 2 comments

Version

5.0.13

Severity

Critical

Environment

IIS

Steps to Reproduce

"Login with Windows" then click on "Jobs" results in:

An error occured. One or more errors occurred. (Object reference not set to an instance of an object.)

Click on "Scripts" and then "Edit Code" on any script shows the edit windows for a split second and then shows the error:

An error occured. Cannot access a disposed object. Object name: 'Microsoft.JSInterop.DotNetObjectReference`1[[BlazorMonaco.Editor.Editor, BlazorMonaco, Version=3.3.0.0, Culture=neutral, PublicKeyToken=null]]'.
at Microsoft.JSInterop.DotNetObjectReference`1.get_Value() at BlazorMonaco.Editor.Global.Create(IJSRuntime jsRuntime, String domElementId, StandaloneEditorConstructionOptions options, EditorOverrideServices overrideServices, DotNetObjectReference`1 dotnetObjectRef) at BlazorMonaco.Editor.StandaloneCodeEditor.OnAfterRenderAsync(Boolean firstRender) at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)

Expected behavior

Both functions work like they do with a local user

Actual behavior

Both functions throw an error

Additional Environment data

Windows Server 2022 Standard GUI PostgreSQL 16.4

web.config and appsettings.json in ansible template format: iis-config.zip

Screenshots/Animations

No response

ThatRandomDude avatar Oct 24 '24 07:10 ThatRandomDude