error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • muddasirmunir
    Contributor
    • Jan 2007
    • 284

    error

    it is the first time i use password with access and get and error
    i am using adodc to connect to access by clicking build and then
    Microsoft jet 4 ole db now when i uncheck the blank password tick and put
    my password it give me the following error (see pictures)
    how to solve this.


    Note: my access database is closed and not using by any other application
    Attached Files
  • jamesd0142
    Contributor
    • Sep 2007
    • 471

    #2
    Originally posted by muddasirmunir
    it is the first time i use password with access and get and error
    i am using adodc to connect to access by clicking build and then
    Microsoft jet 4 ole db now when i uncheck the blank password tick and put
    my password it give me the following error (see pictures)
    how to solve this.


    Note: my access database is closed and not using by any other application
    either close the access file which you have open soemwhere..

    or its been opend in vb and not closed.

    use code like

    con.close before you open the connection in your code

    example:

    [code=vbnet]
    Con = New OleDbConnection ("Provider=Micr osoft.Jet.OLEDB .4.0;Data Source=C:\remin der.mdb")
    Con.Close()
    ...rest_of_code
    con.open()
    ...fill dataset etc
    [/code]

    Comment

    Working...