My SSIS Access (MDB) import job works fine on my development machine and server when I execute the package from my DB Catalog. The 2012 SQL Server x64 is local on my Windows 7 Professional x64. I thought it was because it was on my dev machine that has VS 2012 and Office installed, so I installed a fresh copy of SQL Server 2012 x64 on a new 2008 R2 Server. However, the SQL Agent job fails when running the same job on the server as well! I have both 32 and 64 bit versions of DTExec on the Server and can see the 32 bit version started in the task manager.
The SSIS package works when I execute it manually from SSIS Catalog in SSMS both on the Dev and Server boxes. Neither will execute successfully when running as a SQL Agent job. Since it works in SSIS package executed manually, I don’t think it is an ACES issue. I also check the box to run the package with the 32-bit runtime under Advanced Configuration. I get 2 errors:
1. SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager “MyConnectionMgr” failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed.
2. SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: “Microsoft Access Database Engine” Hresult: 0x80004005 Description: “The Microsoft Access database engine cannot open or write to the file ”. It is already opened exclusively by another user, or you need permission to view and write its data.”.
I am running the job under my account (part of the local Administrator's group) have also added my name to the C:\Windows\ServiceProfiles folder (suggested when running job under a proxy account). I read another article about creating a proxy account and am wondering if that is what I need to do. I am using windows authentication to login to the SQL Server and my windows account belongs to the sysadmin server role.
Thanks for any ideas!