Go an error trying to build image w/ EWF

G

Guest

Hello
I'm trying to build an image for CompactFlash using EWF disk overlay. I got the following message when I included Enhanced Write Filter and EWF NTLDR

Error 1004: Invalid resource: "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F}\UpperFilters": (Error 1012 (0x3F4) in "PlatformLib::GetPV3 (Microsoft VBScript runtime error)": Invalid property script or expression: "Split("EWF?" & Join(CurrValue,"?"),"?")" (13: Type mismatch)

This error occurs when it is trying to build Enhanced Write Filter component. My CF is 1GB and I partitioned 512MB as my boot partition. The rest is unpartition

I tried to search for "UpperFilters" but couldn't find anything on it. Does anybody have this problem

Regards
Trung
 
K

KM

Trung,

This may not be the source of your problem but just in case.. Check if any of the following components is already in the image when
you start building it:
"Class Installer - Storage volumes" (Visibility 200 so make sure your min.visibility level in TD <= 200)
"Volume Shadow Copy Service" (Visibility 1000)

--
KM,
BSquare Corporation
Hello,
I'm trying to build an image for CompactFlash using EWF disk overlay. I got the following message when I included Enhanced Write Filter and EWF NTLDR.

Error 1004: Invalid resource:
"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{71A27CDD-812A-11D0-BEC7-08002BE2092F}\UpperFilters": (Error 1012 (0x3F4)
in "PlatformLib::GetPV3 (Microsoft VBScript runtime error)": Invalid property script or expression: "Split("EWF?" &
Join(CurrValue,"?"),"?")" (13: Type mismatch))
This error occurs when it is trying to build Enhanced Write Filter component. My CF is 1GB and I partitioned 512MB as my boot
partition. The rest is unpartition.
 
G

Guest

Trung

I guess you are using Slobodons method of EWF from XPe files. I got the same error when building my image. May be you should address this problem to slobodon. A few days back i asked a few questions to him, but i forgot to ask this one. May be he can answer this !!

If you dont mind to try alternative, then look at these files at xpefiles.com ,, I have tested both of them and are working.

1. http://www.xpefiles.com/a_file.cfm?custid=Components&fileid=EWF for CF.zip&groupName=Othe
2. http://www.xpefiles.com/a_file.cfm?...Simple Method - EWF for CF.zip&groupName=Othe

Vaddina Prakash Ra
Winnov
 
S

Slobodan Brcin \(eMVP\)

Vaddina,

You should ask MS about this problem not me because he said: "following
message when I included Enhanced Write Filter " and "CompactFlash using EWF
disk overlay".

1. He never mentioned my component.
2. I always said that you MUST NOT USE component "Enhanced Write Filter"
with my component in parallel.
3. My component is for REG RAM overlay not for EWF DISK overlay.

So since he is not using my component I have no idea what can be the problem
with your image, maybe some QFE is missing maybe some QFE is present, I have
not a clue.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

prakash437 said:
Trung,

I guess you are using Slobodons method of EWF from XPe files. I got the
same error when building my image. May be you should address this problem to
slobodon. A few days back i asked a few questions to him, but i forgot to
ask this one. May be he can answer this !!!
If you dont mind to try alternative, then look at these files at
xpefiles.com ,, I have tested both of them and are working.
 
G

Guest

slobodon
my previous post is not displayed even after 30 min. So i write again.

Sorry for not reading that message completely. When i saw that the error matched to that of mine, i assumed the rest. What ever i never mean to say that your component doesnt work. I only thought of giving him a workaround for that error alone

And moreover, after our recent message session a few days back i did another test with EWF. EWF for CF, with all QFE and with no EWF, and with your comp. I again got this error. I guess it should be some problem with QFEs.
Anyway thans for your patience

prakash
 
S

Slobodan Brcin \(eMVP\)

Hi,

Your message got trough but you have posted it in wrong thread, and I gave
you some answer in thread above.

The most strange part of all this is that this is first time in this NG that
someone have this type problem. And that in two days same problem occur
twice it looks more than coincidence.

Maybe some new QFE makes problems, I have no idea about this.

Nevertheless could you explain if your regular EWF without my component can
be built.

Also create empty project, add only my or MS EWF component and resolve all
dependencies.
Try building this clean project just to make sure that is can be done, or
can't.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

prakash437 said:
slobodon,
my previous post is not displayed even after 30 min. So i write again.

Sorry for not reading that message completely. When i saw that the error
matched to that of mine, i assumed the rest. What ever i never mean to say
that your component doesnt work. I only thought of giving him a workaround
for that error alone.
And moreover, after our recent message session a few days back i did
another test with EWF. EWF for CF, with all QFE and with no EWF, and with
your comp. I again got this error. I guess it should be some problem with
QFEs.
 
G

Guest

Hello Slobodan and Prakash437

Just to clarify things. My development system do not have any QFEs. I built the image using XPe SP1 out of the box and I get this error. Also I use EWF component from XPe Studio and not from Slobodan's component. Right now I'm looking at the QFEs and I'm not sure which one to install. I've installed Q823025 but that did not work either. I'm wondering if I should install all QFEs or what? I see some posts here from people who are having problems with some of the QFEs. So which ones should I install and which ones I shouldn't install

Regards
Trung.
 
K

KM

Trung,

Before you install new QFEs, did you check whether your image got the components I mentioned in my post above?

--
KM,
BSquare Corporation
Hello Slobodan and Prakash437,

Just to clarify things. My development system do not have any QFEs. I built the image using XPe SP1 out of the box and I get
this error. Also I use EWF component from XPe Studio and not from Slobodan's component. Right now I'm looking at the QFEs and I'm
not sure which one to install. I've installed Q823025 but that did not work either. I'm wondering if I should install all QFEs or
what? I see some posts here from people who are having problems with some of the QFEs. So which ones should I install and which
ones I shouldn't install?
 
G

Guest

Hi KM
Actually I checked my configuration and I did see Class Installer - Storage Volume but I did not see Volume Shadow Copy Service. So I included the component now the error is gone and I was able to build the image. Thank you very much for your help

Now I run into two problems when I downloaded the image to my target system
1) For some reason, NTDETECT.COM does not exist in the root directory. So I located NTDETECT from a previous build that I did for a standard PC and manually copied over. My question is how come it did not copy the NTDETECT.COM? Do I have to manually copy this each time I build a new image
2) Now that I got the NTDETECT.COM in the root directory I get "load needed DLLs for kernel" error. I search MSDN for this error and it said that hal.dll and ntoskrnl.exe are mismatched. I'm wondering if I'm missing an QFE that has the right files. What do you think

I'm going to poke around some more to find out the problem

Regards
Trung

----- KM wrote: ----

Trung

Before you install new QFEs, did you check whether your image got the components I mentioned in my post above
 
K

KM

Trung,
Hi KM,
Actually I checked my configuration and I did see Class Installer -
Storage Volume but I did not see Volume Shadow Copy Service. So I included
the component now the error is gone and I was able to build the image.
Thank you very much for your help.

Just for the record I want to explain how I knew one the components was
missed from your Configuration.
You mentioned the error (always helps a lot!) and the error included the
key: {71A27CDD-812A-11D0-BEC7-08002BE2092F}\UpperFilters. I've just searched
through the XPe standard components for the key path and value and I found a
few ones. And only two of them had the "Split("EWF?" &
Join(CurrValue,"?"),"?")" value. This is used by TD and EWF.
Now I run into two problems when I downloaded the image to my target system.
1) For some reason, NTDETECT.COM does not exist in the root directory. So
I located NTDETECT from a previous build that I did for a standard PC and
manually copied over. My question is how come it did not copy the
NTDETECT.COM? Do I have to manually copy this each time I build a new
image?

Hope you have "NT Hardware Detect" component in your image. Although it is
strange it you don't (you should get errors when you run dependency check).
2) Now that I got the NTDETECT.COM in the root directory I get "load
needed DLLs for kernel" error.

What is this error? Could you mention the error exctly?
I search MSDN for this error and it said that hal.dll and ntoskrnl.exe are
mismatched. I'm wondering if I'm missing an QFE that has the right files.
What do you think?

Check you boot.ini ARC path to make sure it is the proper path.
Also, check your TD project settings (Target Device Settings).

Search the NG archive if you still have the last issue. This has been
discussed here many times.

KM
 

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