Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, November 22, 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: SLXOLEDB.1 provider is not installed on the SLX server?
Mark Hanford
Posts: 131
 
SLXOLEDB.1 provider is not installed on the SLX server?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Jul 06 4:59 AM
fiogf49gjkf0d
I have a slight issue with the SLXOLEDB.1 provider, in that I can't seem to connect to it on the server itself. I have written a simple app to do some data-exports, and on my machine it connects fine and seems to work as intended. When I run it on the server though (it will be a scheduled task eventually) I get an exception error that "The 'SLXOLEDB.1' provider is not registered on the local machine".

I am using SLX 6.2.2, and on the server I can use Admin, Client, etc with no problems. I am logged on to the server as administrator, over a TS session.

I have used the connection-string tool off this site too, in case it was my constring.

conStringSLX = _
"Provider=SLXOLEDB.1;" & _
"Persist Security Info=False;" & _
"Initial Catalog=saleslogix_62;" & _
"Data Source=myservername;" & _
"User ID=admin;" & _
"Password=myadminpassword;"

This works okay from a client. Do I need to install the OLEDB provider on the server seperately?

Many thanks,

Mark
[Reply][Quote]
Jeremy Brayton
Posts: 491
Top 10 forum poster: 491 posts
 
Re: SLXOLEDB.1 provider is not installed on the SLX server?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Jul 06 3:54 PM
fiogf49gjkf0d
I'm running 6.2.3 and my connection strings work on both the client and server without any extra effort.

I'm sure the connection string tool works but have you tried the .udl approach? Create a file with .udl as the extension. Open it, which fires the typical OLE DB config screens and go through the motions as you would normally. Change the extension to .txt or just open it in notepad and it'll give you the connection string.

I just did a test and I'm not showing much difference except for the missing Extended Properties="PORT=1706;LOG=ON;CASEINSENSITIVEFIND=ON;". The hardest part about including that is escaping the quotes so that everything is correctly included. It might explain why the client works but the server doesn't though I'd be surprised if this were the actual problem.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: SLXOLEDB.1 provider is not installed on the SLX server?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Jul 06 5:11 PM
fiogf49gjkf0d
If the only thing that is installed on the server is the SalesLogix Connection Manager (ie: The SLX Server) then IIRC you will need to install the client provider on the machine as well in order to make a SLX connection.

-Ryan
[Reply][Quote]
Mark Hanford
Posts: 131
 
Re: SLXOLEDB.1 provider is not installed on the SLX server?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 26 Jul 06 12:06 PM
fiogf49gjkf0d
This is strange. The server has the SLX Server, Administrator, Architect and SLX client installed, and all work fine. It's just my app. The provider seems to be registered to some extent, as I can see it in the registry all over the place.

Incidentally, I have tried running the standalone OLEDB provider from SP2.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: SLXOLEDB.1 provider is not installed on the SLX server?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 26 Jul 06 12:27 PM
fiogf49gjkf0d
If the client and all are installed on the server then the provider should be there too. The problem would be something else. Is your code running under the logged in user (or via a service context)?
[Reply][Quote]
Jeremy Brayton
Posts: 491
Top 10 forum poster: 491 posts
 
Re: SLXOLEDB.1 provider is not installed on the SLX server?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 26 Jul 06 12:51 PM
fiogf49gjkf0d
Would the External license come into play here? I have licenses installed in my database and it's the only thing I can think of off the top of my head that may be different. It would be weird that the client would work but it could be that the external license doesn't get checked unless you try to run it through the provider on the server directly.
[Reply][Quote]
Mark Hanford
Posts: 131
 
Re: SLXOLEDB.1 provider is not installed on the SLX server?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Jul 06 8:35 AM
fiogf49gjkf0d
It's currently just running as the logged-in user, although I may end up running it as a service at some point.

No idea about the licensing question, not sure how that would work.
[Reply][Quote]
Mark Hanford
Posts: 131
 
Re: SLXOLEDB.1 provider is not installed on the SLX server?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Feb 07 8:56 AM
fiogf49gjkf0d
Blimey, was this really so long ago?

I've finally reached the stage where the sync app I've created (to sync SLX contacts with Joomla and phpBB) is ready to go, but I'm still stumped by this Provider issue

I've used Ryan's Connector-string creator tool, and hard-coded various Connection Strings into my app, but for the life of me I still can't get this to run on the SLX server.

This is the connection string I'm using, which works wonders on my client machine

Provider=SLXOLEDB.1;
Data Source=MYSERVERNAME;
Initial Catalog=SALESLOGIX_LIVE;
User ID=myadminusername;
Password=mytopsecretpassword;
Persist Security Info=True;
Extended Properties="Port=1706;Log=On"

And this is the error I get
Unhandled Exception: System.InvalidOperationException: The 'SLXOLEDB.1' provider is not registered on the local machine.
at System.Data.OleDb.OleDbServicesWrapper.GetDataSource(OleDbConnectionString constr, DataSourceWrapper& datasrcWrapper)
at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)
at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
at System.Data.OleDb.OleDbConnection.Open()
at WebLogix.SalesLogix.Connect(String connectionString)

SLX server is all running fine
SLX client works fine on the server
Connection test from Ryan's Datalink Designer works fine

I'm stumped At the moment I'm going to have to have this running on a client machine somewhere, which is not ideal.
[Reply][Quote]
Mark Hanford
Posts: 131
 
Re: SLXOLEDB.1 provider is not installed on the SLX server?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Feb 07 9:01 AM
fiogf49gjkf0d
Ah, this is interesting. I followed the .udf test again (I'm sure I tried this before :P) :

Create empty file called test.udf
Double-click to launch editor
click "back" to get to the provider-selection screen
Select "SalesLogix OLE DB Provider"
Click Next to configure
Get an error! "Provider is no longer available. Ensure that the provider is installed properly"

Seems I need to reinstall something? Bit hesitant, as this is the production SLX server.
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: SLXOLEDB.1 provider is not installed on the SLX server?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 Apr 07 12:26 AM
Have you checked what version of MDAC is installed on the Server?
[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): 11/22/2024 8:36:32 PM