#LINQPad admin from LPRun6
I have a script that I can run inside Linqpad. It uses the #LINQPad admin statement and asks for elevated rights. All good. But when I try to run this script from LPRun, it fails with this message:
InvalidOperationException: Native error 1314.
at UserQuery.Main() in C:\Users\XXXXXX\AppData\Local\Temp\LINQPad6_jgxbozqy\laxtnl\LINQPadQuery:line 134
at LINQPad.ExecutionModel.Server.RunQuery(QueryRunner runner)
Is there any way to run a script with elevated rights using LPRun?