kaiiii
9 years agoRegular Contributor
Too many fields defined
Call Project.Variables.Add_New_Payee_MAT_Inputs.Reset In the above line i am facing this error. What is the reason behind it and how can i solve it
Thanks for your reply.
We have moved to version 14.0. SO the Too many fields error is fixed. But still getting Access violation error. when we get this when we close the test complete and reopen it works fine. Is there any fix for this? just closing and reopening is working fine. we are not touching any of our VB script code. we use.xls verision to store our OR and it is keyword driven framework.
Quick question re. how often you access the xls file to read data. There is the limit to the amount of concurrent connections allowed and if you don't always close your connection at some point you may get an access violation. - someone else may have the correct number of connectins allowed... After you have read from the xls file, do you always close the connection ?
if(ExcelObj!= null)
{
ExcelObj.Workbooks.Close;
ExcelObj=null;
}Hi Rudolf,
Thanks for ther response.this excel is XLs which we use in DDT. So we dont open the excel.
Hi GAutomation
I would still keep looking at reasons why TC isn't releasing it's access. This would be the most logical reason to me why closing TC would cause the file to be readable again.
Remember that DDT also needs closing:
DDT.CloseDriver(driverObj.Name);
Hi Rudolf,
We do have DDT.closedrvier in our function.