Closed NkululekoMakhubu closed 6 years ago
Looks like a dll loading issue. Try the same command on the machine where the agent is running
Yes, this runs perfect on our local server but when running the script on Visual Studio online that exception pops up.
I attached a PowerShell script that has an invoke-sqlcmd and I received the error above. It's not very detailed as you can see but what's concerning is that I can't tell if this is a Visual Studio Online issue or My Script.
--Script-- Invoke-SqlCmd -inputfile "" -serverinstance $SQLServer -database ""