I have a VB.NET application which has a command line interface. The application works fine when I run it manually. If I execute it from a SQL Server Agent Job, the iimPlayCode returns -4 (browser failed to start). I'm guessing this is something to do with not being able to have a UI. Does anyone know how I can get this working, I need to keep it as running from a SQL Agent Job as that's the way our company work.
Thanks in advance