SyntaxFix
Write A Post
Hire A Developer
Questions
Locally I run visual studio with admin rights and the error was gone.
If you get this error in task scheduler you have to check the option run with high privileges.