ODBC phrase problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Milan

    #1

    ODBC phrase problem

    I use a Database of MDB type, and OleDbConnection object
    to connect. my connection string:

    "Provider=Micro soft.Jet.OLEDB. 4.0;Data
    Source=AlcaDB.m db;Password=apr il;User ID=Admin;";

    Error message I receive:'Can't start your application.
    the workgroup information is missing or opened
    exclusively by another usef'.

    I have a local computer, and no network I use. password
    is the right one. I can't understand. please help.

  • Miha Markic

    #2
    Re: ODBC phrase problem

    Hi Milan,

    I think you should pass also System Database=system .mdw parameter which
    instructs provider the location of security file.
    See http://www.connectionstrings.com/ for info on connection strings.
    Ah, and this is OleDb and not ODBC problem :)

    --
    Miha Markic - RightHand .NET consulting & development
    miha at rthand com
    www.rhand.com

    "Milan" <anonymous@disc ussions.microso ft.com> wrote in message
    news:037f01c3c7 2b$b6c99050$a00 1280a@phx.gbl.. .[color=blue]
    > I use a Database of MDB type, and OleDbConnection object
    > to connect. my connection string:
    >
    > "Provider=Micro soft.Jet.OLEDB. 4.0;Data
    > Source=AlcaDB.m db;Password=apr il;User ID=Admin;";
    >
    > Error message I receive:'Can't start your application.
    > the workgroup information is missing or opened
    > exclusively by another usef'.
    >
    > I have a local computer, and no network I use. password
    > is the right one. I can't understand. please help.
    >[/color]


    Comment

    Working...