Forum Discussion

creatxbiz_1's avatar
creatxbiz_1
New Contributor
16 years ago

Getting "Failure creating file" error when calling DDT.ExcelDriver

Hi,



Need help on solving the issue below:



I keep getting this error "Failure creating file" when calling the DDT.ExcelDriver code.

Driver = DDT.ExcelDriver(Project.Variables.DataFileURL, Project.Variables.PromoProductDataSheetName, true);


Anybody encountered this before? 



i'm on Windows 2008

Excel 2007

Test Complete 6.50.387.7

.net framework 3.0



Thanks.


  • Azura,



    Can you post what values the parameters take in the call?




    Thank you

    Syed

  • Hi Azura,




    Most likely, your problem is related to permissions. Please see the "Testing Applications With TestComplete Under Windows Vista and Later Operating Systems" help topic for information about peculiarities of working with TestComplete on Windows 2008 based computers.