Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, April 29, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 External Development Forums - SalesLogix OLEDB Provider
Forum to discuss using the SalesLogix OLE DB Provider from external applications (including usage of built-in provider procedures). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix OLEDB Provider | New ThreadView:  Search:  
 Author  Thread: OLEDB and SQL NATIVE CLIENT (SQL 2005 database instance)
Raul
Posts: 3
 
OLEDB and SQL NATIVE CLIENT (SQL 2005 database instance)Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Oct 09 9:13 AM
Hi there, i have a question. I've been working with SLX V6 for a long time, now it has been the time to move to version 7.5
I found a extrange thing, that maybe you can explain me better..
After the install of the SLX, i have the EVAL and EMPTY databases attached in the "Saleslogix Connector Manager" using SQLOLEDB.1
BUT if want to create a new connection, the only available connections are SQLNCLI.1 (SQL native client)
No other OLE DB provider is shown on the list.
I installed directly fro the install CD the SLX OLEDB client, but still it doesn't appears on the list..
Question is: is that OK?, version 7.5 SP1 of SLX running against an SQL 2005 server as it's data base only works with SQL native client?
Someone told me that SQL2005 needs that to connect to it, so whatever application that tryes to connect to SQL 2005, should use that provider and no other..
Is that OK?.. or i have something wrong on my system?
Thanks and best regards
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: OLEDB and SQL NATIVE CLIENT (SQL 2005 database instance)Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Oct 09 9:45 AM
The server connection to the database (as configured in Connection Manager) can be either SQL OLEDB or SQL Native Client, though I think I read somewhere that SQL Native Client is preferred for performance reasons.

The SLX OLEDB provider is used for the connection between the client and the SLX server, as configured in the Data Link Manager.
[Reply][Quote]
Raul
Posts: 3
 
Re: OLEDB and SQL NATIVE CLIENT (SQL 2005 database instance)Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Oct 09 11:54 AM
Thanks Phil,
I also read in other posts, that OLEDB is NO LONGER SUPPORTED (Server to SQL connection) in 7.5 SP1 ...now it's going to be SQL native client to do that connection between SLX SERVER and SQL SERVER.
Regards
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: OLEDB and SQL NATIVE CLIENT (SQL 2005 database instance)Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Oct 09 12:40 PM
Also, keep in mind that you will need to install the SQL Client on each machine that connects to SLX.

A Network user will instantiate the OLEDB Provider, which will open a Native Connection to the Database using the same properties as defined on the Server, and since the connection utilizes an specific SQL Client, you need to have that SQL Client on each client machine.
[Reply][Quote]
Jim
Posts: 15
 
Re: OLEDB and SQL NATIVE CLIENT (SQL 2005 database instance)Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Jun 10 3:36 PM
Sorry to revive an old thread, but this seems closest to my problem.

Sql 2000. I have a production and test database on the same server. Different attachment/logging paths. Upgraded the server from 6.2 to 7.5 SP2.

The existing oleDB connection used for live works. I created a new data link in the connection manager for the test environment as sql native client. Everything seemed to connect ok from this screen. Now whenever I try to create this connection from a client I only see the slxoledb as the connection provider (installed sql native client on client machine). If I put in the connection details anyway and select the test connection in the saleslogix database name, I get an "unable to initialize data directory" error when I test.

Does anyone have any ideas?

Thanks, Jim
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: OLEDB and SQL NATIVE CLIENT (SQL 2005 database instance)Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Jun 10 3:43 PM
SLX 7.5.2 is not supported on SQL Server 2000 - you need SS2005/8.
[Reply][Quote]
Jim
Posts: 15
 
Re: OLEDB and SQL NATIVE CLIENT (SQL 2005 database instance)Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Jun 10 3:48 PM

I realize that it isn't officially supported, but when I spoke w/ Saleslogix support they stated the main reason it wasn't supported was that MS was no longer supporting Sql 2000. I've actually done the upgrade and we've been running fine on Sql 2000 for months now in 7.5 SP2. The problem seems to be adding a second connection to the existing database server.

Are you telling me sql native client doesn't work on Sql Server 2000?
[Reply][Quote]
Phil Parkin
Posts: 819
Top 10 forum poster: 819 posts
 
Re: OLEDB and SQL NATIVE CLIENT (SQL 2005 database instance)Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Jun 10 3:54 PM
I'm not being quite as definitive as that, but as Native Client was introduced with SS2005 I think you're heading into uncertain territory.
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: OLEDB and SQL NATIVE CLIENT (SQL 2005 database instance)Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Jun 10 3:54 PM
You are correct. The native Client is for use with SQL 2K5.

You have to define your connection with the SQLOLEDB.1 as your provider.
[Reply][Quote]
Jim
Posts: 15
 
Re: OLEDB and SQL NATIVE CLIENT (SQL 2005 database instance)Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Jun 10 3:59 PM
Ok thanks Phil and Raul. I see I'm going to have problems now that I'm at a version that SLX is forcing me to use the sql native client to build new connections. I'm assuming the connection information is in the registry. Do you think it would be possible to copy the live connection's registry key(s) and modify it for the test environment without introducing other problems? Is there any place other than the registry where server-side connection information is stored?
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: OLEDB and SQL NATIVE CLIENT (SQL 2005 database instance)Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Jun 10 4:09 PM
The connection Information is stored on File: SlxOleDbConfig.dat.

The location of the file depends of your OS. On older machines it would be under Documents and Settings\All Users\Application Data\SalesLogix
However, the String is encrypted.

I have however in the past copied the string across computers and SLX decrypted it ok, so you may be able to clone the connections that way.
[Reply][Quote]
Jim
Posts: 15
 
Re: OLEDB and SQL NATIVE CLIENT (SQL 2005 database instance)Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Jun 10 4:13 PM
Excellent, I will try this tomorrow. Thanks, Jim.
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 4/29/2024 5:47:54 AM