Can't write to db, Connectionstring problem?

Discussion in 'ASP .Net' started by Lars Netzel, May 14, 2004.

  1. Lars Netzel

    Lars Netzel Guest

    I'm using this string

    Provider='Microsoft.Jet.OLEDB.4.0';Data
    Source='C:\Inetpub\wwwroot\organon_foie\db\foie_webdb.mdb';
    I can't seem to be able to write to the database, only read ! Can the
    connectionstring I have be modified in anyway to let me write to the db or
    does that not have anything to do with it?

    I get an error saying "Must use a query that can be updated" although I have
    the right permissions set on the folders and the db file itself!

    please help

    thanx/Lars
    Lars Netzel, May 14, 2004
    #1
    1. Advertising

  2. Lars Netzel

    Lars Netzel Guest

    Actually I fixed it... it was a Permission problem, but It kept coming back
    by itself.. and I had to Unselect something about Simplified Filesharing in
    XP... ("Förenklad fildelning" in Swedish)

    /Lars


    "Lars Netzel" <[stop_spam]@host.topdomain> skrev i meddelandet
    news:...
    > I'm using this string
    >
    > Provider='Microsoft.Jet.OLEDB.4.0';Data
    > Source='C:\Inetpub\wwwroot\organon_foie\db\foie_webdb.mdb';
    > I can't seem to be able to write to the database, only read ! Can the
    > connectionstring I have be modified in anyway to let me write to the db or
    > does that not have anything to do with it?
    >
    > I get an error saying "Must use a query that can be updated" although I

    have
    > the right permissions set on the folders and the db file itself!
    >
    > please help
    >
    > thanx/Lars
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    Lars Netzel, May 14, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Carl Prothman [MVP]

    Re: [ASP.NET] MS SQL Connectionstring

    Carl Prothman [MVP], Jul 11, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    6,488
    Carl Prothman [MVP]
    Jul 11, 2003
  2. Frank
    Replies:
    1
    Views:
    1,614
    Robbe Morris [C# MVP]
    Mar 6, 2005
  3. could ildg
    Replies:
    0
    Views:
    455
    could ildg
    Jul 1, 2005
  4. Jeff Epler
    Replies:
    0
    Views:
    391
    Jeff Epler
    Jul 1, 2005
  5. could ildg
    Replies:
    0
    Views:
    489
    could ildg
    Jul 2, 2005
Loading...

Share This Page