Failed to creat instance of main class

erikd wrote on 7/24/2008, 10:09 PM
Please forgive the newbie question as I am brand new to Vegas scripting. I have a script called show event length that I can't get to work. Here is what I'm doing.

Download and unzip to show .dll, .png and .txt files.
Copy and paste .dll and .png into Vegas Pro 8.0>Script Menu
Rescan for scripts inside Vegas

I can see the script now in my script menu

I select an event on the timeline
run the script and then get the following error


An error occurred during the execution of script c:\....
error (message missing)

then under details it says:

System.ApplicationException: Failed to create instance of main class: 'EntryPoint'.
at Sony.Vegas.ScriptHost.ScriptManager.Run(Assembly asm, String className, String methodName)
at Sony.Vegas.ScriptHost.PrecompiledScriptManager.Run()
at Sony.Vegas.ScriptHost.RunScript(Boolean fCompileOnly)


So, this is probably real simple but I don't know how to resolve this problem. What am I doing wrong?

Erik