Database error


L

Lars Skov

Hi

I suddenly got a problem with the database.
When i try to build an image I get an error 22 times.

R: Error 1004: Invalid resource: "<File(819):"%
17%","machine.inf">": (Error -2147023084 (0x80070714)
in "": The index specified does not reference an existing
item in the collection.)

The file name machine.inf is sometimes exchanged with
msports.inf or another .inf file.
 
Ad

Advertisements

L

Lucvdv

Hi

I suddenly got a problem with the database.
When i try to build an image I get an error 22 times.

R: Error 1004: Invalid resource: "<File(819):"%
17%","machine.inf">": (Error -2147023084 (0x80070714)
in "": The index specified does not reference an existing
item in the collection.)

The file name machine.inf is sometimes exchanged with
msports.inf or another .inf file.

The message (The index specified does not reference an existing item in the
collection) sounds like an application error in TD rather than a database
error.

Does the error also occur in other targets with approximately the same
components? If not, I suspect your .slx file is corrupt.
 
L

Lars Skov

-----Original Message-----


The message (The index specified does not reference an existing item in the
collection) sounds like an application error in TD rather than a database
error.

Does the error also occur in other targets with approximately the same
components? If not, I suspect your .slx file is corrupt.
.
I have tried to create a new .slx and i got the same
errors.
 
G

Guest

-----Original Message-----
rather
than a database
I have tried to create a new .slx and i got the same
errors.
.
I missed a command that must be executed after QFE Q327696
installation
Windows\System32\SCHMUPD.EXE /N
AspMaxRequestEntityAllowed /T Integer /S 1 /F 1 /I 7053 /P
7053 /M 1 /G 101 /D 1073741824 /C
IIsWebService,IIsWebServer,IIsWebDirectory,IIsWebVirtualDir
 
L

Lars Skov

-----Original Message-----

I missed a command that must be executed after QFE Q327696
installation
Windows\System32\SCHMUPD.EXE /N
AspMaxRequestEntityAllowed /T Integer /S 1 /F 1 /I 7053 /P
7053 /M 1 /G 101 /D 1073741824 /C
IIsWebService,IIsWebServer,IIsWebDirectory,IIsWebVirtualDi r

.
It was a coincidence the error still occur when i use a
component made from a PMQ file
 
L

Lucvdv

It was a coincidence the error still occur when i use a
component made from a PMQ file

Maybe there's something wrong in the PMQ.
I still don't really believe in a database error, because AFAIK Target
Designer only reads the database and never modifies it. The database
manager does make modifications when you import a new component you created
in component designer, so it's not impossible, just not very likely.

You can examine the contents of PMQ files in notepad, but they're XML and
XML isn't exactly human-readable.

There used to be a tool called XML Notepad on MS' website, but they either
removed it or merged it into an SDK or so.
The download link used to be (but it doesn't work anymore, at least right
now it doesn't): http://msdn.microsoft.com/xml/NOTEPAD/download.asp.

If you manage to find it, copy the 'devices.dtd' file from the embedded
tools directory into the directory containing the PMQ, you can then read
and edit it in XML Notepad.

You can also open a pmq in Visual Studio.Net. It won't recognize it as XML
as is: you'll have to rename it from .pmq to .xml first.
VS.Net won't display it in data view even then, but you do get syntax
coloring in raw XML view, and even that bit makes it more readable already.


The XML notepad is also a handy tool if you want to remove irrelevant
devices from a PMQ file. For example, I usually have a network adapter in
my test devices, but it's only used by a second standard windows setup to
copy new builds into the XPe partition. There is no network in the final
target, so I simply remove it from the PMQ.
 
Ad

Advertisements

G

Guest

-----Original Message-----


Maybe there's something wrong in the PMQ.
I still don't really believe in a database error, because AFAIK Target
Designer only reads the database and never modifies it. The database
manager does make modifications when you import a new component you created
in component designer, so it's not impossible, just not very likely.

You can examine the contents of PMQ files in notepad, but they're XML and
XML isn't exactly human-readable.

There used to be a tool called XML Notepad on MS' website, but they either
removed it or merged it into an SDK or so.
The download link used to be (but it doesn't work anymore, at least right
now it doesn't): http://msdn.microsoft.com/xml/NOTEPAD/download.asp.

If you manage to find it, copy the 'devices.dtd' file from the embedded
tools directory into the directory containing the PMQ, you can then read
and edit it in XML Notepad.

You can also open a pmq in Visual Studio.Net. It won't recognize it as XML
as is: you'll have to rename it from .pmq to .xml first.
VS.Net won't display it in data view even then, but you do get syntax
coloring in raw XML view, and even that bit makes it more readable already.


The XML notepad is also a handy tool if you want to remove irrelevant
devices from a PMQ file. For example, I usually have a network adapter in
my test devices, but it's only used by a second standard windows setup to
copy new builds into the XPe partition. There is no network in the final
target, so I simply remove it from the PMQ.
.
I tried reinstalling everything and made a new pmq file
from my device without any luck.
I installed OS on another HD, installed XPE tools and
everything works agian.
I think that it have something to do with file privileges
because some have fixed the problem by disabling there
anti virus.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top