Action:
When running an SSIS package under the SQL Job Agent, the following error is encountered.
Error Message:
Solution:
How to find the SQL Job Agent user account:
1. The SQL Agent uses whatever is assigned as the login on the Windows Service.
2. To access Windows services, click the start menu and type 'Services'.
1. Right click C:\Windows\Temp folder and select ‘Properties’.
2. Select the Security tab àClick the ‘Edit’ button.
3. Click the ‘Add’ button.
4. Enter the object name to select: NT Service\SQLSERVERAGENT à Click ‘Check Names’ button à Click ‘OK’ button.
5. Select the ‘SQLSERVERAGENT’ user à Click the ‘Read’ and ‘Write’ checkboxes à Click the ‘Apply’ button à Click the ‘OK’ button.
6. Verify the permissions were set and click the ‘OK’ button to close the ‘Properties’ window.