I am accessing SQL Server Agent Job from C# application using SMO. The Job runs fine in SQL Server Agent but errors out when run from C# randomly with the error
Cannot access properties or methods for the Microsoft.SqlServer.Mangement.Smo.Agent.JobStep
This error occurs during Job step refresh.