开发者

Trouble to open XLS file with oledb

开发者 https://www.devze.com 2023-04-11 09:01 出处:网络
When I try to open an xls file, I get this error : 开发者_运维百科 Rhe Microsoft Office Access database engine cannot open or write to the file \'\'.

When I try to open an xls file, I get this error : 开发者_运维百科

Rhe Microsoft Office 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 do several access but I close and dispose the connection all the time. It's on my DEV PC. On the server I get this error : Don't have read/write access on the file. This file is on \networkdisk\directory1\Files

I'll use "ACE.OLEDB" because Jet is not running on x64 server.

Any idea ?

Thanks,


In my case it was a file stream that had not been closed.


in our case, a client uploaded an excel file that is password protected

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号