Trouble with Local install

Jul 14, 2009 at 1:32 AM

Wondering if anyone has had these issues.  I've downloaded Video.show on my local machine, installed encoder, made all of the references to my local database, included my sliverlight account information and am continually have problems.

When running I get this error in a popup window -

Silverlight Error :

Error Type: InitializeError

Error Message: 2104 An Error has occurred.

Error Code: 2104

I tried to change reference of Sliverlight by downloading from the MS site and referencing that but after I do this I get this error 'Microsoft JScript runtime error: Object doesn't support this property or method' on the VideoGrid.js file - This is the piece of code that is highlighted. 

Silverlight.createHostedObjectEx( {
        source: "/Silverlight/VideoGrid/VideoGrid.xaml",
	    parentElement: document.getElementById(parentElementId),
        id: "VideoGrid_" + parentElementId,
        properties: {
            width: scene._layout.sceneWidth.toString(),
            height: scene._layout.sceneHeight.toString(),
            inplaceInstallPrompt:true,
            background:'#00FFFFFF',
            isWindowless:'true',
            framerate:'24',
            version:'1.0'
        },
	    events: {
		    onLoad: Silverlight.createDelegate(scene, scene.onLoad),
		    onError: Silverlight.createDelegate(scene, scene.onError)
	    },
        initParams:null,
        context:null
    } )
If anyone has any pointers on what to try next I would appreciated it.
TIA.

Jul 17, 2009 at 6:03 AM

What is the url you are trying to run it under?

If it is localhost, then do you have the /silverlight folder in the correct place?  ie http://localhost/silverlight/VideoGrid/VideoGrid.xaml. Because that is where the javascript is looking for it.

Larry