I use .net variables in a codeunit to be able to connect to SQLServer. The codeunit works well when I run it manually. However, I get an error when it runs on Job Queue. I get this error: "Microsoft Dynamics NAV Server attempted to issue a client callback to create a .NET object: System.Data.SqlClient.SqlConnection . Client callbacks are not supported for Microsoft Dynamics NAV Server." The properties 'RunOnClient' are set to 'No'. How to make these variables supported by Microsoft Dynamics NAV Server?
0
votes