The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
Check to see if the driver is superceded. What may be happening is that you install the old working driver, Windows might detect that there is an updated version in the driverstore and uses that one instead. This is to prevent people from installing old insecure/broken drivers.
If you're able to boot from the old drive, try getting the drivers with Double Driver, this is an old program that lets you grab the drivers your current Windows set up has, this is a very old program (Works fine even on Windows 11 last time i tried) so you won't find a official download site, but you can find it floating in the net.
"Science fiction is any idea that occurs in the head and doesn’t exist yet, but soon will, and will change everything for everybody, and nothing will ever be the same again." Ray Bradbury
You can get an el-cheapo USB WiFi adapter from Amazon for as little at $10 and a PCI 1Gb network card for not much more. That will at least get you on the internet. You said the PC was "having trouble". What was the trouble? Is the network adapter on the motherboard? Almost all motherboards these days have one.
Couple of quick questions:
- Was the original Windows 10 system, that started having trouble, a system that was upgraded from a previous version of Windows?
- If so, what version?
I had this trouble on a system that was upgraded from Windows 10 to Windows 11 with printer and audio interface drivers. The manufacturers indicated that the driver was compatible with Windows 7, 8, 10 and 11, but on my Windows 11 system, they were not fully functional, even though they installed without issue.
I had the same drivers running on another system running Windows 7, and they were running as expected.
I got the drivers to install and run successfully on my Windows 11 system by simply invoking the setup programs in Windows 7 compatibility mode. You do that by selecting the setup program and right-clicking to bring up the context menu and select properties. There should be a compatibility tab with a drop-down list where you can set the executable context to run under Windows 7 compatibility mode.
My someone else's code that I'm currenctly working on breaks with a NullReferenceException, except...
The exception seems to have to do with lazy loading in entity framework.
When I set a breakpoint and inspect some variables quickly enough they're null.
After that the code stopped executing a few seconds and everything runs fine.
When I don't set a breakpoint it breaks because some variable is null.
When the code breaks and I inspect every variable in the block, nothing is null.
Weird issue, I've never seen it before.
So naturally, I google for "nullreferenceexception "FixupSkipNavigations"" (FixupSkipNavigations is where the exception occurs and I have little else to go by).
Well, Google it for yourself... No results
I get a yeti who's ice fishing and catches a boot, an empty can, a can of sardines or a fish when you click it.
THIS IS NOT HELPING
This "fixer upper" appears not to be part of the "public API" for EF. My first impression is to comment it out. Sounds like someone's (GitHub) "Hail Mary" for a situation that may not even exist. Like "garbage collecting" when it isn't necessary, effective or understood.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
The code only uses "official" code.
No "someone's quick 'n' dirty fix from the internet" code.
Fixed it though, apparently I was using a single property for two separate navigation properties, which sort of works
Weird behavior and weird error though