How to Fix Error No More Items 259 (0x103) in 4 Easy Steps

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

  1. Access your code editor.
  2. Identify the SetupDiGetClassDevs function within your code.
  3. Modify it to include only the DIGCF_PRESENT flag as shown here:

    deviceInfoSet = SetupDiGetClassDevs(&classGuid, NULL, NULL, DIGCF_PRESENT);

    device info set

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

  1. Open the relevant INF file.
  2. Add the following lines:

    [USB_Install.Wdf] KmdfService=WINUSB, WinUsb_Install[WinUsb_Install] KmdfLibraryVersion=1.11

    usb install

  3. Save the changes made to the file.
  4. Make sure to generate a GUID using Visual Studio and insert it into the registry.

3. Install CfsDep2.inf Independently

  1. On the PVS Server, execute the following command:

    rundll32.exe setupapi,InstallHinfSection DefaultInstall 129 c:\Program Files\Citrix\Provisioning Services\drivers\cfsdep2.inf

  2. 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

  1. Insufficient data being sent compared to requests may result in this error.
  2. This is particularly common with overlapped operations.
  3. In such cases, a completion indication may inadvertently trigger the error.

Leave a Reply

Your email address will not be published. Required fields are marked *