CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Library not registered

Print topic Send  topic

Author Message
Wayne Irving
Posted: 10/07/2002, 11:48 PM

I recentlty upgraded the server to a W2k Domain Controller.
Since then I get this error

Error Type:
(0x8002801D)
Library not registered.
/bookstore/Template.asp, line 420


Any ideas on what has happened ?

This is the line
Set RegExpObject = New RegExp


line 420 is part of the GetRegExp function see below





Function GetRegExp(RegExpPattern, FileContent)
Dim MatchesValues(), MatchesBeginIndexes(), MatchesEndIndexes()
Dim RegExpObject, Matches, TotalMatches, I

Set RegExpObject = New RegExp

RegExpObject.Pattern = RegExpPattern
RegExpObject.IgnoreCase = True
RegExpObject.Global = True
Set Matches = RegExpObject.Execute(FileContent)
Set RegExpObject = Nothing
If Matches.Count > 0 Then
TotalMatches = Matches.Count
ReDim MatchesValues(TotalMatches)
ReDim MatchesBeginIndexes(TotalMatches)
ReDim MatchesEndIndexes(TotalMatches)
Else
TotalMatches = 0
End If
For I = 0 To TotalMatches - 1
MatchesValues(I) = Matches.Item(I).Value
MatchesBeginIndexes(I) = Matches.Item(I).FirstIndex
MatchesEndIndexes(I) = Matches.Item(I).FirstIndex + Len(Matches.Item(I).Value)
Next
GetRegExp = Array(MatchesValues, MatchesBeginIndexes, MatchesEndIndexes, TotalMatches)
End Function
Wayne Irving
Posted: 10/08/2002, 12:12 AM

BTW
I have version 5.6 of wscript. I downloaded the symantec noscript and turned it off then back on still no joy

Regards
Wayne
Nicole
Posted: 10/09/2002, 5:41 AM

Hello,
check the following points:
1. Looks like you should upgrade your vbscript engine to 5.5 or higher.
Please visit
http://msdn.microsoft.com/downloads/default.asp?url=/do...ompositedoc.xml

2.The "Library not registered" detail string indicates that there is a problem with the registry information for this object. Please refer to http://support.microsoft.com/default.aspx?scid=KB;EN-US;q274038 for more details.

Also try the reregister the C:\WINNT\System32\vbscript.dll with the following commands:
go to C:\WINNT\System32\
regsvr32 /u vbscript.dll
go to c:\WINNT\system32\dllcache\ and delete the vbscript.dll if it exists in this folder.
go to C:\WINNT\System32\
regsvr32 vbscript.dll

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.