Microsoft KB Archive/251293

{|
 * width="100%"|

PRB: Component Name Not Complete After Importing KDF File into Target Designer

 * }

Q251293

-

The information in this article applies to:


 * Microsoft Windows NT Embedded 4.0

-

SYMPTOMS
After you import a Component Definition file (KDF) into Target Designer, the resulting component list may contain only a portion of the top-level component name. The components contained in the KDF appear in the configuration lists and work properly.

CAUSE
The component name contains one or more commas.

This problem occurs because the underlying database that holds the component definitions is accessed through SQL statements. The comma is a list separator in SQL, and therefore any text after the comma is a separate item. Because Target Designer only handles one component at a time, only the text before the comma is referenced as the component name.

RESOLUTION
Rename the component, excluding the comma.

STATUS
Microsoft has confirmed this to be a problem in the Microsoft products that are listed at the beginning of this article.

Steps to Reproduce Behavior

 * 1) Enter the following text into a file named Badtest.kdf:
 * 2) In Target Designer, on the Tools menu, click Component Management.
 * 3) In the Component Management dialog box, click Add.
 * 4) Select the Badtest.kdf file that was created in step 1. Click OK.

The resulting component list contains the component name "Bad Character" rather than "Bad Character, Test".