NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

-2146828212; User-defined error code problem

I am having this error message while calling an activex method using Microsoft Scripting Runtime 1.0 server. I use the method of Create Text file.

Actually if i enter filepath directly there's no problem but if i try to load to a variable from property loader it gives this error.

The interesting thing is it works on a similar system on a PC with similar configuration.

I am using TS 2016 on 64 bit Windows 7 Pro licenced PC 

0 Kudos
Message 1 of 3
(3,104 Views)

Have you noticed if this error happens with other ActiveX methods, or only the one in particular that you are trying to use, this error doesn't seem to have a lot of documentation and it doesn't seem to be an internal TestStand error, so it is possible that it is a problem with the ActiveX method itself or the location.

0 Kudos
Message 2 of 3
(3,071 Views)

ok i solved it, it's a notation problem in the code but it should warn as syntax error as well

0 Kudos
Message 3 of 3
(3,062 Views)