Microsoft KB Archive/943840

= Error message when you try to build an .slx file that includes the .NET Framework 2.0 component in Windows XP Embedded: &quot;Error 1004 Invalid resource&quot; =

Article ID: 943840

Article Last Modified on 10/31/2007

-

APPLIES TO


 * Microsoft Windows XP Embedded

-



SYMPTOMS
In Windows XP Embedded, you may receive the following error message when you try to build an .slx file that includes the Microsoft .NET Framework 2.0 component:

R: Building: &quot;.NET Framework 2.0 [Version 5.1.2600.3333, R3333]&quot;...

R: Error 1004: Invalid resource: &quot;x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd.manifest&quot;: (Error 76 (0x4C) in &quot;&quot;: The index specified does not reference an existing item in the collection.)

R: Error 1004: Invalid resource: &quot;x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd.cat&quot;: (Error 76 (0x4C) in &quot;&quot;: The index specified does not reference an existing item in the collection.)



CAUSE
This problem occurs because the .NET Framework 2.0 component has the following incorrect files:
 * x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd.manifest
 * x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.42_x-ww_0de06acd.cat

Each of these files has two versions. The files in the following folder are incorrect:



The files in the following folder are correct:





RESOLUTION
To resolve this problem, follow these steps:
 * 1) Click Start, click All Programs, click Microsoft Windows Embedded Studio, and then click Target Designer.
 * 2) In the Configuration Editor, expand the main node of your configuration, expand Components, and then expand .NET Framework 2.0.
 * 3) Click Files.
 * 4) In the Target Name column, right-click the incorrect files that are mentioned in the &quot;Cause&quot; section, and then click Disable.
 * 5) To rebuild the image, click Build Target Image on the Configuration menu.

Keywords: kbexpertiseadvanced kbtshoot kbprb KB943840

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.