Answered by:
Access database engine cannot open or write to the file

Question
-
Dear All,
I have created package in SSDT and I can execute package in SSDT - load data in excel to sql database - it works. However after deployment to server it does not work, I have following error:
"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 '\\KKK001\TEST\Template.xlsx'. It is already opened exclusively by another user, or you need permission to view and
write its data."In job there is a proxy user which have access to the excel file.
Apart from job I have tried to execute the package from Integrated Service Catalog, so from my user (I have also access to excel file) and can see the same error.
Can you help with the issue?
Answers
All replies
-
-
-
Hi John8522,
"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 '\\KKK001\TEST\Template.xlsx'. It is already opened exclusively by another user, or you need permission to view and
write its data."'Please give the user read and write permission to the excel file.
Best Regards,
Mona
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com -
Thank you Mona
The user has access to the whole folder and he excel file as well read/write/modify, so this is rather not the case :(
I have tried adding access to Everyone User to file and folder, unfortunately no change, error is the same.- Edited by John8522 Tuesday, October 15, 2019 10:33 AM
-
Hi Arthur,
I tried copying the file to server however I have following error:
Copy File:Error: An error occurred with the following error message: "Access to the path '\\KKK001\TEST\Template.xlsx'. is denied.".That's strange as I have all rights, to proxy users, I have added even read/write access to Everyone User ...
Thank you
John
- Edited by John8522 Tuesday, October 15, 2019 2:08 PM
-
-