Skip to content

Instantly share code, notes, and snippets.

@camnewnham
Created February 14, 2022 06:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save camnewnham/c2c72747fd97324e30664749e290ea1b to your computer and use it in GitHub Desktop.
Save camnewnham/c2c72747fd97324e30664749e290ea1b to your computer and use it in GitHub Desktop.
Unable to load DLL 'avapi32.dll' UWP ARM64 with Sipsorcery
Autoconnected Player [Error] System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: Error resolving name servers ---> System.DllNotFoundException: Unable to load DLL 'advapi32.dll': The specified module could not be found.
at Microsoft.Win32.Win32RegistryApi.OpenSubKey (Microsoft.Win32.RegistryKey rkey, System.String keyName, System.Boolean writable) [0x00000] in <00000000000000000000000000000000>:0
at Microsoft.Win32.RegistryKey.OpenSubKey (System.String name, System.Boolean writable) [0x00000] in <00000000000000000000000000000000>:0
at Microsoft.Win32.RegistryKey.OpenSubKey (System.String name) [0x00000] in <00000000000000000000000000000000>:0
at DnsClient.Windows.NameResolutionPolicy.Resolve (System.Boolean includeGenericServers, System.Boolean includeDirectAccessServers) [0x00000] in <00000000000000000000000000000000>:0
at DnsClient.NameServer.ResolveNameResolutionPolicyServers () [0x00000] in <00000000000000000000000000000000>:0
at DnsClient.NameServer.ResolveNameServers (System.Boolean skipIPv6SiteLocal, System.Boolean fallbackToGooglePublicDns) [0x00000] in <00000000000000000000000000000000>:0
at DnsClient.LookupClient..ctor (DnsClient.LookupClientOptions options, DnsClient.DnsMessageHandler udpHandler, DnsClient.DnsMessageHandler tcpHandler) [0x00000] in <00000000000000000000000000000000>:0
at DnsClient.LookupClient..ctor (DnsClient.LookupClientOptions options) [0x00000] in <00000000000000000000000000000000>:0
at DnsClient.LookupClient..ctor () [0x00000] in <00000000000000000000000000000000>:0
at SIPSorcery.Net.RtpIceChannel.StartGathering () [0x00000] in <00000000000000000000000000000000>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x00000] in <00000000000000000000000000000000>:0
...
--- End of inner exception stack trace ---
at DnsClient.NameServer.ResolveNameServers (System.Boolean skipIPv6SiteLocal, System.Boolean fallbackToGooglePublicDns) [0x00000] in <00000000000000000000000000000000>:0
at DnsClient.LookupClient..ctor (DnsClient.LookupClientOptions options, DnsClient.DnsMessageHandler udpHandler, DnsClient.DnsMessageHandler tcpHandler) [0x00000] in <00000000000000000000000000000000>:0
at DnsClient.LookupClient..ctor (DnsClient.LookupClientOptions options) [0x00000] in <00000000000000000000000000000000>:0
at DnsClient.LookupClient..ctor () [0x00000] in <00000000000000000000000000000000>:0
at SIPSorcery.Net.RtpIceChannel.StartGathering () [0x00000] in <00000000000000000000000000000000>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x00000] in <00000000000000000000000000000000>:0
...
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00000] in <00000000000000000000000000000000>:0
at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00000] in <00000000000000000000000000000000>:0
at System.Threading.Tasks.Task.Wait () [0x00000] in <00000000000000000000000000000000>:0
at SIPSorcery.Net.RTCPeerConnection.createBaseSdp (System.Collections.Generic.List`1[T] tracks, System.Collections.Generic.List`1[T] audioCapabilities, System.Collections.Generic.List`1[T] videoCapabilities, System.Boolean excludeIceCandidates) [0x00000] in <00000000000000000000000000000000>:0
at SIPSorcery.Net.RTCPeerConnection.createOffer (SIPSorcery.Net.RTCOfferOptions options) [0x00000] in <00000000000000000000000000000000>:0
at MyApp.RTC.Client+<<-ctor>g__OnNegotationNeeded|16_5>d.MoveNext () [0x00000] in <00000000000000000000000000000000>:0
...
---> (Inner Exception #0) System.InvalidOperationException: Error resolving name servers ---> System.DllNotFoundException: Unable to load DLL 'advapi32.dll': The specified module could not be found.
at Microsoft.Win32.Win32RegistryApi.OpenSubKey (Microsoft.Win32.RegistryKey rkey, System.String keyName, System.Boolean writable) [0x00000] in <00000000000000000000000000000000>:0
at Microsoft.Win32.RegistryKey.OpenSubKey (System.String name, System.Boolean writable) [0x00000] in <00000000000000000000000000000000>:0
at Microsoft.Win32.RegistryKey.OpenSubKey (System.String name) [0x00000] in <00000000000000000000000000000000>:0
at DnsClient.Windows.NameResolutionPolicy.Resolve (System.Boolean includeGenericServers, System.Boolean includeDirectAccessServers) [0x00000] in <00000000000000000000000000000000>:0
at DnsClient.NameServer.ResolveNameResolutionPolicyServers () [0x00000] in <00000000000000000000000000000000>:0
at DnsClient.NameServer.ResolveNameServers (System.Boolean skipIPv6SiteLocal, System.Boolean fallbackToGooglePublicDns) [0x00000] in <00000000000000000000000000000000>:0
at DnsClient.LookupClient..ctor (DnsClient.LookupClientOptions options, DnsClient.DnsMessageHandler udpHandler, DnsClient.DnsMessageHandler tcpHandler) [0x00000] in <00000000000000000000000000000000>:0
at DnsClient.LookupClient..ctor (DnsClient.LookupClientOptions options) [0x00000] in <00000000000000000000000000000000>:0
at DnsClient.LookupClient..ctor () [0x00000] in <00000000000000000000000000000000>:0
at SIPSorcery.Net.RtpIceChannel.StartGathering () [0x00000] in <00000000000000000000000000000000>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x00000] in <00000000000000000000000000000000>:0
...
--- End of inner exception stack trace ---
at DnsClient.NameServer.ResolveNameServers (System.Boolean skipIPv6SiteLocal, System.Boolean fallbackToGooglePublicDns) [0x00000] in <00000000000000000000000000000000>:0
at DnsClient.LookupClient..ctor (DnsClient.LookupClientOptions options, DnsClient.DnsMessageHandler udpHandler, DnsClient.DnsMessageHandler tcpHandler) [0x00000] in <00000000000000000000000000000000>:0
at DnsClient.LookupClient..ctor (DnsClient.LookupClientOptions options) [0x00000] in <00000000000000000000000000000000>:0
at DnsClient.LookupClient..ctor () [0x00000] in <00000000000000000000000000000000>:0
at SIPSorcery.Net.RtpIceChannel.StartGathering () [0x00000] in <00000000000000000000000000000000>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x00000] in <00000000000000000000000000000000>:0
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment