I have a .Net console .exe app that runs fine on a SQL Server server. It successfully connects to the CommitCRM API and does what it's supposed to do.
However, if I try the same thing from within a SQL Agent Job, it fails:
Unable to load DLL 'CmtDbEng.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'CmtDbQry.dll': The specified module could not be found.
To make certain this is not a permissions issue, I had the SQL Agent run with the same user account that tested successfully. Obviously the .DLL *does* exist since it works fine outside of the SQL Agent.
Anyone ever done anything like this? I'm stumped.
-- Craig
However, if I try the same thing from within a SQL Agent Job, it fails:
Unable to load DLL 'CmtDbEng.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'CmtDbQry.dll': The specified module could not be found.
To make certain this is not a permissions issue, I had the SQL Agent run with the same user account that tested successfully. Obviously the .DLL *does* exist since it works fine outside of the SQL Agent.
Anyone ever done anything like this? I'm stumped.
-- Craig
Comment