This project is read-only.


ArgumentNullException on Connect


Hi everyone...

I have an issue on a single computer and we don't understand why... he has Win7 64bit and the latest installed XDK. We can all connect to his Xbox but he can't connect to any Xbox:


I'm using this code in a button:
                    await Task.Run(() =>
                        xbc = new XboxConsole(Zt_XB1ToolsIP.Text);
                catch (Exception ex)
Thanks for your help to isolate the issue, it is really appreciated :)

Closed Jul 24 at 5:59 PM by amccalib


Urrioux wrote May 13, 2015 at 6:56 PM

To me It looks like it's not getting a valid value from whatever it's pulling the XDK version from, have you tried re-installing the XDK on that PC?

Perfo_Team_MTL wrote May 13, 2015 at 8:14 PM

Yes I did... I even removed the old March XDK and installed the new April one... same issue :(

amccalib wrote May 13, 2015 at 10:16 PM

Odd. If you haven't, try rebooting.

To determine the correct adapter to load, XboxConsole looks for the first xb* file in the XDK directory. It then pulls the version information off of that. If the user has added files to or in some way altered the XDK directory, I could see this error occurring. Try doing a full uninstall of the XDK, removing the XDK folder, and then re-installing.

If that still doesn't work, time to put on your debugging hat and set a breakpoint on CreateAdapterForInstalledXdk. :)

wrote May 13, 2015 at 10:53 PM

Perfo_Team_MTL wrote Jun 3, 2015 at 3:46 PM

Sorry to be late... user was on vacation!

But ya we tried to uninstall, rebooting, reinstall, rebooting... same issue. And it's only with that computer.

amccalib wrote Jun 3, 2015 at 5:55 PM

Have them try manually removing everything from the XDK installation folder ("C:\Program Files (x86)\Microsoft Durango XDK" by default) after uninstalling the XDK. Then re-install. My best guess is that there's an extra file in there that's causing problems.

Perfo_Team_MTL wrote Jun 3, 2015 at 7:30 PM

Yes that did the trick! It is now working as intended! Thanks alot for your help.. really appreciated! :)

wrote Jun 3, 2015 at 8:53 PM

wrote Jul 24 at 5:59 PM