Microsoft KB Archive/246654

{|
 * width="100%"|

PRB: Target Designer Crashes When Adding a Component Using Component Management

 * }

Q246654

-

The information in this article applies to:


 * Microsoft Windows NT Embedded 4.0

-

SYMPTOMS
When you add a custom component to Target Designer, you may see the following error message during the processing of an individual component:

The instruction at "0x76fed6ef" referenced memory at "0x07b506a6". Memory could not be "written".

Click OK to terminate the program.

Click CANCEL to debug the program.

When you click OK, Target Designer closes.

NOTE: The addresses listed in the error message may be different.

CAUSE
The component you are adding has a single straight quotation mark (') in its name.

RESOLUTION
To resolve this problem, rename the component to remove the single quotation mark character.

MORE INFORMATION
Target Designer utilizes a Jet database to track components added to Target Designer. The single quotation mark character is a string terminator for SQL statements that access this database. This character in the component name is not handled properly by Target Designer, and it is passed unmodified through the SQL statement, generating the error.

Steps to Reproduce Behavior

 * 1) In Component Designer, create a new component named Bad Name's. Save this component as Badtest1.kdf.
 * 2) In Target Designer, select Component Management from the Tools menu.
 * 3) On the Component Management dialog box, click Add.
 * 4) Browse to the location of Badtest1.kdf and click Open.

The error message listed in the "Symptoms" section of this article will appear.

Additional query words:

Keywords : kbDSupport kbGrpDSOPK

Issue type : kbprb

Technology : kbWinNTsearch kbWinNT400xsearch kbWinNTEmb400