I keep getting an error on my dbConnection.Open() statement saying:
The Microsoft Jet database engine cannot open the file 'k:\temp1'. It is already opened exclusively by another user, or you need permission to view its data.
If you are missing the Extended Properties attribute, you can encounter that error. Change your connection string like this:
All-Star
160089 Points
13198 Posts
ASPInsiders
Moderator
Re: file is already opened exclusively by another user, or you need permission to view its data.
Jun 27, 2017 10:11 PM|mbanavige|LINK
If you are missing the Extended Properties attribute, you can encounter that error. Change your connection string like this:
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=k:\temp1;Extended Properties=dBase IV"