Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Express Edition and Compact Edition (2005)
 Connection String "Runtime Error 430" Help
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

13 Posts

Posted - 10/07/2011 :  01:00:03  Show Profile  Reply with Quote
trying to connect to my sql database (Sql 2005 Express)

as a te i've been using the following connection string

cnWemsSQL.Open "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=" & txtDatabaseName & ";Data Source=" & txtSQLserver

Works without any problems on my Win 7 32bit(x86) Dev Machine
However when i install the app to my test machine (Windows Xp)
i get the following error

"Run-time error '430':
Class Does not Support Automation Or does not support expected interface

not sure if i'm just missing something, or theres a problem with this string on older machines??


Norsk Yak Master

3271 Posts

Posted - 10/07/2011 :  08:18:16  Show Profile  Reply with Quote
Are you sure you have an SQLOLEDB driver on the XP machine? You should download and install the native client instead and use that one for connections both on the XP and the Win7 machine:

Download the "sclncli.msi" and then use this connection string instead (from

Driver={SQL Native Client};Server=myServerAddress;Database=myDataBase; Uid=myUsername;Pwd=myPassword;

- Lumbago
My blog->
Go to Top of Page

Starting Member

13 Posts

Posted - 10/07/2011 :  22:19:52  Show Profile  Reply with Quote
Did exactly what you told me installed sqlncli
and changed my connstring, unfortunatly still has some error
works fine on the windows 7 machine, but not on xp machine..

even tryed installing sql express server on the xp machine and still same error
very annoying

well in the mean time i'll try it on a few other machines see if it does the same
also one posible thing i thought was if it maybe because i'm compiling the project on windows 7
i'll try compiling on a xp machine and try that too
will keep you updated to what i find

or if you have anyother ideas/solutions would gladly try them out too

Thanks heaps
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000