I access an hta file that runs a script I need for work. This script ran fine for everyone who accessed it, including me. However, my computer recently crashed and our tech department provided me with a new hard drive complete with a Ghosted image. Since I got the new drive, I have been unable to run the hta file. No one else is experiencing this problem.

I am running Win2k, but my office runs a mix of Win2K and NT4. I was also running Win2k prior to my hard drive crash.

I installed Microsoft's 5.6 script engine (scripten.exe) obtained from their web site and I believe I have the most current version of mshta.exe. It's my understanding that mshta.exe is the program that is to untilzed to run this script. I have tried to run the script via IE to no avail. This includes me checking and unchecking various script related boxes in the Advanced section of IE's options.

Here is the error I receive:

****************************************

Msg Box: Internet Explorer Script Error
Message: An error has occurred in the script on this page.
Line: 52
Char: 1
Error: Object doesn't support this property or method:
'xmlReports.setProperty'
Code: 0
URL: file://O:\Alva\ADP\organizer.hta

Do you want to continue running scripts on this page?

****************************************

If I click yes, I get a similar error, but the Line and Error changes.

Again, I am the only one receiving this error and I am having similar problems with another hta file that I'm trying to run.

Any ideas on what may be causing this?

Thanks in advance for any help offered.

Throxy

Re: hta script broken. by R

R
Fri Jun 18 13:43:52 CDT 2004

I don't have much experience with the XML stuff, but perhaps you need to
install the latest XML Parser?

http://www.microsoft.com/downloads/details.aspx?FamilyID=c0f86022-2d4c-4162-8fb8-66bfc12f32b0&displaylang=en
for XML 3.0

http://www.microsoft.com/downloads/details.aspx?FamilyID=3144b72b-b4f2-46da-b4b6-c5d7485f2b42&displaylang=en
for XML 4.0

You can run both concurrently (as 3.0 has some obsolete functions that 4.0
doesn't have)...

Give it a shot and let us know - - -

Rob


"Throxy" <Throxy@discussions.microsoft.com> wrote in message
news:CAEB2A08-1CDA-411A-9017-834F148B854C@microsoft.com...
> I access an hta file that runs a script I need for work. This script ran
fine for everyone who accessed it, including me. However, my computer
recently crashed and our tech department provided me with a new hard drive
complete with a Ghosted image. Since I got the new drive, I have been
unable to run the hta file. No one else is experiencing this problem.
>
> I am running Win2k, but my office runs a mix of Win2K and NT4. I was also
running Win2k prior to my hard drive crash.
>
> I installed Microsoft's 5.6 script engine (scripten.exe) obtained from
their web site and I believe I have the most current version of mshta.exe.
It's my understanding that mshta.exe is the program that is to untilzed to
run this script. I have tried to run the script via IE to no avail. This
includes me checking and unchecking various script related boxes in the
Advanced section of IE's options.
>
> Here is the error I receive:
>
> ****************************************
>
> Msg Box: Internet Explorer Script Error
> Message: An error has occurred in the script on this page.
> Line: 52
> Char: 1
> Error: Object doesn't support this property or method:
> 'xmlReports.setProperty'
> Code: 0
> URL: file://O:\Alva\ADP\organizer.hta
>
> Do you want to continue running scripts on this page?
>
> ****************************************
>
> If I click yes, I get a similar error, but the Line and Error changes.
>
> Again, I am the only one receiving this error and I am having similar
problems with another hta file that I'm trying to run.
>
> Any ideas on what may be causing this?
>
> Thanks in advance for any help offered.
>
> Throxy



Re: hta script broken. by Viatcheslav

Viatcheslav
Fri Jun 18 13:46:10 CDT 2004

Try to reinstall MS XML (version 4 or 3 - what you are using) - it seems
that xmlReports is XML document. If this does not help, write here line 52
of your script with code that creates xmlReports variable.

//------------------------------------
Regards,
Vassiliev V. V.
http://www-sharp.com -
Scripting/HTA/.Net Framework IDE

"Throxy" <Throxy@discussions.microsoft.com> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ
ÓÌÅÄÕÀÝÅÅ: news:CAEB2A08-1CDA-411A-9017-834F148B854C@microsoft.com...
> I access an hta file that runs a script I need for work. This script ran
fine for everyone who accessed it, including me. However, my computer
recently crashed and our tech department provided me with a new hard drive
complete with a Ghosted image. Since I got the new drive, I have been
unable to run the hta file. No one else is experiencing this problem.
>
> I am running Win2k, but my office runs a mix of Win2K and NT4. I was also
running Win2k prior to my hard drive crash.
>
> I installed Microsoft's 5.6 script engine (scripten.exe) obtained from
their web site and I believe I have the most current version of mshta.exe.
It's my understanding that mshta.exe is the program that is to untilzed to
run this script. I have tried to run the script via IE to no avail. This
includes me checking and unchecking various script related boxes in the
Advanced section of IE's options.
>
> Here is the error I receive:
>
> ****************************************
>
> Msg Box: Internet Explorer Script Error
> Message: An error has occurred in the script on this page.
> Line: 52
> Char: 1
> Error: Object doesn't support this property or method:
> 'xmlReports.setProperty'
> Code: 0
> URL: file://O:\Alva\ADP\organizer.hta
>
> Do you want to continue running scripts on this page?
>
> ****************************************
>
> If I click yes, I get a similar error, but the Line and Error changes.
>
> Again, I am the only one receiving this error and I am having similar
problems with another hta file that I'm trying to run.
>
> Any ideas on what may be causing this?
>
> Thanks in advance for any help offered.
>
> Throxy