I'm getting a "system cannot find the file specified"
error when installing drivers for a network card I recently added to my Windows 2000 system. The problem seems to occur when the device installation function DIF_INSTALLDEVICE executes. As I understand it, of course I could be wrong, the function DIF_INSTALLDEVICE has a pointer to the location of the driver file (dp83815.sys in this case which is copied successfully earlier in the process). For some reason it appears to not be seeing it. Since I know of no way to manually tell it where it is, I have hit a dead end. The only thing I can think of is to try updating my setupapi.dll file and trying again.
The driver file is copying to %SystemRoot%\system32\drivers just fine. The co-installers are being registered and the interfaces installed. The problem occurs, I think, when the DIF_INSTALLDEVICE installation request from the installer attempts to load the driver, it is returning the "error 2: The system cannot find the file specified."
I'm installing as the administrator and file permissions should not be an issue. I've tried various attempts at trying to get the installer to see the location of the driver which has been successfully copied to the drivers directory. I've changed the "ServiceBinary" entry in the [.Service] entry in the .inf file, but no luck. I've added the drivers directory to the system PATH, but still no luck.
The *.SYS driver file is there, but it just isn't being loaded.
Any help with this issue on how to get the drivers loaded would be apprecaited, I am attaching a copy of setupapi.log if it will help you help me.
Thanks,
Weirdo!
Setupapi.log:
[2002/01/09 18:11:27 992.2]
Munged cmdline: rundll32.exe newdev.dll,DevInstall PCI\VEN_100B&DEV_0020&SUBSYS_F3111385&REV_00\4&24ab0d93&0&40F0
EXE name: C:\WINNT\system32\rundll32.exe
Set selected driver.
Device install function: DIF_SELECTBESTCOMPATDRV.
Selecting best compatible driver caused error: Error 0xe0000228: There are no compatible drivers for this device.
Completed default installer, error: Error 0xe0000228: There are no compatible drivers for this device.
Set selected driver.
Searching for hardware ID(s): pci\ven_100b&dev_0020&subsys_f3111385&rev_00,pci\ven_100b&dev_0020&subsys_f3111385,pci\ven_100b&dev_0020&cc_020000,pci\ven_100b&dev_0020&cc_0200
Searching for compatible ID(s): pci\ven_100b&dev_0020&rev_00,pci\ven_100b&dev_0020,pci\ven_100b&cc_020000,pci\ven_100b&cc_0200,pci\ven_100b,pci\cc_020000,pci\cc_0200
Enumerating files A:\*.inf
Found PCI\VEN_100B&DEV_0020 in A:\NET83815.INF; Device: National Semiconductor Corp. DP83815 10/100 MacPhyter3v PCI Adapter; Driver: National Semiconductor Corp. DP83815 10/100 MacPhyter3v PCI Adapter; Provider: National Semiconductor Corp.; Mfg: National Semiconductor Corp.; Section: DP83815.ndi
Decorated section name: DP83815.ndi
Device install function: DIF_SELECTBESTCOMPATDRV.
Selected driver installs from section DP83815.ndi in a:\net83815.inf.
Changed class GUID of device to {4D36E972-E325-11CE-BFC1-08002BE10318}.
Set selected driver.
Selected best compatible driver.
Device install function: DIF_INSTALLDEVICEFILES.
Doing copy-only install of PCI\VEN_100B&DEV_0020&SUBSYS_F3111385&REV_00\4&24AB0D93&0&40F0.
Installing section DP83815.ndi from a:\net83815.inf.
Copying file a:\dp83815.sys to C:\WINNT\System32\DRIVERS\dp83815.sys.
An unsigned or incorrectly signed driver (a:\dp83815.sys) was installed for National Semiconductor Corp. DP83815 10/100 MacPhyter3v PCI Adapter. Error 0x800b0100: No signature was present in the subject.
Device install function: DIF_REGISTER_COINSTALLERS.
Co-Installers Registered.
Device install function: DIF_INSTALLINTERFACES.
Installing section DP83815.ndi.Interfaces from a:\net83815.inf.
Interfaces installed.
Device install function: DIF_INSTALLDEVICE.
Doing full install of PCI\VEN_100B&DEV_0020&SUBSYS_F3111385&REV_00\4&24AB0D93&0&40F0.
Device install finished with error Error 2: The system cannot find the file specified.
Completed class-installer, error: Error 2: The system cannot find the file specified.
Set selected driver.
Installing NULL driver for PCI\VEN_100B&DEV_0020&SUBSYS_F3111385&REV_00\4&24AB0D93&0&40F0.
Device install finished with error Error 2: The system cannot find the file specified.
error when installing drivers for a network card I recently added to my Windows 2000 system. The problem seems to occur when the device installation function DIF_INSTALLDEVICE executes. As I understand it, of course I could be wrong, the function DIF_INSTALLDEVICE has a pointer to the location of the driver file (dp83815.sys in this case which is copied successfully earlier in the process). For some reason it appears to not be seeing it. Since I know of no way to manually tell it where it is, I have hit a dead end. The only thing I can think of is to try updating my setupapi.dll file and trying again.
The driver file is copying to %SystemRoot%\system32\drivers just fine. The co-installers are being registered and the interfaces installed. The problem occurs, I think, when the DIF_INSTALLDEVICE installation request from the installer attempts to load the driver, it is returning the "error 2: The system cannot find the file specified."
I'm installing as the administrator and file permissions should not be an issue. I've tried various attempts at trying to get the installer to see the location of the driver which has been successfully copied to the drivers directory. I've changed the "ServiceBinary" entry in the [.Service] entry in the .inf file, but no luck. I've added the drivers directory to the system PATH, but still no luck.
The *.SYS driver file is there, but it just isn't being loaded.
Any help with this issue on how to get the drivers loaded would be apprecaited, I am attaching a copy of setupapi.log if it will help you help me.
Thanks,
Weirdo!
Setupapi.log:
[2002/01/09 18:11:27 992.2]
Munged cmdline: rundll32.exe newdev.dll,DevInstall PCI\VEN_100B&DEV_0020&SUBSYS_F3111385&REV_00\4&24ab0d93&0&40F0
EXE name: C:\WINNT\system32\rundll32.exe
Set selected driver.
Device install function: DIF_SELECTBESTCOMPATDRV.
Selecting best compatible driver caused error: Error 0xe0000228: There are no compatible drivers for this device.
Completed default installer, error: Error 0xe0000228: There are no compatible drivers for this device.
Set selected driver.
Searching for hardware ID(s): pci\ven_100b&dev_0020&subsys_f3111385&rev_00,pci\ven_100b&dev_0020&subsys_f3111385,pci\ven_100b&dev_0020&cc_020000,pci\ven_100b&dev_0020&cc_0200
Searching for compatible ID(s): pci\ven_100b&dev_0020&rev_00,pci\ven_100b&dev_0020,pci\ven_100b&cc_020000,pci\ven_100b&cc_0200,pci\ven_100b,pci\cc_020000,pci\cc_0200
Enumerating files A:\*.inf
Found PCI\VEN_100B&DEV_0020 in A:\NET83815.INF; Device: National Semiconductor Corp. DP83815 10/100 MacPhyter3v PCI Adapter; Driver: National Semiconductor Corp. DP83815 10/100 MacPhyter3v PCI Adapter; Provider: National Semiconductor Corp.; Mfg: National Semiconductor Corp.; Section: DP83815.ndi
Decorated section name: DP83815.ndi
Device install function: DIF_SELECTBESTCOMPATDRV.
Selected driver installs from section DP83815.ndi in a:\net83815.inf.
Changed class GUID of device to {4D36E972-E325-11CE-BFC1-08002BE10318}.
Set selected driver.
Selected best compatible driver.
Device install function: DIF_INSTALLDEVICEFILES.
Doing copy-only install of PCI\VEN_100B&DEV_0020&SUBSYS_F3111385&REV_00\4&24AB0D93&0&40F0.
Installing section DP83815.ndi from a:\net83815.inf.
Copying file a:\dp83815.sys to C:\WINNT\System32\DRIVERS\dp83815.sys.
An unsigned or incorrectly signed driver (a:\dp83815.sys) was installed for National Semiconductor Corp. DP83815 10/100 MacPhyter3v PCI Adapter. Error 0x800b0100: No signature was present in the subject.
Device install function: DIF_REGISTER_COINSTALLERS.
Co-Installers Registered.
Device install function: DIF_INSTALLINTERFACES.
Installing section DP83815.ndi.Interfaces from a:\net83815.inf.
Interfaces installed.
Device install function: DIF_INSTALLDEVICE.
Doing full install of PCI\VEN_100B&DEV_0020&SUBSYS_F3111385&REV_00\4&24AB0D93&0&40F0.
Device install finished with error Error 2: The system cannot find the file specified.
Completed class-installer, error: Error 2: The system cannot find the file specified.
Set selected driver.
Installing NULL driver for PCI\VEN_100B&DEV_0020&SUBSYS_F3111385&REV_00\4&24AB0D93&0&40F0.
Device install finished with error Error 2: The system cannot find the file specified.