Forum Discussion

puyopuy's avatar
puyopuy
Contributor
13 years ago

Unable to execute Reset on Windows 2008

Hi,



I have a very simple function to read the content of a text file.



function readFromFile(ParamName)

{

  var config = Project.Variables.LocalConfig;

  config.Reset();       

  for(; !config.IsEOF();)

  {      

    

    var Name  = config.Value("Name");

    if (aqString.ToUpper(ParamName) == aqString.ToUpper(Name))

    {

      Log.Message("'" + ParamName + "' = '" + config.Value("Value") + "'");

      return config.Value("Value");

    }

    config.Next();  

  }  

}



This function working fine on XP, Win 7 and Win 8.  It failed on Windows 2008 at config.Reset().  I turned off UAC, firewall and current user is in administrators grounp.  Found this message in Additional Information tab "The specified module could not be found".  We are using TestExecute 9.0.1.



Any help is much appricated.
No RepliesBe the first to reply