This script is working on the same machine in Powershell ISE and but is not working while invoking the PS code in Studio
Error :
Invoke Power Shell: Exception calling “Open” with “0” argument(s): “The type initializer for ‘System.Data.SqlClient.TdsParser’ threw an exception.”
yes “is script” is enabled and passing the required input values as parameter in invoke powershell properties and also tried hardcoded the values inside script.
Hi @marian.platonov
did Compatibility issue related to windows projects solved as i am facing the same issue now when I tried the same scenario in windows projects it gives me the same error but when create windows legacy project script working fine.
Note:
can not use start process activity as the Power shell script has no static time to make the delay.