OLEDB Connection fails

Discussion forum about all things SqlBase or SqlTalk
lmorales
Chile
Posts: 115
Joined: 31 Aug 2018, 17:05
Location: Santiago Chile

OLEDB Connection fails

Post by lmorales » 09 May 2010, 06:03

Hi,
I'm migrating a TD 3.1 PTF4 application to TD 5.2 SP1. When I try to connect to SqlServer (2000 or 2008) using OLEDB, the connection fails...the application doesn´t see the server.

The problem appears when the connection is done in a library function, after click over a button in a dialog box, that call the function.

I attach the situation.....

All works fine in TD3.1

Thanks
You do not have the required permissions to view the files attached to this post.

aliartos

Re: OLEDB Connection fails

Post by aliartos » 11 May 2010, 14:45

Try with Set SqlDatabase = ""
you don't need to declare "winper" here

lmorales
Chile
Posts: 115
Joined: 31 Aug 2018, 17:05
Location: Santiago Chile

Re: OLEDB Connection fails

Post by lmorales » 13 May 2010, 02:18

ok...thanks...It works...Why Oracle connection had no problem?...the application is the same, only the connection string is different, SqlDatabase had the database name...

Thanks.

Return to “SqlBase General Discussion”

Who is online

Users browsing this forum: [Ccbot] and 3 guests