Results 1 to 2 of 2

Thread: Getting '430' Error trying to connect to SQL-Server

  1. #1

    Thread Starter
    Lively Member PatOls's Avatar
    Join Date
    Oct 2000
    Posts
    99

    Getting '430' Error trying to connect to SQL-Server

    Anobody know how to solve the error

    430 - Class does not support automation or expected interface

    when i'm trying to connect to an SQL-Server - Im using this code

    Code:
    Set cn = New Connection
    cn.Provider = "SQLOLEDB.1"
    cn.Open "Data Source=M10074200010", sUserName, sPassword
    It works on some machine and some not, what the heck is wrong???

    //patrick

  2. #2
    Fanatic Member
    Join Date
    Jan 2001
    Location
    Vietnam
    Posts
    613
    Check your OLEDB version. It is conflicting eg: you are reference to ADO 2.5 and target machine has ADO 2.0 (check file mdac_typ.exe)

    Regards,
    TheBao

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width