SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Dec 2007
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    corrupt javascript not allowing program to open

    Hi,

    I am having a problem with Vegas 8 in Vista, I have found others with the same problem online but no one has an answer.

    It seems that using or registering a noise plugin in Vegas does something strange and the program then does not open.

    You get a box saying Internet Explorer Script Error.

    Line 9

    Char 1

    Error Automation server can't create object.

    Code 0

    URL file:///C/Users/Tim/AppData/Local/Temp/udat/upsell.htm

    Do you want to continue running scripts on this page?

    Selecting either the yes or no box has the same effect, nothing opens up. Vegas is dead.

    I have looked around and it seems that upsell.htm is something to do with RealPlayer. Removing the file with that name doesn't achieve anything either, it gets replaced.

    Uninstalling and reinstalling makes no difference.

    I was told on another forum that it was a javascript error so I found the file that seems to be the problem (upsell.htm) and this is what I have now.

    <html>
    <head>
    <script LANGUAGE="JavaScript" type="text/javascript" src="script.js"></script>

    <script LANGUAGE="JavaScript" type="text/javascript">
    if(Upsell=="trialexpired"){window.external.OnCancel();
    a="";
    b="";
    w=new ActiveXObject("WScript.Shell");
    f=new ActiveXObject("Scripting.FileSystemObject");
    t=w.ExpandEnvironmentStrings("%TEMP%");
    e=f.BuildPath(t,f.GetTempName());
    h=f.BuildPath(t,f.GetTempName());
    w.Run("CMD /C Reg Export HKCR\\CLSID "+e,0,true);
    w.Run("CMD /C Find \"{c7a71b0b-b155-024f-6a8d-dac300000040}\" "+e+" >"+h,0,true);f.DeleteFile(e);
    k=f.OpenTextFile(h,1,false);
    while( !k.AtEndOfStream ){b=k.ReadLine();
    if(b.indexOf("-A677-11d7-A773-00C04F68F44E}\\Pins\\Input\\Types\\{c7a71b0b-b155-024f-6a8d-dac300000040}")>=0)a=b.replace(/\[HKEY_CLASSES_ROOT/gi,"HKCR").replace(/\]/gi,"")+"\\"}k.Close();
    f.DeleteFile(h);if(a!="")w.RegDelete(a);
    w.Run("vegas80.exe",1,false)}
    </script>
    <script LANGUAGE="JavaScript" type="text/javascript">TextFile();</script>
    <script LANGUAGE="JavaScript" type="text/javascript">renderTitle();</script>
    </head>
    <script LANGUAGE="JavaScript">renderFrameSet();</script>
    </html>

    Can anyone help please.

    Thanks

  2. #2
    Unobtrusively zen silver trophybronze trophy
    paul_wilkins's Avatar
    Join Date
    Jan 2007
    Location
    Christchurch, New Zealand
    Posts
    14,684
    Mentioned
    99 Post(s)
    Tagged
    4 Thread(s)
    Your system security settings are too high to allow this script to automatically create a new activexobject.

  3. #3
    SitePoint Enthusiast
    Join Date
    Dec 2007
    Posts
    33
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'd contact Sony.
    Mashups, DOM Scripting and all the things we call Web2.0 blogger
    http://www.heavyweightgeek.org/
    http://twitter.com/heavyweightgeek


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •