How to Fix Error No More Items 259 (0x103) in 4 Easy Steps
The ERROR_NO_MORE_ITEMS is an error specific to developers, often presented as the 259 (0x103) message indicating that no additional data is available. While it’s rare for users to encounter this error, we will outline several strategies to help you resolve it.
How can I resolve the ERROR_NO_MORE_ITEMS issue?
1. Limit Flags Used in SetupDiGetClassDevs
- Access your code editor.
- Identify the SetupDiGetClassDevs function within your code.
- Modify it to include only the DIGCF_PRESENT flag as shown here:
deviceInfoSet = SetupDiGetClassDevs(&classGuid, NULL, NULL, DIGCF_PRESENT);
Incorporating extra flags may lead to the inclusion of non-existent devices, triggering this error message.
Some users have reported that using the DIGCF_PROFILE flag was also effective, so consider trying that alternative.
2. Alter the INF File
- Open the relevant INF file.
- Add the following lines:
[USB_Install.Wdf] KmdfService=WINUSB, WinUsb_Install[WinUsb_Install] KmdfLibraryVersion=1.11
- Save the changes made to the file.
- Make sure to generate a GUID using Visual Studio and insert it into the registry.
3. Install CfsDep2.inf Independently
- On the PVS Server, execute the following command:
rundll32.exe setupapi,InstallHinfSection DefaultInstall 129 c:\Program Files\Citrix\Provisioning Services\drivers\cfsdep2.inf
- After running the command, verify if the issue has been resolved.
This error might arise during upgrades from PVS 6.1 to PVS 7.6, but may also occur in other versions.
4. Verify Your Data
- Insufficient data being sent compared to requests may result in this error.
- This is particularly common with overlapped operations.
- In such cases, a completion indication may inadvertently trigger the error.
Leave a Reply