Receiving message 'Runtime Error 429 : ActiveX Component Can't Create Object' in windows7 system

Answered Receiving message 'Runtime Error 429 : ActiveX Component Can't Create Object' in windows7 system

  • Wednesday, July 28, 2010 12:56 PM
     
     

    Hi,

    I have a vbscript (test.vbs), which comparing the files in the different folders in the same system(windows7 OS).

    I tried to execute this script and receiving the error message as below:

               'Runtime Error 429 : ActiveX Component Can't Create Object'

    After received this message, I tried the below steps:

            1. execute 'wscript -regserver' command in command prompt, which went fine.

            2. execute 'regsvr32 scrrun.dll' command in command prompt, which went fine.

            3. Re-execute the vb script (test.vbs), receiving the same error message(Runtime error  429).

    Please advise on this.

    Regards,

All Replies

  • Wednesday, July 28, 2010 2:17 PM
     
     
    Try to re-register cdo.dll
    Start - Run - regsvr32 pathtofile/Cdo.dll
  • Wednesday, July 28, 2010 4:53 PM
    Answerer
     
     

    Hi,

    I have a vbscript (test.vbs), which comparing the files in the different folders in the same system(windows7 OS).

    I tried to execute this script and receiving the error message as below:

               'Runtime Error 429 : ActiveX Component Can't Create Object'

    After received this message, I tried the below steps:

            1. execute 'wscript -regserver' command in command prompt, which went fine.

            2. execute 'regsvr32 scrrun.dll' command in command prompt, which went fine.

            3. Re-execute the vb script (test.vbs), receiving the same error message(Runtime error  429).

    Please advise on this.

    Regards,


    Look up the code in the line # referenced in the error message. It's failing at "CreateObject".... you could post the line here.
    Ramesh Srinivasan | The Winhelponline Blog
    Microsoft MVP, Windows Desktop Experience
  • Thursday, July 29, 2010 8:08 AM
     
     
    'cdo.dll' file is not found in the system
  • Thursday, July 29, 2010 8:09 AM
     
     

    Below is the code used in the script:

    Dim fs
    Set fs = CreateObject("Scripting.FileSystemObject")

  • Thursday, July 29, 2010 4:25 PM
    Answerer
     
     

    Click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

    Type the following command and hit ENTER:

    %systemroot%\system32\regsvr32 %systemroot%\system32\scrrun.dll

    If you're using Windows 7 64-bit Edition, run this command as well:

    %systemroot%\syswow64\regsvr32 %systemroot%\syswow64\scrrun.dll


    Ramesh Srinivasan | The Winhelponline Blog
    Microsoft MVP, Windows Desktop Experience
  • Friday, July 30, 2010 11:43 AM
     
     

    Hi,

    I have already tried registering scrrun.dll and 'wscript -regserver'.

    I tried '%systemroot%\system32\regsvr32 %systemroot%\system32\scrrun.dll' command , but receiving the same error.

    Regards,

  • Friday, July 30, 2010 11:49 AM
    Answerer
     
     Answered

    Two points:

    The command need to be run from admin CMD prompt, as explained in my last post.

    There are two commands mentioned.


    Ramesh Srinivasan | The Winhelponline Blog
    Microsoft MVP, Windows Desktop Experience
    • Marked As Answer by Ravikumar.S Friday, July 30, 2010 12:11 PM
    •  
  • Friday, July 30, 2010 12:12 PM
     
     

    Hi,

    Thank you.

    It works.

    Regards,

  • Tuesday, October 11, 2011 11:11 PM
     
     

    Click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

    Type the following command and hit ENTER:

    %systemroot%\system32\regsvr32 %systemroot%\system32\scrrun.dll

    If you're using Windows 7 64-bit Edition, run this command as well:

    %systemroot%\syswow64\regsvr32 %systemroot%\syswow64\scrrun.dll


    Ramesh Srinivasan | The Winhelponline Blog
    Microsoft MVP, Windows Desktop Experience
    Hi tryed, but nothing change. The erro is that again!
  • Sunday, April 14, 2013 7:30 PM
     
     

    I entered  both commands by copy and paste and they were accepted and I still get active X runtime error 429.

    What do I do next to clear this annoying problem?

    ykanter@aol.com

    yaleCK