GenoPro Home
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 

GenoPro Support Forum




Microsoft VBScript runtime error 800A0005

Click to view RSS...
Author
Posted Wednesday, July 11, 2007 - Post #18468
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Wednesday, November 12, 2025
Posts: 264, Visits: 1,760
The updated zip file works great .. thanks!
Posted Wednesday, July 11, 2007 - Post #18467
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
Where was my head?  Somehow I posted the original skin and forgot to include the modifications in the attachment EnglishNarrativeReport.zip.  If you download EnglishNarrativeReport.zip again, you should get the fix.
Posted Wednesday, July 11, 2007 - Post #18465
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Wednesday, November 12, 2025
Posts: 264, Visits: 1,760
After downloading the .zip file above, installing the files (util.vbs is in directory C:\Program Files\GenoPro\Skins\Code ), and rebooting my machine, I am still getting the same error at the same line of code.

How shall I proceed?  (wait for 2.0.0.8?  email you the file?)

Posted Tuesday, July 10, 2007 - Post #18455
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
The faulty line is f.Children.OrderUnknown there f is null.  Try searching for this expression.

Version 2.0.0.7 has a bug for customizing a report.  This bug is very embarassing because it could have been avoided.  I have fixed it on my machine, however I cannot release 2.0.0.8 because I am upgrading the phrase generator, and the code is unusable.

On the other hand, you are welcome to use the following attachment and customize it.  The file EnglishNarrativeReport.zip has an identical skin as what was bundled with version 2.0.0.7.

EnglishNarrativeReport.zip (196 views, 307.95 KB)

Edited: Wednesday, July 11, 2007 by GenoProSupport

Posted Tuesday, July 10, 2007 - Post #18454
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Wednesday, November 12, 2025
Posts: 264, Visits: 1,760
Thank you for the quick turnaround on this fix ... I'm having some difficulty implementing it though.

I found files Util.VBS in the following directories:

C:\Program Files\GenoPro Beta\Skins\English Narrative Report\Code (16 KB file)

C:\Program Files\GenoPro\Skins\Customized English Narrative Report\Code (52 KB file)

I opened both files with Notepad, and did a visual scan for the code you listed above and did not see it in either file. 

I then searched through both files with keywords listed in the code (eg, i.Birth, NoMoreChildren, etc) and still could not find any code that matched what you had written above.

Am I looking at the right files? in the right directories?

Am I opening Util.VBS will the right program (Notepad)?

I currently have version 2.0.0.7 ... I can wait if you prefer to roll this fix into 2.0.0.8+.

Thanks

Posted Tuesday, July 10, 2007 - Post #18452
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
Under a rare condition, there is no family.  The variable f is therefore a null object.

The solution is to add the following two lines of code in yellow in file Util.vbs, at line 640:

 fOrdered = True
 If (Not Util.IsNothing(f)) Then
  If f.Children.OrderUnknown Then
   fOrdered = False
  ElseIf f.Children.Order.ToGenoCollection.Count = 0 Then
   If  i.Birth.Date.ToStringNarrative = "" Then
    fOrdered = False
   Else
    For Each c in i.Siblings.All.ToGenoCollection
     If c.Birth.Date.ToStringNarrative = "" Then
      fOrdered = False
      Exit For
     End If
    Next
   End If
  End If
  fEndOfLine = (f.FamilyLine.ID = "" Or f.FamilyLine.ID = "NoMoreChildren")
 End If

Posted Tuesday, July 10, 2007 - Post #18451
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
I have received your file and able to reproduce the problem.  I will post a solution in one hour.
Posted Tuesday, July 10, 2007 - Post #18450
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Wednesday, November 12, 2025
Posts: 264, Visits: 1,760
File emailed ... I have no problem waiting a few days for a solution.  Please let me know if it was something I did that messed things up.

Thanks

Posted Monday, July 9, 2007 - Post #18436
Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master

Administrators
Moderators
Customers
Gamma
FamilyTrees.GenoPro.com
Translator
GenoPro version: 3.1.0.1

Last Login: Tuesday, October 28, 2025
Posts: 4,886, Visits: 22,799
You are welcome to send me a sample file causing this VBScript runtime error.  I will take a look at the problem.  Ron is currently away for a few days, so if the problem is too deep, you will have to wait a few days for the fix.
Posted Monday, July 9, 2007 - Post #18434
Famous Writer

Famous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous WriterFamous Writer

Customers
FamilyTrees.GenoPro.com
GenoPro version: 3.1.0.1

Last Login: Wednesday, November 12, 2025
Posts: 264, Visits: 1,760
It somehow had been changed to a Customized Report .. I'm not sure if I did that.  Changed it back to the standard, and reran the Report Generator.

Got the same error, except at line 640, not 582:

Error at line 640 (Code/Lang.vbs) generating 'Epirot-AlexiosI-ind00127.htm': Invalid procedure call or argument: '[string: "(null)"]'
Microsoft VBScript runtime error 800A0005



Edited: Monday, July 9, 2007 by GenoProSupport


Similar Topics

Click to view RSS...
Expand / Collapse

Reading This Topic

Expand / Collapse