Can't find script engine VBScript
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
GenoPro Support Forum
Home        Members    Who's On
Welcome Guest ( Login | Register )
        


12»»

Can't find script engine VBScript Expand / Collapse
Author
Message
Post #7010 Posted 6/27/2005 11:24:40 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 8/17/2005 10:45:44 PM
Posts: 11, Visits: 0
Everytime I try to make an HTML report of my family tree I get this error:

Error in Config.xml at line 21: Unable to initialize the script engine VBScript
Post #7011 Posted 8/18/2005 6:49:20 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 10:41:09 AM
GenoPro Version: 2.5.0.2
Posts: 3,638, Visits: 15,175
I realize many visitors are landing on this page searching for "VBScript Not Found".  You don't need to read the whole conversation or learn about the HTML generator to fix your VBScript Engine problem.  Follow the instructions below for the solution:

You get the error message "Can't find script engine VBScript" because the dynamic link library (DLL) VBScript.DLL is not properly installed on your compter.  Is is unlikely this file (VBScript.DLL) is missing, so all you have to do is type "regsvr32 VBScript" in a Command Prompt or in the Run Dialog (Start -> Run) like the screenshot below.

If successful, you will get the following message:

And you are done.


Original Conversation regarding the VBScript Engine to generate HTML reports with GenoPro
Can you tell me what version of Windows are you using? I am curious if others get the same error as you do.


Post #7012 Posted 8/18/2005 6:49:20 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 8/17/2005 10:45:44 PM
Posts: 11, Visits: 0
Windows XP Prof. SP 2

(I was thinking that it might be some sort of security thing added to windows to stop the executing of VBScripts, but that doesn't really make sense.)
Post #7013 Posted 8/18/2005 6:49:21 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 10:41:09 AM
GenoPro Version: 2.5.0.2
Posts: 3,638, Visits: 15,175
I am running the same (XP Pro SP2). Can you try replacing the word "VBScript" by "JScript"? You may not be able to run the report, but the script engine should initialize.

Were you getting this error before, or you managed to generate one report using a previous Beta?


Post #7014 Posted 8/18/2005 6:49:21 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 8/17/2005 10:45:44 PM
Posts: 11, Visits: 0
I was never able to use the report generator I just got the newest Beta a few days ago.

I just tried it (even though I tried it before)

When I subsitute JScript from VBScript I get
Error in Config.xml at line 21: Unable to initialize the script engine JScript


When I subsitute JavaScript from VBScript I get
Error in Config.xml at line 21: Unable to initialize the script engine JavaScript


The config.xml looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<!-- For documentation about this file, please visit http://www.genopro.com/NewReportGenerator/Configuration/ -->
<Skin Name="TreeIndex Report" Language="EN">
<Version>2005.06.20</Version>
<DateCreation>26-May-2005</DateCreation>
<DateLastModified>20-Jun-2005</DateLastModified>

<ReportGenerator ScriptLanguage="JScript">
<Parameters _PathPictures="pictures/"
Living="Show"
Comments="Show"
PrivateComment="§"
MarriageType="Show"
/>
<Report Template="init.htm" />
<Report Template="default.htm" />
<Report Template="tree.htm" />
<Report Template="tree.js" />
<Report Template="toc_individuals.htm" />
<Report Template="toc_families.htm" />
<Report Template="home.htm" />
<Report Template="heading.htm" />

<Report Template="individual.htm" OutputFile="{id}.htm" For="Individuals" LoopItemName="i" />

<ExtraFiles FamilyTree.gno="FamilyTree.gno" FamilyTree.xml="FamilyTree.xml" FamilyTree.ged="FamilyTree.ged" />

<StartPage>default.htm</StartPage>

</ReportGenerator>
</Skin>
Post #7015 Posted 8/18/2005 6:49:21 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 10:41:09 AM
GenoPro Version: 2.5.0.2
Posts: 3,638, Visits: 15,175
If a script engine is not found, the report generator defaults to "VBScript". I will add "JavaScript" to map to "JScript". I think users are more familiar with JavaScript than JScript.

Post #7016 Posted 8/18/2005 6:49:21 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 8/17/2005 10:45:44 PM
Posts: 11, Visits: 0
So what am I supposed to do? I should wait (9 mths) for the next beta to come out, or is there something I can do now? Was I supposed to change any of the coding from the original files in the English skin folder in order to make this thing work, or does it come ready to work?
Post #7017 Posted 8/18/2005 6:49:21 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 10:41:09 AM
GenoPro Version: 2.5.0.2
Posts: 3,638, Visits: 15,175
Waiting will not help. The next beta, including the final version 2.0 will have the same problem. I will create a private build for you over the weekend so we can diagnose the problem.

Post #7020 Posted 8/18/2005 6:49:21 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 10:41:09 AM
GenoPro Version: 2.5.0.2
Posts: 3,638, Visits: 15,175
I made a version for you at http://www.genopro.com/beta/InstallGenoProBeta13i.exe . Let me know what error do you get.

Post #7021 Posted 8/18/2005 6:49:21 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 8/17/2005 10:45:44 PM
Posts: 11, Visits: 0
exact report log:

Reading file 'C:\Documents and Settings\Rudy Klein\Desktop\Klein Family Genealogical Webpage\family.ged'...
Converting ANSEL to ANSI / MBCS
Importing 'Gedcom' document using Code Page 1252 known as 'Western European/US (Windows)'
Validating data...
[Import Summary]
1451 Individuals
407 Families
3 Occupations
Import complete with 0 errors!
Generating report to 'C:\Documents and Settings\Rudy Klein\Desktop\try1\'
Opening configuration file Config.xml for skin '\English - TreeIndex Report'...
Loading dictionary.xml...
Error in Config.xml at line 21: Unable to initialize the script engine VBScript (1:80040154)
Post #7022 Posted 8/18/2005 6:49:21 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 10:41:09 AM
GenoPro Version: 2.5.0.2
Posts: 3,638, Visits: 15,175
The error 0x80040154 is indeed REGDB_E_CLASSNOTREG, meaning the class "VBScript", or CLSID {B54F3741-5B07-11CF-A4B0-00AA004A55E8}, is not available on your computer.

Can you search the registry (Regedit.exe) for the string {B54F3741-5B07-11CF-A4B0-00AA004A55E8} ? You should see the following with the node "InprocServer32" having the value of "C:\WINDOWS\System32\VBSCRIPT.DLL" (or your Windows directory if different).

Are you the administrator on your computer? I am asking because the error 80040154 may be returned because of a "permission denied".

Also, have you installed special COM or COM+ components?

Post #7023 Posted 8/18/2005 6:49:21 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 8/17/2005 10:45:44 PM
Posts: 11, Visits: 0
i am the administrator. I'll check that stuff tomorrow morning (it's 11:30pm right now here)
Post #7024 Posted 8/18/2005 6:49:21 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 10:41:09 AM
GenoPro Version: 2.5.0.2
Posts: 3,638, Visits: 15,175
When you double-click on an XML file, do you get the "warning about Active Content"? If so, can you check the option to allow active content on My Computer.

http://www.genopro.com/ReportGenerator/ActiveContent/


Post #7025 Posted 8/18/2005 6:49:21 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 8/17/2005 10:45:44 PM
Posts: 11, Visits: 0
Also, have you installed special COM or COM+ components
I'm not sure what that it, so probably not?

When you double-click on an XML file, do you get the "warning about Active Content"?
Not anymore; but when I used Internet Explorer, I used to until I enabled it from Internet Options.

Can you search the registry (Regedit.exe) for the string {B54F3741-5B07-11CF-A4B0-00AA004A55E8} ?
I do seem to be missing this key in my registry. Perhaps that is the question. I just ran a test right now, I created a simple .vbs file to see it it would work. I wrote
msgbox "hi"

and then saved it as a .vbs and tried to run it, at first I got a allow/block dialog from Microsoft AntiSpyware and then when I clicked allow, I got the following error message:
Can't find script engine "VBScript" for script..


Now what do I do?
Post #7026 Posted 8/18/2005 6:49:21 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 10:41:09 AM
GenoPro Version: 2.5.0.2
Posts: 3,638, Visits: 15,175
This is good news. It appear the file VBScript.DLL has never been registered (or unegistered by some third paty application). Some "Virus Cleanup" software may unregister this DLL because viruses love to run VBScripts. It is good news because I prefer solving this problem instead of hunting down a permission denied / security issue.

Can you try locating this file in your c:\Windows\System32\ directory (or anywhere on your computer)? Every installation of Windows should have this file, unless it has been deleted.


Post #7027 Posted 8/18/2005 6:49:21 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 8/17/2005 10:45:44 PM
Posts: 11, Visits: 0
ok i found it...
Post #7028 Posted 8/18/2005 6:49:21 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 10:41:09 AM
GenoPro Version: 2.5.0.2
Posts: 3,638, Visits: 15,175
Great. This even better. Using a Command Prompt or the Run Command (Start -> Run), type the following:
regsvr32 c:\Windows\System32\VBScript.dll

Or replace "c:\Windows\System32\VBScript.dll" by the path where you found the file VBScript.dll.


Post #7029 Posted 8/18/2005 6:49:21 PM
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Forum Members
Last Login: 8/17/2005 10:45:44 PM
Posts: 11, Visits: 0
IT WORKED!!!! I'M ABLE TO GENERATE REPORTS NOW!!

Thank you so much for you help and quick responses.
Post #7030 Posted 8/18/2005 6:49:21 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 10:41:09 AM
GenoPro Version: 2.5.0.2
Posts: 3,638, Visits: 15,175
Great.
Reading file 'C:\Documents and Settings\Rudy Klein\Desktop\Klein Family Genealogical Webpage\family.ged'...
Converting ANSEL to ANSI / MBCS
Importing 'Gedcom' document using Code Page 1252 known as 'Western European/US (Windows)'
Validating data...

I would recommend to import the the .ged file into a .gno file first, so you will be able to add a title and a description to your report. If you generate a report on a GenoPro document, the report generator will display an extra window to add a title to your family tree.


Post #7031 Posted 8/18/2005 6:49:21 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 10:41:09 AM
GenoPro Version: 2.5.0.2
Posts: 3,638, Visits: 15,175
Hopefully you will be last one experiencing this problem with GenoPro. After thinking about the issue, I wrote some code to locate the "VBScript.dll" and automatically register the library if present. I did the same for the JavaScript/JScript DLL.

« Prev Topic | Next Topic »

12»»

Reading This Topic Expand / Collapse
Active Users: 1 (1 guest, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: GenoProSupport, JcMorin, Ron

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 11:27 AM

Copyright 1998-2009 GenoPro. All rights reserved. GenoPro and the GenoPro logo are trademarks.