Library not registered- WSH error 
Author Message
 Library not registered- WSH error

Library not registered- WSH errorThis can't be the correct line for the error (131 vs 151?).  Char 5 of the line you posted is the middle of the variable name intDoIt...

Sound like it's on the CreateObject for WScript.Shell.  Try a re-install of WSH.

--
Michael Harris
MVP Scripting

Hi!
I have installed WSh 5.1 on Win NT 4.0 SP5. I am trying to run one of my script. It is not running the script, comes out saying

131 line
Char 5
Library not registered
code: 8002801D

my line 151 is,

intDoIt =  WSHShell.Popup(L_Welcome_MsgBox_Message_Text,
                              0,
                              L_Welcome_MsgBox_Title_Text,
                              vbOKCancel + vbInformation );

How to correct this problem,
Pls. discuss..
Thanks,



Sun, 15 Sep 2002 03:00:00 GMT  
 Library not registered- WSH error
Re: Library not registered- WSH errorI also get that error code on all NT
machines on a particular network.  The error occurs on the first line:

Set WshShell = WScript.CreateObject("WScript.Shell")

I thought at first I'd screwed up the installation by not being logged on as
administrator, but I've since tested this on other machines, re-installed
wsh (using ste51en.exe); installed logged as admin, restarted as admin, and
I still get the same errors.  I think it's related to the error when users
(not admin) log on which states that advpack cannot register wshom.ocx, but
I can't see how to install such that it can [register the activeX file].
All Win9x machines on the same network are fine, and NT machines on my own
network are also fine.

Any ideas anyone?

Mike,
Sorry about that,
Pls read as line no as 131 in place of 151.
Thanks,
anil

This can't be the correct line for the error (131 vs 151?).  Char 5 of
the line you posted is the middle of the variable name intDoIt...

Sound like it's on the CreateObject for WScript.Shell.  Try a re-install
of WSH.

--
Michael Harris
MVP Scripting



Hi!
I have installed WSh 5.1 on Win NT 4.0 SP5. I am trying to run one of my
script. It is not running the script, comes out saying

131 line
Char 5
Library not registered
code: 8002801D

my line 151 is,

intDoIt =  WSHShell.Popup(L_Welcome_MsgBox_Message_Text,
                              0,
                              L_Welcome_MsgBox_Title_Text,
                              vbOKCancel + vbInformation );

How to correct this problem,
Pls. discuss..
Thanks,



Mon, 16 Sep 2002 03:00:00 GMT  
 Library not registered- WSH error
I think there was a thread that explains the error
search for advpack.dll from deja.com

I have experienced this error when a sertain version of IE 4 was installed
on a system.  The only remedy I found was to uninstall IE 4 and reinstall a
newer version.  Extremely annoying at best.  You could reinstall WSH 1000
times and it wouldn't change anything.  I can't remember what version of IE
it was but it came with a hotload install of NT 4 SP4 on an HP Vectra.
Every HP Vectra that I got at the time had the same problem.  Not sure if
that helps, but I felt like complaining.  I love HP computers so I'm not
saying it was HP's fault, just seems to be whatever version of IE that they
installed.

--
David Hamel

NBT Inc.

Quote:
> Re: Library not registered- WSH errorI also get that error code on all NT
> machines on a particular network.  The error occurs on the first line:

> Set WshShell = WScript.CreateObject("WScript.Shell")

> I thought at first I'd screwed up the installation by not being logged on
as
> administrator, but I've since tested this on other machines, re-installed
> wsh (using ste51en.exe); installed logged as admin, restarted as admin,
and
> I still get the same errors.  I think it's related to the error when users
> (not admin) log on which states that advpack cannot register wshom.ocx,
but
> I can't see how to install such that it can [register the activeX file].
> All Win9x machines on the same network are fine, and NT machines on my own
> network are also fine.

> Any ideas anyone?

> Mike,
> Sorry about that,
> Pls read as line no as 131 in place of 151.
> Thanks,
> anil


> This can't be the correct line for the error (131 vs 151?).  Char 5 of
> the line you posted is the middle of the variable name intDoIt...

> Sound like it's on the CreateObject for WScript.Shell.  Try a re-install
> of WSH.

> --
> Michael Harris
> MVP Scripting




> Hi!
> I have installed WSh 5.1 on Win NT 4.0 SP5. I am trying to run one of my
> script. It is not running the script, comes out saying

> 131 line
> Char 5
> Library not registered
> code: 8002801D

> my line 151 is,

> intDoIt =  WSHShell.Popup(L_Welcome_MsgBox_Message_Text,
>                               0,
>                               L_Welcome_MsgBox_Title_Text,
>                               vbOKCancel + vbInformation );

> How to correct this problem,
> Pls. discuss..
> Thanks,



Tue, 17 Sep 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Regular Expression - "Library not registered Error"

2. Error: Library not registered

3. Library not registered error with Javascript in IE6

4. Library not registered for regexp expression

5. (0x8002801D) Library not registered

6. Library Not Registered opening Active Directory Tools and .vbs scripts

7. Library not registered

8. RegExp library not registered

9. RegExp Library not registered

10. Library not registered with RegExp

11. Library not registered

12. Library not registered (8002801D)

 

 
Powered by phpBB® Forum Software