MicrosoftDocs / Windows-Admin-Center-Ideas-and-Feedback

Windows Admin Center's hub for ideas and feedback.
Creative Commons Attribution 4.0 International
20 stars 9 forks source link

SmeDesktop unable to connect to any device for Admin, error 500 bad format, Exception from HRESULT: 0x8007000B #258

Open TechTrev opened 1 year ago

TechTrev commented 1 year ago

Gateway Version: 2110.2 Extension Version: N/A

To Reproduce Steps to reproduce the behavior:

  1. Install windows admin center on windows 10 21H2 (including latest patches)
  2. Launch Windows Admin Center
  3. Select any device to open for remote management. (pre-installed localhost for example)
  4. Connection error observed Connection error An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
  5. Event Log entry related to connection error
    500 - BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
    Stack trace:    at System.Net.UnsafeNclNativeMethods.HttpApi.GetChunks(Byte[] memoryBlob, IntPtr originalAddress, Int32& dataChunkIndex, UInt32& dataChunkOffset, Byte[] buffer, Int32 offset, Int32 size)
    at System.Net.HttpRequestStream.BeginRead(Byte[] buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state)
    at System.IO.Stream.<>c.b__43_0(Stream stream, ReadWriteParameters args, AsyncCallback callback, Object state)
    at System.Threading.Tasks.TaskFactory`1.FromAsyncTrim[TInstance,TArgs](TInstance thisRef, TArgs args, Func`5 beginMethod, Func`3 endMethod)
    at System.IO.Stream.BeginEndReadAsync(Byte[] buffer, Int32 offset, Int32 count)
    at System.IO.Stream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken)
    at Microsoft.Owin.Host.HttpListener.RequestProcessing.ExceptionFilterStream.d__32.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Net.Http.StreamToStreamCopy.d__2.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Net.Http.HttpContent.d__49.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Net.Http.HttpContent.d__63`2.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.ManagementExperience.Common.PowerShell.PowerShellRequest.d__25.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.ManagementExperience.FrontEnd.Controllers.FeatureController.d__89.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Threading.Tasks.TaskHelpersExtensions.d__3`1.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Web.Http.Controllers.ApiControllerActionInvoker.d__0.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at Microsoft.ManagementExperience.FrontEnd.Handlers.ImpersonationActionInvoker.d__1.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at System.Web.Http.Controllers.ActionFilterResult.d__2.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    

Expected behavior Device management screen loads

Screenshots & Additional context image -- target install laptop has several network interfaces both virtual (VMware and Virtualbox), ethernet and wifi. -- Various development software installed on impacted machine VS2013 and Android Studio

Things Investigated/Tried Already -- Downloaded msi when installed on another windows 10 machine does not experience the same problem. Appears to only impacts this specific laptop. -- Remove and re-install does not appear to help.

Additional Note Happy to provide any and all additional detail.

RebeccaMbulaMs commented 1 year ago

Hi, I'm Rebecca, PM on WAC. Are you still facing this issue? I'd be happy to troubleshoot with you. If this is OK with you, please send me an email on (rwambua@microsoft.com) with your timezone and I will set up a teams call. Kind regards.