Windows Script Host error code: 8007007E

S

slpei

I'm running on XP with SP2. After un-installing a software, a line of visual
basic codes cannot execute. The error message is:

Windows Script Host

Script: c:\...\backup and rename.vbs
Line: 17
Char: 1
Error: The specified module could not be found.
Code: 8007007E
Source: (null)

Code for line 17 is:
Set fso = CreateObject("Scripting.FileSystemObject")

Any help in fixing this is appreciated.
 
N

nass

slpei said:
I'm running on XP with SP2. After un-installing a software, a line of visual
basic codes cannot execute. The error message is:

Windows Script Host

Script: c:\...\backup and rename.vbs
Line: 17
Char: 1
Error: The specified module could not be found.
Code: 8007007E
Source: (null)

Code for line 17 is:
Set fso = CreateObject("Scripting.FileSystemObject")

Any help in fixing this is appreciated.


Hi,
Run diskcleanup, it may be remenants left as the path indicate <Script:
c:\...\backup and rename.vbs>

Programming the FileSystemObject
http://msdn.microsoft.com/en-us/library/2z9ffy99(VS.85).aspx

Another is to define your Variable (fso).
Run the debugger and see which line the error will occur and start to adjust.
HTH,
nass
 
S

slpei

Thanks Nass.

Diskcleanup did not solve the problem.

It appears that a .dll file or registry entry may have been damaged or
removed after running un-installer. Is there a way to try re-installing or
repairing "windows Script Host" ?

I did not try the debugger as the script has been running for months. It
stopped working only after the un-installation done.

slpei
 
N

nass

What happen if you reinstalled that software and see if that will solve the
problem.
It looks like this program you uninstalled has overwritten a Dll file and
when uninstalled it damaged/corrupted this file which causing the WSH to
issue the error when parsing the VBs!
Read here first:
http://www.eggheadcafe.com/software/aspnet/31807508/error-8007007e-wscriptne.aspx

To install the Windows Script Host, please see the following Microsoft Web
site:
http://msdn2.microsoft.com/en-us/library/ms950396.aspx
Or:
Windows Script 5.7 for Windows XP and Windows 2000
http://www.microsoft.com/downloads/...25-d896-482e-a0d6-524e7e844d81&DisplayLang=en

Download details: Windows Script 5.6 for Windows XP and Windows 2000
http://www.microsoft.com/downloads/...43-7E4B-4622-86EB-95A22B832CAA&displaylang=en

Troubleshooting WSH
http://msdn2.microsoft.com/en-us/library/9bbdkx3k.aspx
HTH,
nass
 

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