Building Error 1004, HELP!

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

First of all I'd like to say that I'm newby with XPe and image building, I've
found a problem and I don't know how to solve it. At this point I'm quite
desperate and any help will be very welcome.

I'm developing a Windows XP Embedded image, using the XPe SP2 Evaluation
Version. I use the PMQ file provided by the mainboard manufacturer (VIA EPIA)
and then I add one of the design templates.

I have no problems with "Check Dependencies" since I get 0 erros and 0
warnings, but when I build the image I get 13 errors, all of them are Error
1004 and look like this one:

Error 1004: Invalid resource: "%catalog_name%": (Error 76 (0x4C) in "":
The index specified does not reference an existing item in the collection

The errors appear when the Target designer is building these parts of the
image:
- Common Control Libraries Policy XPSP2
- DXMRTP Policy XPSP2
- System Compatible Manifest Policy XPSP2
- Visual C++ Runtime Libraries (Side X Side)
- Visual C++ Runtime Libraries Policy XPSP2

What's the problem?
Do I have to install something else?
My developing machine's OS is Windows 2000 SP4, do I have to install Windows
XP?
I have installed Windows Script 5.6 but the problem is still there.

Thank you very much,
Yours,
Asier



PD: Here's the full list of errors:

Building: "Common Control Libraries Policy XPSP2 [Version 5.1.2600.2180,
R2890]"...
Error 1004: Invalid resource: "%catalog_name%": (Error 76 (0x4C) in "":
The index specified does not reference an existing item in the collection.)
Error 1004: Invalid resource: "%manifest_name%": (Error 76 (0x4C) in "":
The index specified does not reference an existing item in the collection.)


Building: "DXMRTP Policy XPSP2 [Version 5.1.2600.2180, R2890]"...
Error 1004: Invalid resource: "%manifest_name%": (Error 76 (0x4C) in "":
The index specified does not reference an existing item in the collection.)


Building: "System Compatible Manifest Policy XPSP2 [Version 5.1.2600.2180,
R2890]"...
Error 1004: Invalid resource: "%manifest_name%": (Error 76 (0x4C) in "":
The index specified does not reference an existing item in the collection.)
Error 1004: Invalid resource: "%catalog_name%": (Error 76 (0x4C) in "":
The index specified does not reference an existing item in the collection.)


Building: "Visual C++ Runtime Libraries (Side X Side) [Version
5.1.2600.2180, R2890]"...
Error 1004: Invalid resource:
"x86_Microsoft.Tools.VisualCPlusPlus.Runtime-Libraries_6595b64144ccf1df_6.0.0.0_x-ww_ff9986d7.Manifest":
(Error 76 (0x4C) in "": The index specified does not reference an existing
item in the collection.)
Error 1004: Invalid resource:
"x86_Microsoft.Tools.VisualCPlusPlus.Runtime-Libraries_6595b64144ccf1df_6.0.0.0_x-ww_ff9986d7.cat":
(Error 76 (0x4C) in "": The index specified does not reference an existing
item in the collection.)
Error 1004: Invalid resource: "msvcp60.dll": (Error 53 (0x35) in "": The
index specified does not reference an existing item in the collection.)
Error 1004: Invalid resource: "mfc42.dll": (Error 53 (0x35) in "": The
index specified does not reference an existing item in the collection.)
Error 1004: Invalid resource: "atl.dll": (Error 53 (0x35) in "": The
index specified does not reference an existing item in the collection.)
Error 1004: Invalid resource: "mfc42u.dll": (Error 53 (0x35) in "": The
index specified does not reference an existing item in the collection.)


Building: "Visual C++ Runtime Libraries Policy XPSP2 [Version 5.1.2600.2180,
R2890]"...
Error 1004: Invalid resource: "%catalog_name%": (Error 76 (0x4C) in "":
The index specified does not reference an existing item in the collection.)
Error 1004: Invalid resource: "%manifest_name%": (Error 76 (0x4C) in "":
The index specified does not reference an existing item in the collection.)
 
Hi Asier

Take care of following points:

- Have enough HD space left on your development machine
- Have enough RAM
- Disable the Antivirus System (Norton Antivirus force such errors)
- Make sure, that the Repositorie folder is properly shared.



--

Martin Grossen, eMVP

AVNET EMG Silica
Franchise Manager Microsoft Embedded Europe

Your competent partner for Microsoft Embedded licencing

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

AsierB said:
First of all I'd like to say that I'm newby with XPe and image building,
I've
found a problem and I don't know how to solve it. At this point I'm quite
desperate and any help will be very welcome.

I'm developing a Windows XP Embedded image, using the XPe SP2 Evaluation
Version. I use the PMQ file provided by the mainboard manufacturer (VIA
EPIA)
and then I add one of the design templates.

I have no problems with "Check Dependencies" since I get 0 erros and 0
warnings, but when I build the image I get 13 errors, all of them are
Error
1004 and look like this one:

Error 1004: Invalid resource: "%catalog_name%": (Error 76 (0x4C) in "":
The index specified does not reference an existing item in the collection

The errors appear when the Target designer is building these parts of the
image:
- Common Control Libraries Policy XPSP2
- DXMRTP Policy XPSP2
- System Compatible Manifest Policy XPSP2
- Visual C++ Runtime Libraries (Side X Side)
- Visual C++ Runtime Libraries Policy XPSP2

What's the problem?
Do I have to install something else?
My developing machine's OS is Windows 2000 SP4, do I have to install
Windows
XP?
I have installed Windows Script 5.6 but the problem is still there.

Thank you very much,
Yours,
Asier



PD: Here's the full list of errors:

Building: "Common Control Libraries Policy XPSP2 [Version 5.1.2600.2180,
R2890]"...
Error 1004: Invalid resource: "%catalog_name%": (Error 76 (0x4C) in "":
The index specified does not reference an existing item in the
collection.)
Error 1004: Invalid resource: "%manifest_name%": (Error 76 (0x4C) in
"":
The index specified does not reference an existing item in the
collection.)


Building: "DXMRTP Policy XPSP2 [Version 5.1.2600.2180, R2890]"...
Error 1004: Invalid resource: "%manifest_name%": (Error 76 (0x4C) in
"":
The index specified does not reference an existing item in the
collection.)


Building: "System Compatible Manifest Policy XPSP2 [Version 5.1.2600.2180,
R2890]"...
Error 1004: Invalid resource: "%manifest_name%": (Error 76 (0x4C) in
"":
The index specified does not reference an existing item in the
collection.)
Error 1004: Invalid resource: "%catalog_name%": (Error 76 (0x4C) in "":
The index specified does not reference an existing item in the
collection.)


Building: "Visual C++ Runtime Libraries (Side X Side) [Version
5.1.2600.2180, R2890]"...
Error 1004: Invalid resource:
"x86_Microsoft.Tools.VisualCPlusPlus.Runtime-Libraries_6595b64144ccf1df_6.0.0.0_x-ww_ff9986d7.Manifest":
(Error 76 (0x4C) in "": The index specified does not reference an existing
item in the collection.)
Error 1004: Invalid resource:
"x86_Microsoft.Tools.VisualCPlusPlus.Runtime-Libraries_6595b64144ccf1df_6.0.0.0_x-ww_ff9986d7.cat":
(Error 76 (0x4C) in "": The index specified does not reference an existing
item in the collection.)
Error 1004: Invalid resource: "msvcp60.dll": (Error 53 (0x35) in "":
The
index specified does not reference an existing item in the collection.)
Error 1004: Invalid resource: "mfc42.dll": (Error 53 (0x35) in "": The
index specified does not reference an existing item in the collection.)
Error 1004: Invalid resource: "atl.dll": (Error 53 (0x35) in "": The
index specified does not reference an existing item in the collection.)
Error 1004: Invalid resource: "mfc42u.dll": (Error 53 (0x35) in "": The
index specified does not reference an existing item in the collection.)


Building: "Visual C++ Runtime Libraries Policy XPSP2 [Version
5.1.2600.2180,
R2890]"...
Error 1004: Invalid resource: "%catalog_name%": (Error 76 (0x4C) in "":
The index specified does not reference an existing item in the
collection.)
Error 1004: Invalid resource: "%manifest_name%": (Error 76 (0x4C) in
"":
The index specified does not reference an existing item in the
collection.)
 
Dear Martin,

Thank you very much for the advice but it didn't work.

HD free space: 10 GB on the C drive and 40 GB on the D drive.
RAM: 512 MB
Antivirus: Disabled
Repositorie folder: Shared, on D drive.

The utilities (Target Designer) are on the C drive and the repositories on
the D drive, I suppose that is not a problem.

When I deploy the image it launches the First Boot Agent and everything
seems correct but when I execute any application (*.exe) it crashes, probably
because the Visual C++ part of the image hasn't been correctly build.

Have you got any other idea?

I'll try to reinstall the Evaluation Version, maybe in another computer.

Thanks again, yours,
Asier
 
Hi Martin,

I've found the solution to the problem:

The folder where I tell Target Designer to build the image must have a
"normal" name. I mean that it must be according to an I-don't-know-what
standard:

- Not too much folder depth
- Not strange letters

Just with building the image on the D:\Image folder I've erased the errors.

But I still have the problem when running applications (*.exe), I get an
error message: "It's not a valid Win32 application".

I'll have to find out which is the problem.

Thanks for your help, yours,
Asier
 
AsierB said:
Hi Martin,

I've found the solution to the problem:

The folder where I tell Target Designer to build the image must have a
"normal" name. I mean that it must be according to an I-don't-know-what
standard:

- Not too much folder depth
- Not strange letters

Just with building the image on the D:\Image folder I've erased the errors.

But I still have the problem when running applications (*.exe), I get an
error message: "It's not a valid Win32 application".

I'll have to find out which is the problem.

Thanks for your help, yours,
Asier
Dos windows on windows support, IIRC
 
Heidi said:
"Dos windows on windows support, IIRC"


Sorry, but I don't understand it.

¿What does IIRC mean?

¿Could you explain it a little bit?

Thanks,
Asier
 
AsierB said:
Heidi said:
"Dos windows on windows support, IIRC"


Sorry, but I don't understand it.

¿What does IIRC mean?

¿Could you explain it a little bit?
Sorry, it's 'If I Remember Correctly'. I don't have my tools with me at
the moment, I'm on holiday this week. :)
 
Hi everybody!

I've found the same problem, and I could fix it thanks to your advice.
The standar you were talking about, makes me feel very upset about this
program. It has no sense at all that the whole program depends on the
name of one folder.

Thanks!
 
Back
Top