Access DB problems. [Resolved]
Hi.
I have a webapplication that have worked fine..until now that is.
It was originally created with VS 2002 (if that matters).
I have also tried to make a new app in VS 2003 and that has the same problem.
It retrieves some data from an Access database.
But now it says it can't open the db file.
The error is that "either the file is opened by another user or I don't have permission to see the file"
When using VS 2002, I never had to set any permissons anywhere to make this work, so I'm a bit confused.
The scenario is this:
I create a new app.
On the "Server" tab in the toolbox, I added a connection to my DB.
A dragged the table to my webform, and it automatically created a connection and a dataadaptor object.
Rightclicked the form and created a dataset.
I can preview the data just fine, so I guess the connectionstring is ok.
This is the line that complains when running the app
VB Code:
OleDbDataAdapter1.Fill(DataSet11)
Everything is done locally on "localhost"
Does anyone how a clue as to what I'm doing wrong?
I have looked a bit in IIS for security settings, but I have not been able to find anything usefull.
I'm a beginner at this, so bare with me :p