Login / Register  search  syndication  about

          SalesLogix Questions & Answers

Your place to get answers to your SalesLogix related questions.

 Home  |   Subscribe via RSS  |   Subscribe via E-mail  |   

How do you code a successful SalesLogix database connection using perl and teh slxoledv.1 provider?

Question:

I'm having trouble connecting to SLX via Perl because I can't figure out how to pass the connectionString information.  Does anyone have a code example of a successful slx db connection using perl and the slxoledb.1 provider??

 

Answer:

Your problem is likely the integrated security. Have you tried explicitly specifying a username and password in the connection string?

Try this:

use Win32::OLE;
use Win32::OLE::Const 'Microsoft ActiveX Data Objects';

my $Conn = Win32::OLE->new("ADODB.Connection");
my $RS = Win32::OLE->new("ADODB.Recordset");

$DSN = "Provider=SLXOLEDB.1;Integrated Security=SSPI;Initial Catalog=SLXSUPPORT;Data Source=slx;Extended Properties=PORT=1706;LOG=ON;Location=;Mode=Read;";
$Conn->Open( $DSN );

What's This?
  
Bookmark and Share

About SalesLogix Support

   Your SalesLogix Business Partner for SalesLogix Support.


Related Content
   What is the best way to delete unused Groups in SalesLogix?
After several years of using SalesLogix – we have hundreds of groups, most of which are no longer used as
Posted on May 21, 2013 by SalesLogix Support to SalesLogix Questions & Answers
 
   Can the SalesLogix Application architect's build process be automated?
Can the SalesLogix Application architect's build process be automated, or called from a batch file? W
Posted on May 16, 2013 by SalesLogix Support to SalesLogix Questions & Answers
 
   Is it possible to Sync SalesLogix Attachments based on Account Manager?
Is it possible to only sync SalesLogix Attachments from the accounts where the user is the account manag
Posted on May 15, 2013 by SalesLogix Support to SalesLogix Questions & Answers
 
   SalesLogix Remote Library Management
Is it possible to log into a SalesLogix Remote Database as Admin and Manage the Library Files?
Posted on May 14, 2013 by SalesLogix Support to SalesLogix Questions & Answers
 
   Demystifying SalesLogix Web: Dashboards and Analytics Tools
Join us for a free webinar, Wednesday, May 15th at 2pm CDT. The SalesLogix Web dashboards and analytics
Posted on May 08, 2013 by Brianna Tinjum to The Inbox
 
Comments

No Comments
All contents Copyright © 2013 Customer FX Corporation
Customer FX Corporation
2324 University Avenue West, Suite 115
Saint Paul, Minnesota 55114
Tel: 800.728.5783

  Follow @CustomerFX on twitter
Follow the best news, tips, and articles
  Subscribe to Customer FX on youtube
Watch SalesLogix tutorial videos from Customer FX
Login / Register