You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Seji,
thanks for the new build. but I got another error.
Depending on the settings:
"LAPS": {
"ForceVersion": "v2",
"EncryptionDisabled": true
},
I get different errors. When I set ForceVersion to null or "v2" I get the exception below. If I take v1 and set EncryptionDisabled to false, I get the message that I have no rights. The LAPS password is stored in the msLAPS-Password attribute. Do you have another idea?
Thanks
RAB
17:36:18 WRN] Unhandled exception rendering component: Sequence contains no matching element
System.InvalidOperationException: Sequence contains no matching element
at System.Linq.ThrowHelper.ThrowNoMatchException()
at System.Linq.Enumerable.Single[TSource](IEnumerable1 source, Func2 predicate)
at LAPS_WebUI.Pages.LAPS.<>c__DisplayClass25_2.b__22(RenderTreeBuilder __builder8)
at Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddContent(Int32 sequence, RenderFragment fragment)
at MudBlazor.MudTabPanel.BuildRenderTree(RenderTreeBuilder __builder)
at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)
[17:36:18 ERR] Unhandled exception in circuit 'qe_JNt3Nq8dkrM0IsX8sFazZcvDfxIPBqIL8CKNks10'.
System.InvalidOperationException: Sequence contains no matching element
at System.Linq.ThrowHelper.ThrowNoMatchException()
at System.Linq.Enumerable.Single[TSource](IEnumerable1 source, Func2 predicate)
at LAPS_WebUI.Pages.LAPS.<>c__DisplayClass25_2.b__22(RenderTreeBuilder __builder8)
at Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddContent(Int32 sequence, RenderFragment fragment)
at MudBlazor.MudTabPanel.BuildRenderTree(RenderTreeBuilder __builder)
at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)
[17:36:18 WRN] Unhandled exception rendering component: Cannot access a disposed object.
System.ObjectDisposedException: Cannot access a disposed object.
at Microsoft.AspNetCore.Components.RenderTree.ArrayBuilder1.GrowBuffer(Int32 desiredCapacity) at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException) at Microsoft.AspNetCore.Components.RenderTree.Renderer.ProcessRenderQueue() [17:36:18 ERR] Unhandled exception in circuit 'qe_JNt3Nq8dkrM0IsX8sFazZcvDfxIPBqIL8CKNks10'. System.ObjectDisposedException: Cannot access a disposed object. at Microsoft.AspNetCore.Components.RenderTree.ArrayBuilder1.GrowBuffer(Int32 desiredCapacity)
at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.ProcessRenderQueue()
[17:36:18 INF] Executed endpoint '/_blazor'
The text was updated successfully, but these errors were encountered:
Hi Seji,
I re-read and looked at your sources. In my case, the LAPS password is in plain text in the msLAPS-password attribute in the format
{"n":"LAPS admin","t":"1d9b97cb2bd3135","p":"LAPS password"}
All other laps attributes are empty. So I try the settings like this:
"LAPS": {
"ForceVersion": "v2", // Allowed Values: All, v1, v2 | Default: All (v1 & v2)
"EncryptionDisabled": true // Allowed Values: true, false | Default: false
},
In the source code I read that the attribute is also read in the TRY block for v2 (variable ldapValue ).
Unfortunately, I then get the error above.
In all other combinations of the LAPS settings, I get the message that I have no rights or that LAPS is not used, which is also logical, all other LAPS attributes are empty.
Do you have another tip?
Thanks
RAB
Hi Seji,
thanks for the new build. but I got another error.
Depending on the settings:
"LAPS": {
"ForceVersion": "v2",
"EncryptionDisabled": true
},
I get different errors. When I set ForceVersion to null or "v2" I get the exception below. If I take v1 and set EncryptionDisabled to false, I get the message that I have no rights. The LAPS password is stored in the msLAPS-Password attribute. Do you have another idea?
Thanks
RAB
17:36:18 WRN] Unhandled exception rendering component: Sequence contains no matching element
System.InvalidOperationException: Sequence contains no matching element
at System.Linq.ThrowHelper.ThrowNoMatchException()
at System.Linq.Enumerable.Single[TSource](IEnumerable
1 source, Func
2 predicate)at LAPS_WebUI.Pages.LAPS.<>c__DisplayClass25_2.b__22(RenderTreeBuilder __builder8)
at Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddContent(Int32 sequence, RenderFragment fragment)
at MudBlazor.MudTabPanel.BuildRenderTree(RenderTreeBuilder __builder)
at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)
[17:36:18 ERR] Unhandled exception in circuit 'qe_JNt3Nq8dkrM0IsX8sFazZcvDfxIPBqIL8CKNks10'.
System.InvalidOperationException: Sequence contains no matching element
at System.Linq.ThrowHelper.ThrowNoMatchException()
at System.Linq.Enumerable.Single[TSource](IEnumerable
1 source, Func
2 predicate)at LAPS_WebUI.Pages.LAPS.<>c__DisplayClass25_2.b__22(RenderTreeBuilder __builder8)
at Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.AddContent(Int32 sequence, RenderFragment fragment)
at MudBlazor.MudTabPanel.BuildRenderTree(RenderTreeBuilder __builder)
at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)
[17:36:18 WRN] Unhandled exception rendering component: Cannot access a disposed object.
System.ObjectDisposedException: Cannot access a disposed object.
at Microsoft.AspNetCore.Components.RenderTree.ArrayBuilder
1.GrowBuffer(Int32 desiredCapacity) at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException) at Microsoft.AspNetCore.Components.RenderTree.Renderer.ProcessRenderQueue() [17:36:18 ERR] Unhandled exception in circuit 'qe_JNt3Nq8dkrM0IsX8sFazZcvDfxIPBqIL8CKNks10'. System.ObjectDisposedException: Cannot access a disposed object. at Microsoft.AspNetCore.Components.RenderTree.ArrayBuilder
1.GrowBuffer(Int32 desiredCapacity)at Microsoft.AspNetCore.Components.Rendering.ComponentState.RenderIntoBatch(RenderBatchBuilder batchBuilder, RenderFragment renderFragment, Exception& renderFragmentException)
at Microsoft.AspNetCore.Components.RenderTree.Renderer.ProcessRenderQueue()
[17:36:18 INF] Executed endpoint '/_blazor'
The text was updated successfully, but these errors were encountered: