Results 1 to 2 of 2

Thread: Access DB problems. [Resolved]

Threaded View

  1. #1

    Thread Starter
    Fanatic Member pax's Avatar
    Join Date
    Mar 2001
    Location
    Denmark
    Posts
    840

    Unhappy 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:
    1. 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
    Last edited by pax; Jun 30th, 2004 at 04:06 PM.
    I wish I could think of something witty to put in my sig...

    ...Currently using VS2013...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width