开发者

Error message : Access already exclusively by another user [duplicate]

开发者 https://www.devze.com 2023-04-11 10:31 出处:网络
This question already has answers here: Closed 11 years ago. Possible Duplicate: Trouble to open XLS file with oledb
This question already has answers here: Closed 11 years ago.

Possible Duplicate:

Trouble to open XLS file with oledb

I have a compiled 开发者_高级运维Microsoft Access database (*.mde) on a newtwork drive. When I try to open it via myapplication (ASP.NET) on IIS 7.5 (Windows Server 2008) I get this error :

The Microsoft Access database engine cannot open or write to the file. It's already opended exclusively by another user, or you need permission to view and write its data.

This file is not use by anyone except by IIS.

Any idea ?

Thanks,


It is not sufficient to have write permission on the file, you must also have write permissions on the folder in which the file resides because Access creates a lock file (*ldb) which has to be written to for each successive user, otherwise the first user to open the file will lock it. In this case, permission is required by IUSR, AFAIK.

0

精彩评论

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