Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OLE DB connection to SQL Server, I can't get it to work

Status
Not open for further replies.

helpneeded

Programmer
Aug 24, 1999
15
GB
I've just started using VB6. When adding a data environment to my project I have problems connecting to a SQL server database. I add a connection and try to set up the data link properties. I Select Microsoft OLE DB Provider for SQL Server, I can select the named server but cannot see or select any of the databases on it. I just typed in the database name. If I click test connection I get the message Test Connection Succeeded.<br>
<br>
If I then add a command and try to set the properties I change Source of data to Table but can see no object names. I then get the message Operation requested by the application not supported by the provider.<br>
<br>
However I can connect using the SQL builder at second attempt, first attempt I get message Query designer encountered a MS design tools error, unspecified error. If I close and reopen it works fine. I know I must be doing something wrong, but what ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top