| Previous | Next |
| SPAPI_E_BAD_SECTION_NAME_LINE | SPAPI_E_GENERAL_SYNTAX |
SPAPI_E_SECTION_NAME_TOO_LONG
SPAPI_E_SECTION_NAME_TOO_LONG means that SetupAPI read an INF section name longer than the supported limit. This is usually introduced by generated or composed INF files where several identifiers are concatenated into one section name.
What to check
- Shorten the actual section name rather than only a reference to it; both must remain identical.
- Check model, install, service, and interface sections that are derived from a common prefix.
- Regenerate the INF from its source template after fixing the naming rule so the package does not contain mixed references.
Microsoft: INF section summary
Looking for a different code? Search another status or error code.