IBM Support

LO61205: VISUAL BASIC CODE CREATEOBJECT("LOTUS.NOTESSESSION") FAILS WITH CAN'T CREATE OBJECT ON WINDOWS 64BIT.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as user error.

Error description

  • On 64bit Windows create a sample VBS file called test.vbs (where
    notes is installed)
    
    In this file add the following code:
    
       dim s
       Set s = CreateObject("Lotus.NotesSession")
    
    Save the file and run the following command.
    
    WSCRIPT test.vbs
    
    The following error will appear.
    
    Error: ActiveX component can't create object:
    'Lotus.NotesSession'
    
    Code: 800A01AD
    
    Source: Microsoft VBScript runtime error.
    
    This is due to 64bit windows defaulting to the 32bit WSCRIPT
    program.
    

Local fix

  • Explicity reference the 64bit version of WSCRIPT.
    
    For example:
    
    C:\WINDOWS\SYSWOW64\WSCRIPT test.vbs
    

Problem summary

Problem conclusion

Temporary fix

Comments

  • This APAR is associated with SPR# SODY8HCHZX.
    The problem was caused by a user error or user
     misunderstanding.
    

APAR Information

  • APAR number

    LO61205

  • Reported component name

    NOTES CLIENT

  • Reported component ID

    5724E6255

  • Reported release

    850

  • Status

    CLOSED USE

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-05-30

  • Closed date

    2011-06-14

  • Last modified date

    2011-06-14

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

Applicable component levels

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSKTWP","label":"Lotus Notes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
14 June 2011