batch mode problem - can't find class

smee

New member
I have been very happy using VRD for a while now. Recently, I needed to start over with a new drive and reinstall my Windows XP Pro and all of my applications. Since doing this, I've been having a problem running in batch mode. It was working fine before.

I'm running version 2.2.1.445. It was installed as an administrator.

I can add projects to the batch manager without problems. If I'm logged in as an administrator, I can execute the batch jobs from the manager.

If I'm running as a non-administrator, I can still add projects but I get errors when running the batch job.

Here's the message I get for each file:

F:\video-edited>cscript //nologo "c:\Program Files\VideoReDoPlus\vp.vbs" "f:\video-unedited\myfile.BPrj" "F:\video-edited\myfile.mpg" /t1

C:\Program Files\VideoReDoPlus\vp.vbs(12,1) WScript.CreateObject: Could not locate automation class named "VideoReDo.Application"

Any ideas why it can't find this class? Do I need to (re)register something?

Thanks
 

deadbolt

New member
smee said:
I have been very happy using VRD for a while now. Recently, I needed to start over with a new drive and reinstall my Windows XP Pro and all of my applications. Since doing this, I've been having a problem running in batch mode. It was working fine before.

I'm running version 2.2.1.445. It was installed as an administrator.

I can add projects to the batch manager without problems. If I'm logged in as an administrator, I can execute the batch jobs from the manager.

If I'm running as a non-administrator, I can still add projects but I get errors when running the batch job.

Here's the message I get for each file:

F:\video-edited>cscript //nologo "c:\Program Files\VideoReDoPlus\vp.vbs" "f:\video-unedited\myfile.BPrj" "F:\video-edited\myfile.mpg" /t1

C:\Program Files\VideoReDoPlus\vp.vbs(12,1) WScript.CreateObject: Could not locate automation class named "VideoReDo.Application"

Any ideas why it can't find this class? Do I need to (re)register something?

Thanks
I get this error. My version is 2.2.1.445. This problem has always happened since install. I have uninstalled and reinstalled to no avail. However, I have noticed that the registry entry associated with the error is corrupt: HKEY_CLASSES_ROOT/AppID/CLSID/VideoReDo.Application

I cannot view it and permissions were not set correctly even as admin. I took ownership and set the persmissions correctly. I then went in and the key value blank...and if I'm not mistaken it should be set to the VideoReDo Application id code. For some reason I cannot edit the key even as admin. I cannot delete the key either...which is probably why uninstall/reinstall did not solve the problem.

Any ideas?

Thanks
 

deadbolt

New member
Anole said:
Hasn't this all been discussed (in another thread) and fixed in the latest Beta release?
See release notes for more info.
I don't see anything in the release notes that addresses this problem. I am using the beta and still get the same error.
 

phd

Super Moderator
Can you please open a cmd window and execute these commands:

reg query HKCR\VideoReDo.Application /s
reg query HKCR\VideoReDo.VideoReDoSilent /s
reg query HKCR\CLSID\{890F1ED4-6E97-4FD7-98C6-1C2D0C4D6D25} /s
reg query HKCR\CLSID\{3B394836-F59F-41C8-9E1C-590D0FB5BD70} /s
 

deadbolt

New member
phd said:
Can you please open a cmd window and execute these commands:

reg query HKCR\VideoReDo.Application /s
reg query HKCR\VideoReDo.VideoReDoSilent /s
reg query HKCR\CLSID\{890F1ED4-6E97-4FD7-98C6-1C2D0C4D6D25} /s
reg query HKCR\CLSID\{3B394836-F59F-41C8-9E1C-590D0FB5BD70} /s
I forwarded this info to support.
 

Ray2U99

New member
Like ‘smee’, I have recently re-installed Vista 64 onto my system due to rearranging disk space, etc. And like ‘smee’ I get the same problem as he/she does with the error msg;

C:\Program Files (x86)\VideoReDoTVSuite\AdScan.vbs(44, 2) WScript.CreateObject:
Could not locate automation class named "VideoReDo.Application".

I tried the register queries as suggested by Pat Dulak and got the following results

C:\Users\Ray>reg query HKCR\VideoReDo.Application /s
ERROR: The system was unable to find the specified registry key or value.
C:\Users\Ray>reg query HKCR\VideoReDo.VideoReDoSilent /s
ERROR: The system was unable to find the specified registry key or value.
C:\Users\Ray>reg query HKCR\CLSID\{890F1ED4-6E97-4FD7-98C6-1C2D0C4D6D25} /s
ERROR: The system was unable to find the specified registry key or value.
C:\Users\Ray>reg query HKCR\CLSID\{3B394836-F59F-41C8-9E1C-590D0FB5BD70} /s
ERROR: The system was unable to find the specified registry key or value.

The irony is that it worked well when I was using the evaluation copy but it hasn’t worked since I have actually purchased a copy. Please assist with this Batch Mode problem as it was one of the main reasons I bought your product.

I am operating with Version 3.1.5.564 – Aug 5 2008.
 

mpegg

New member
This thread solved my problem
If you simply start TVSuite as an administrator at least once, it should automatically make the registration entries. The installer runs as an administrator, but if just occured to me that if you don't start TVSuite from the installer it won't make the registration. We will need to check that out.
From the start menu I selected Run as Administrator and now batch works
 

vamp9190

New member
This thread solved my problem

From the start menu I selected Run as Administrator and now batch works
Wow, awesome! That fixed it for me too! Thanks for posting. I am running Vista x64 Ultimate BTW. Just right clicked the VideoReDo shortcut on my desktop and selected 'Run as Administrator' & didn't even have to restart, just went straight to Batch Builder...I am converting a bunch of .DVR-MS files in silent mode as we speak ;)
 

yaksplat

New member
Any resolution to this problem? I'm running into this same issue trying to run Batch Mode as well as a custom made batch command. The result is "vp.vbs(54,2) WScript.CreateObject: Could not locate automation class named "VideoReDo.Application"
 

phd

Super Moderator
Did you read the previous posts in this thread?

What version #? Help>About

What OS and SP?

Try doing an uninstall and then re-install. Also, you need to run VideoReDo at least once to register the automation commands.
 

yaksplat

New member
I am running Vista x64 sp1. I have both TVsuite and VideoRedo Plus installed

TV suite version : 3.1.5.572

VideoRedo Plus Version: 2.5.6.512

I am able to run a batch command with both of the products installed until a reboot is done.

Batch file contents for TVsuite:

cscript //nologo "C:\Program Files (x86)\Vi
deoReDoTVSuite\vp.vbs" "C:\Users\Jim\Desktop\New Folder (2)\Lonesome Ghosts.mpg"
"C:\Users\Jim\Desktop\New Folder (2)\Lonesome Ghosts.dvr-ms" /t6 /e "

Result:

C:\Program Files (x86)\VideoReDoTVSuite\vp.vbs(54, 2) WScript.CreateObject: Coul
d not create object named "VideoReDo.Application".

Batch file contents for VideoRedo Plus:

cscript //nologo "C:\Program Files (x86)\Vi
deoReDoPlus\vp.vbs" "C:\Users\Jim\Desktop\New Folder (2)\Lonesome Ghosts.mpg" "C
:\Users\Jim\Desktop\New Folder (2)\Lonesome Ghosts.dvr-ms" /t6 /e "

Result:

C:\Program Files (x86)\VideoReDoPlus\vp.vbs(48, 2) WScript.CreateObject: Could n
ot create object named "VideoReDo.Application".

Prior to the reboot, both of these processes worked fine.

The only way this ends up working is if I only use VideoRedo Plus and not TVsuite. But then again, TVsuite is fine until the reboot. It won't work again until I uninstall TVsuite and VideoRedo Plus and reinstall VideoRedo plus only.


Registry key lookups:

C:\>reg query HKCR\VideoReDo.Application /s

HKEY_CLASSES_ROOT\VideoReDo.Application
(Default) REG_SZ VideoReDo.Application

HKEY_CLASSES_ROOT\VideoReDo.Application\CLSID
(Default) REG_SZ {890F1ED4-6E97-4FD7-98C6-1C2D0C4D6D25}


C:\>reg query HKCR\VideoReDo.VideoReDoSilent /s

HKEY_CLASSES_ROOT\VideoReDo.VideoReDoSilent
(Default) REG_SZ VideoReDo.VideoReDoSilent

HKEY_CLASSES_ROOT\VideoReDo.VideoReDoSilent\CLSID
(Default) REG_SZ {3B394836-F59F-41C8-9E1C-590D0FB5BD70}


C:\>reg query HKCR\CLSID\{890F1ED4-6E97-4FD7-98C6-1C2D0C4D6D25} /s

HKEY_CLASSES_ROOT\CLSID\{890F1ED4-6E97-4FD7-98C6-1C2D0C4D6D25}
(Default) REG_SZ VideoReDo.Application

HKEY_CLASSES_ROOT\CLSID\{890F1ED4-6E97-4FD7-98C6-1C2D0C4D6D25}\InprocHandler32
(Default) REG_SZ ole32.dll

HKEY_CLASSES_ROOT\CLSID\{890F1ED4-6E97-4FD7-98C6-1C2D0C4D6D25}\LocalServer32
(Default) REG_SZ C:\PROGRA~2\VIDEOR~2\VIDEOR~1.EXE

HKEY_CLASSES_ROOT\CLSID\{890F1ED4-6E97-4FD7-98C6-1C2D0C4D6D25}\ProgID
(Default) REG_SZ VideoReDo.Application


C:\>reg query HKCR\CLSID\{3B394836-F59F-41C8-9E1C-590D0FB5BD70} /s

HKEY_CLASSES_ROOT\CLSID\{3B394836-F59F-41C8-9E1C-590D0FB5BD70}
(Default) REG_SZ VideoReDo.VideoReDoSilent

HKEY_CLASSES_ROOT\CLSID\{3B394836-F59F-41C8-9E1C-590D0FB5BD70}\InprocHandler32
(Default) REG_SZ ole32.dll

HKEY_CLASSES_ROOT\CLSID\{3B394836-F59F-41C8-9E1C-590D0FB5BD70}\LocalServer32
(Default) REG_SZ C:\PROGRA~2\VIDEOR~2\VIDEOR~1.EXE

HKEY_CLASSES_ROOT\CLSID\{3B394836-F59F-41C8-9E1C-590D0FB5BD70}\ProgID
(Default) REG_SZ VideoReDo.VideoReDoSilent
 

Danr

Administrator
Staff member
I tested TVSuite on Vista 64 here via batch and it works OK. So lets try the following:

First uninstall Plus and TVSuite, and then re-install TVSuite. If that doesn't solve the problem, then something is messed up in your registry. To fix:

Open a cmd window as an administrator and run the following cmd file:

Code:
reg delete HKCR\VideoReDo.Application
reg delete HKCR\VideoReDo.VideoReDoSilent
reg delete HKCR\CLSID\{890F1ED4-6E97-4FD7-98C6-1C2D0C4D6D25}
reg delete HKCR\CLSID\{3B394836-F59F-41C8-9E1C-590D0FB5BD70}
You'll be asked to confirm each deletion (assuming the registry entry is there).

Then restart TVSuite, as an administrator, this will automatically reestablish the registry entries. Batch should work after that.

I would remove Plus from the system. If you jump back and forth between TVSuite and Plus it might mess up the registry entries, or invoke the wrong program.
 

yaksplat

New member
That did work. Thanks.

Is there a way to execute the resulting .cmd file without requiring "Run as Administrator".
When attempting to execute the .cmd file from cmd.exe or programatically, i receive the same error as the above post.
 

Danr

Administrator
Staff member
Is there a way to execute the resulting .cmd file without requiring "Run as Administrator".
Maybe if you disable UAC. Once you run it, why do you need to run it again? The registry entries should be persistent.
 

yaksplat

New member
The registry entries are persistent. I would like to run the batch.cmd file from a command prompt. I've found that this can only be done by running batch.cmd as an administrator. Otherwise the result is "C:\Program Files (x86)\VideoReDoPlus\vp.vbs(48, 2) WScript.CreateObject: Could not create object named "VideoReDo.Application"."
 

Danr

Administrator
Staff member
Interesting. That doesn't happen here, works fine from the command line without having to be an admin. Running Vista 64 Ultimate with SP1.

Try deleting the registry entries again, and then running the TVSuite installer. I'm really at a loss as to why it can't find the entries. Obviously its some permission issue. Check the permissions and security on the registry keys. There should be "allow read" for Vista64\Users".
 
Last edited:

RCFitzhugh

New member
Initially ran the batch by itself and got the failure described above. Then ran VR as administrator which I had never done before, then ran the script and it executed. Tested in and it works! Many thanks! RC
 
Top Bottom