visual studio 2005 + access 2005 oledb connection fails

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Flupke
    New Member
    • Mar 2008
    • 4

    visual studio 2005 + access 2005 oledb connection fails

    Hello everyone, I'm trying to make a OLEDB-connection between VB.Net (Visuel Studio 2005) and an Access-2003 database. This works smoothly and without a single problem on a Windows XP desktop computer, but this connection fails upon calling the connection.open () instruction on a (new) laptop computer which has Vista Home Premium as os. I've installed the service pack voor Visual Studio and the service pack voor Vista but still without success. Can anybody tell me what needs to be installed to get the problem solved ?

    the error message is something like disk or network error code -2147467259
    System Data.Oledb.Oled bException

    Can anybody help me ? Thanks !
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    Have you checked for connection string differences?
    All connection strings in one place. Find the syntax for your database connection using ADO.NET, ADO, ODBC, OLEDB, C#, VB, VB.NET, ASP.NET and more.

    Comment

    Working...