Receiving message 'Runtime Error 429 : ActiveX Component Can't Create Object' in windows7 system
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,
July 28th, 2010 3:56pm
Try to re-register cdo.dll
Start - Run - regsvr32 pathtofile/Cdo.dll
Free Windows Admin Tool Kit Click here and download it now
July 28th, 2010 5:17pm
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
July 28th, 2010 7:53pm
'cdo.dll' file is not found in the system
Free Windows Admin Tool Kit Click here and download it now
July 29th, 2010 11:08am
Below is the code used in the script:
Dim fs
Set fs = CreateObject("Scripting.FileSystemObject")
July 29th, 2010 11:09am
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
Free Windows Admin Tool Kit Click here and download it now
July 29th, 2010 7:25pm
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,
July 30th, 2010 2:43pm
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
Free Windows Admin Tool Kit Click here and download it now
July 30th, 2010 2:49pm
Hi,
Thank you.
It works.
Regards,
July 30th, 2010 3:12pm
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!
Free Windows Admin Tool Kit Click here and download it now
October 12th, 2011 6:54pm