Forum Moderators: open
*************
Exception Details: System.Data.OleDb.OleDbException: The Microsoft Jet database engine cannot open the file 'C:\Inetpub\wwwroot\BasildonMapping\data\basildon.mdb'. It is already opened exclusively by another user, or you need permission to view its data.
**************
any advice or help would be greatly appreciated.
The above mentioned article stated it applied to Access 97 and also to ASP 4.0 but following the instructions about the temp folder(s) solved the problem for me and I'm using Access 2003 with an Access 2000 database.
It might not be the same in .NET but then again it might be. Hope this helps.
Unfortunatly, none of that worked, but i have solved it, found some code on another forum, for your info it is below
Dim dspostcode As New DataSet()
Dim objAdapterpostcode As OleDb.OleDbDataAdapter
objCon = New OleDb.OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=database")
objAdapterpostcode = New OleDb.OleDbDataAdapter (" appropriate SQL", objCon)
objAdapterpostcode.Fill(dspostcode)
cmbPostcode.DataSource = dspostcode.Tables(0).DefaultView
cmbPostcode.DataTextField = "Postcode"
cmbPostcode.DataBind()
Thanks again.
I can’t remember the correct settings for a production server but if this is a development server the security won’t be to important so give ASPNET full access and everybody Read, Write, Execute.