Hi all.

Yesterday I migrated from DDK build 3790 (I think it's called "Windows
Server 2003 DDK") to the newest build 3790.1830 ("Windows Server 2003 with
SP1 DDK").

Prefast stopped working properly: I have this compiler warning if I run
"prefast build -cefw"

Compiling - driver.rc for i386
cl : warning D4002 : ignoring unknown option '/hotpatch'

which doesn't worry me too much.

The real problem is that Prefast issues some defects, but when I try to run
"prefast view", it spits out a script error:

Line: 422
Char: 2
Error: 'documentElement' is null or not an object
Code: 0
URL:
file://C:\WINDDK\3790~1.183\bin\x86\drvfast\scripts\DefectUI\DefectUI.hta

If I try "prefast list", it fails with this message

-----------------------------------------------------------------------------
Microsoft (R) PREfast Version 1.5.2402 for 80x86.
Copyright (C) Microsoft Corporation. All rights reserved.
-----------------------------------------------------------------------------
Contents of defect log: C:\WINDDK\3790~1.183\bin\x86\drvfast\defects.xml
-----------------------------------------------------------------------------
while creating PREfast.DefectDefs
while creating PREfast.DefectSet
-----------------------------------------------------------------------------
Error 0x800a138f occurred while creating PREfast.DefectSet component:
'documentElement' is null or not an object
-----------------------------------------------------------------------------


I tried the same on another machine with the same DDK, and it works, indeed.
So I think there is something screwed up on my machine.

Any idea where to look at?


Have a nice day
GV

Re: Problems with PREFast DDK 3790.1830 (Win2003SP1) by Gianluca

Gianluca
Wed Feb 01 11:46:29 CST 2006

Problem solved: I installed the DDK as an administrator, but then I usually
work as a power user, and I didn't have write permissions in some of the DDK
folders (funnily enough, compiling the samples from the DDK folders worked,
PREFast didn't...).

Have a nice day
GV


"Gianluca Varenni" <gianluca.varenni@cacetech.com> wrote in message
news:uw1JuR1JGHA.2992@tk2msftngp13.phx.gbl...
> Hi all.
>
> Yesterday I migrated from DDK build 3790 (I think it's called "Windows
> Server 2003 DDK") to the newest build 3790.1830 ("Windows Server 2003 with
> SP1 DDK").
>
> Prefast stopped working properly: I have this compiler warning if I run
> "prefast build -cefw"
>
> Compiling - driver.rc for i386
> cl : warning D4002 : ignoring unknown option '/hotpatch'
>
> which doesn't worry me too much.
>
> The real problem is that Prefast issues some defects, but when I try to
> run
> "prefast view", it spits out a script error:
>
> Line: 422
> Char: 2
> Error: 'documentElement' is null or not an object
> Code: 0
> URL:
> file://C:\WINDDK\3790~1.183\bin\x86\drvfast\scripts\DefectUI\DefectUI.hta
>
> If I try "prefast list", it fails with this message
>
> -----------------------------------------------------------------------------
> Microsoft (R) PREfast Version 1.5.2402 for 80x86.
> Copyright (C) Microsoft Corporation. All rights reserved.
> -----------------------------------------------------------------------------
> Contents of defect log: C:\WINDDK\3790~1.183\bin\x86\drvfast\defects.xml
> -----------------------------------------------------------------------------
> while creating PREfast.DefectDefs
> while creating PREfast.DefectSet
> -----------------------------------------------------------------------------
> Error 0x800a138f occurred while creating PREfast.DefectSet component:
> 'documentElement' is null or not an object
> -----------------------------------------------------------------------------
>
>
> I tried the same on another machine with the same DDK, and it works,
> indeed.
> So I think there is something screwed up on my machine.
>
> Any idea where to look at?
>
>
> Have a nice day
> GV
>
>
>
>
>



Re: Problems with PREFast DDK 3790.1830 (Win2003SP1) by Skywing

Skywing
Wed Feb 01 12:25:14 CST 2006

Semi-off-topic, but running as a power user instead of an administrator
doesn't really buy you anything. A power user can still take full control
over the system.

"Gianluca Varenni" <gianluca.varenni@cacetech.com> wrote in message
news:%23MyX$d1JGHA.420@tk2msftngp13.phx.gbl...
> Problem solved: I installed the DDK as an administrator, but then I
> usually work as a power user, and I didn't have write permissions in some
> of the DDK folders (funnily enough, compiling the samples from the DDK
> folders worked, PREFast didn't...).
>
> Have a nice day
> GV
>
>
> "Gianluca Varenni" <gianluca.varenni@cacetech.com> wrote in message
> news:uw1JuR1JGHA.2992@tk2msftngp13.phx.gbl...
>> Hi all.
>>
>> Yesterday I migrated from DDK build 3790 (I think it's called "Windows
>> Server 2003 DDK") to the newest build 3790.1830 ("Windows Server 2003
>> with
>> SP1 DDK").
>>
>> Prefast stopped working properly: I have this compiler warning if I run
>> "prefast build -cefw"
>>
>> Compiling - driver.rc for i386
>> cl : warning D4002 : ignoring unknown option '/hotpatch'
>>
>> which doesn't worry me too much.
>>
>> The real problem is that Prefast issues some defects, but when I try to
>> run
>> "prefast view", it spits out a script error:
>>
>> Line: 422
>> Char: 2
>> Error: 'documentElement' is null or not an object
>> Code: 0
>> URL:
>> file://C:\WINDDK\3790~1.183\bin\x86\drvfast\scripts\DefectUI\DefectUI.hta
>>
>> If I try "prefast list", it fails with this message
>>
>> -----------------------------------------------------------------------------
>> Microsoft (R) PREfast Version 1.5.2402 for 80x86.
>> Copyright (C) Microsoft Corporation. All rights reserved.
>> -----------------------------------------------------------------------------
>> Contents of defect log: C:\WINDDK\3790~1.183\bin\x86\drvfast\defects.xml
>> -----------------------------------------------------------------------------
>> while creating PREfast.DefectDefs
>> while creating PREfast.DefectSet
>> -----------------------------------------------------------------------------
>> Error 0x800a138f occurred while creating PREfast.DefectSet component:
>> 'documentElement' is null or not an object
>> -----------------------------------------------------------------------------
>>
>>
>> I tried the same on another machine with the same DDK, and it works,
>> indeed.
>> So I think there is something screwed up on my machine.
>>
>> Any idea where to look at?
>>
>>
>> Have a nice day
>> GV
>>
>>
>>
>>
>>
>
>



Re: Problems with PREFast DDK 3790.1830 (Win2003SP1) by Norman

Norman
Wed Feb 01 18:10:07 CST 2006

Running as a power user buys you the same nothing that other things buy you,
such as treating warnings as errors and avoiding the use of casts on
function pointers. It doesn't buy you anything because you still have the
power to do things wrong. It only means that to do some things wrong,
you'll have to undertake a bit of effort instead of automatically getting
them by mistake.

"Skywing" <skywing_NO_SPAM_@valhallalegends.com> wrote in message
news:uL32az1JGHA.500@TK2MSFTNGP15.phx.gbl...
> Semi-off-topic, but running as a power user instead of an administrator
> doesn't really buy you anything. A power user can still take full control
> over the system.
>
> "Gianluca Varenni" <gianluca.varenni@cacetech.com> wrote in message
> news:%23MyX$d1JGHA.420@tk2msftngp13.phx.gbl...
>> Problem solved: I installed the DDK as an administrator, but then I
>> usually work as a power user, and I didn't have write permissions in some
>> of the DDK folders (funnily enough, compiling the samples from the DDK
>> folders worked, PREFast didn't...).
>>
>> Have a nice day
>> GV
>>
>>
>> "Gianluca Varenni" <gianluca.varenni@cacetech.com> wrote in message
>> news:uw1JuR1JGHA.2992@tk2msftngp13.phx.gbl...
>>> Hi all.
>>>
>>> Yesterday I migrated from DDK build 3790 (I think it's called "Windows
>>> Server 2003 DDK") to the newest build 3790.1830 ("Windows Server 2003
>>> with
>>> SP1 DDK").
>>>
>>> Prefast stopped working properly: I have this compiler warning if I run
>>> "prefast build -cefw"
>>>
>>> Compiling - driver.rc for i386
>>> cl : warning D4002 : ignoring unknown option '/hotpatch'
>>>
>>> which doesn't worry me too much.
>>>
>>> The real problem is that Prefast issues some defects, but when I try to
>>> run
>>> "prefast view", it spits out a script error:
>>>
>>> Line: 422
>>> Char: 2
>>> Error: 'documentElement' is null or not an object
>>> Code: 0
>>> URL:
>>> file://C:\WINDDK\3790~1.183\bin\x86\drvfast\scripts\DefectUI\DefectUI.hta
>>>
>>> If I try "prefast list", it fails with this message
>>>
>>> -----------------------------------------------------------------------------
>>> Microsoft (R) PREfast Version 1.5.2402 for 80x86.
>>> Copyright (C) Microsoft Corporation. All rights reserved.
>>> -----------------------------------------------------------------------------
>>> Contents of defect log: C:\WINDDK\3790~1.183\bin\x86\drvfast\defects.xml
>>> -----------------------------------------------------------------------------
>>> while creating PREfast.DefectDefs
>>> while creating PREfast.DefectSet
>>> -----------------------------------------------------------------------------
>>> Error 0x800a138f occurred while creating PREfast.DefectSet component:
>>> 'documentElement' is null or not an object
>>> -----------------------------------------------------------------------------
>>>
>>>
>>> I tried the same on another machine with the same DDK, and it works,
>>> indeed.
>>> So I think there is something screwed up on my machine.
>>>
>>> Any idea where to look at?
>>>
>>>
>>> Have a nice day
>>> GV
>>>
>>>
>>>
>>>
>>>
>>
>>
>
>


Re: Problems with PREFast DDK 3790.1830 (Win2003SP1) by Skywing

Skywing
Wed Feb 01 20:05:38 CST 2006

I would just work as a limited user instead - preferably, several limited
user accounts. It's not that bad, I do it every day.

"Norman Diamond" <ndiamond@community.nospam> wrote in message
news:O4EoD04JGHA.208@tk2msftngp13.phx.gbl...
> Running as a power user buys you the same nothing that other things buy
> you, such as treating warnings as errors and avoiding the use of casts on
> function pointers. It doesn't buy you anything because you still have the
> power to do things wrong. It only means that to do some things wrong,
> you'll have to undertake a bit of effort instead of automatically getting
> them by mistake.
>
> "Skywing" <skywing_NO_SPAM_@valhallalegends.com> wrote in message
> news:uL32az1JGHA.500@TK2MSFTNGP15.phx.gbl...
>> Semi-off-topic, but running as a power user instead of an administrator
>> doesn't really buy you anything. A power user can still take full
>> control over the system.
>>
>> "Gianluca Varenni" <gianluca.varenni@cacetech.com> wrote in message
>> news:%23MyX$d1JGHA.420@tk2msftngp13.phx.gbl...
>>> Problem solved: I installed the DDK as an administrator, but then I
>>> usually work as a power user, and I didn't have write permissions in
>>> some of the DDK folders (funnily enough, compiling the samples from the
>>> DDK folders worked, PREFast didn't...).
>>>
>>> Have a nice day
>>> GV
>>>
>>>
>>> "Gianluca Varenni" <gianluca.varenni@cacetech.com> wrote in message
>>> news:uw1JuR1JGHA.2992@tk2msftngp13.phx.gbl...
>>>> Hi all.
>>>>
>>>> Yesterday I migrated from DDK build 3790 (I think it's called "Windows
>>>> Server 2003 DDK") to the newest build 3790.1830 ("Windows Server 2003
>>>> with
>>>> SP1 DDK").
>>>>
>>>> Prefast stopped working properly: I have this compiler warning if I run
>>>> "prefast build -cefw"
>>>>
>>>> Compiling - driver.rc for i386
>>>> cl : warning D4002 : ignoring unknown option '/hotpatch'
>>>>
>>>> which doesn't worry me too much.
>>>>
>>>> The real problem is that Prefast issues some defects, but when I try to
>>>> run
>>>> "prefast view", it spits out a script error:
>>>>
>>>> Line: 422
>>>> Char: 2
>>>> Error: 'documentElement' is null or not an object
>>>> Code: 0
>>>> URL:
>>>> file://C:\WINDDK\3790~1.183\bin\x86\drvfast\scripts\DefectUI\DefectUI.hta
>>>>
>>>> If I try "prefast list", it fails with this message
>>>>
>>>> -----------------------------------------------------------------------------
>>>> Microsoft (R) PREfast Version 1.5.2402 for 80x86.
>>>> Copyright (C) Microsoft Corporation. All rights reserved.
>>>> -----------------------------------------------------------------------------
>>>> Contents of defect log:
>>>> C:\WINDDK\3790~1.183\bin\x86\drvfast\defects.xml
>>>> -----------------------------------------------------------------------------
>>>> while creating PREfast.DefectDefs
>>>> while creating PREfast.DefectSet
>>>> -----------------------------------------------------------------------------
>>>> Error 0x800a138f occurred while creating PREfast.DefectSet component:
>>>> 'documentElement' is null or not an object
>>>> -----------------------------------------------------------------------------
>>>>
>>>>
>>>> I tried the same on another machine with the same DDK, and it works,
>>>> indeed.
>>>> So I think there is something screwed up on my machine.
>>>>
>>>> Any idea where to look at?
>>>>
>>>>
>>>> Have a nice day
>>>> GV
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>