Areas > Languages > VBScript
Areas > ASP / ASP.Net > Database > Data access > OLEDB
Areas > ASP / ASP.Net > Database > Data access > DAO
Areas > ASP / ASP.Net > Database > Data access > ADO
Areas > ASP / ASP.Net > Database > MDB
If you use ODBC connection (DSN or DSN-less) to file on remote computer (UNC path), OLEDB raises next error :
Microsoft OLE DB Provider for ODBC Driverserror '80004005'
[Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine cannot open the file '(unknown)'. It is already opened exclusively by another user, or you need permission to view its data.
You can also logon to another NT user account with the rights before openning connection :
for 'Open MDB files on remote computer in ASP' articleCompact (compress) mdb database from ASP/VBS script.Two ways to compact MDB database (by DAO and JRO) from ASP/VBS script.
Copyright and use this code
The source code on this page and other samples at https://www.motobit.com/tips/ are a free code, you can use it as you want: copy it, modify it, use it in your products, ...
If you use this code, please:
1. Leave the author note in the source.
2. Link this sample from you page.
<A Href="https://www.motobit.com/tips/detpg_ropenmdb/" Title="Two ways to open DSN-less connection to MDB file on remote computer from ASP/VBS script." >Open MDB files on remote computer in ASP</A>
© 1996 - 2014 Antonin Foller, Motobit Software | About, Contacts | (Find us on Google+)