Though it is not a good practice, when deploying SSIS package, I open Visual studio in remote server and execute test connection to establish successful running of SSIS package. Then SQL jobs executes well without any flaws.
When i deploy SSIS build to my non Visual studio in remote server, my sql jobs throwing errors when i try running my SSIS package.
SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80040E4D.
An OLE DB record is available.
Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80040E4D
Description: "Login failed for user 'myusername'.".
End Error Error: 2019-12-26 06:55:07.44
Code: 0xC020801C
Source: Data Flow Task OLE DB Source [119]
The same error never happens once i establish test connection via Visual studio. The error is so generic that browsing various solutions online not helping me much.
ProtectionLevel
are you using? – Nick.McDermaid