Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. OLEDB Connection

OLEDB Connection

Scheduled Pinned Locked Moved Database
questioncsharpdatabasesecurity
3 Posts 2 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Just Greeky Creek
    wrote on last edited by
    #1

    I have a mdb database.It has a password (123456), i found out password with a password cracker program. I exactly dont know why this password exist . I try to connect this database via VB.Net, OLEDB Connection. My Connection string is "Provider=Microsoft.Jet.OLEDB.4.0;Password=123456;Data Source=C:\Documents and Settings\creek\Desktop\AC115DataBase.mdb; Mode=Read;Persist Security Info=True" i cant connect to database with this connection string. I get this error "Application cannot be started. Work File is missed, or any user opened file excluesive mode" i dont know user name or any extra information about mdb file. I am so confused. Question is What is wrong,

    Y 1 Reply Last reply
    0
    • J Just Greeky Creek

      I have a mdb database.It has a password (123456), i found out password with a password cracker program. I exactly dont know why this password exist . I try to connect this database via VB.Net, OLEDB Connection. My Connection string is "Provider=Microsoft.Jet.OLEDB.4.0;Password=123456;Data Source=C:\Documents and Settings\creek\Desktop\AC115DataBase.mdb; Mode=Read;Persist Security Info=True" i cant connect to database with this connection string. I get this error "Application cannot be started. Work File is missed, or any user opened file excluesive mode" i dont know user name or any extra information about mdb file. I am so confused. Question is What is wrong,

      Y Offline
      Y Offline
      Yulianto
      wrote on last edited by
      #2

      Where did you get the database?


      Work hard and a bit of luck is the key to success.

      You don`t need to be genius, to be rich.

      J 1 Reply Last reply
      0
      • Y Yulianto

        Where did you get the database?


        Work hard and a bit of luck is the key to success.

        You don`t need to be genius, to be rich.

        J Offline
        J Offline
        Just Greeky Creek
        wrote on last edited by
        #3

        at the end i solved my problem myself :D Line i missed is Bold. Dim oOleDbConnection As New OleDb.OleDbConnection Dim strPassword As String = "123456" Dim strDataBasePath As String = "C:\Documents and Settings\creek\Desktop\AC115DataBase.mdb" Dim sConnString As String = _ "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=" & strDataBasePath & ";" & _ "**Jet OLEDB:Database Password=" & strPassword & ";**"

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups