Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception when creating new game #11

Open
tewarid opened this issue Sep 15, 2020 · 0 comments
Open

Exception when creating new game #11

tewarid opened this issue Sep 15, 2020 · 0 comments

Comments

@tewarid
Copy link

tewarid commented Sep 15, 2020

I cloned this repo, and updated the Windows 10 target version to 2004 (build 19041) when prompted by Visual Studio. Running the app and trying to create a new game results in the following exception

System.Runtime.InteropServices.COMException
  HResult=0x8007271D
  Message=An attempt was made to access a socket in a way forbidden by its access permissions.

An attempt was made to access a socket in a way forbidden by its access permissions.

  Source=System.Private.CoreLib
  StackTrace:
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

  This exception was originally thrown at this call stack:
    System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(System.Threading.Tasks.Task)

Here's the call stack

 	System.Private.CoreLib.ni.dll!System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task task)	Unknown
 	System.Private.CoreLib.ni.dll!System.Runtime.CompilerServices.TaskAwaiter.GetResult()	Unknown
 	[Waiting on Async Operation, double-click or press enter to view Async Call Stacks]	
>	NetworkHelper.dll!NetworkHelper.UdpManager.StartAdvertisingAsync() Line 99	C#
 	QuizGame.exe!QuizGame.ViewModel.GameViewModel.StartAdvertisingGameAsync(string name) Line 549	C#
 	QuizGame.exe!QuizGame.ViewModel.GameViewModel.get_CreateGameCommand.AnonymousMethod__20_0() Line 190	C#
 	QuizGame.exe!QuizGame.Common.DelegateCommand..ctor.AnonymousMethod__0(object o) Line 160	C#
 	QuizGame.exe!QuizGame.Common.DelegateCommandBase..ctor.AnonymousMethod__0(object arg) Line 235	C#
 	QuizGame.exe!QuizGame.Common.DelegateCommandBase.Execute(object parameter) Line 294	C#
 	QuizGame.exe!QuizGame.Common.DelegateCommandBase.System.Windows.Input.ICommand.Execute(object parameter) Line 280	C#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant