Forum Discussion

cosminsandu's avatar
cosminsandu
Occasional Contributor
13 years ago

Error: Could not convert variant of type (OleStr) into type (Dispatch)

Hi, 



I am using TC7.52 and when inspecting an array of object the following error appears:

Error: Could not convert variant of type (OleStr) into type (Dispatch)



E.g. 


function Test()

{

  var a = [ [0,0],

                [1,1],

                [2,2]]

  //inspect element

}


I've reinstalled the MS Script Debugger but the problem still persists.



How can I fix this problem.

Please note that I also use Visual Studio 2010...