Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, February 23, 2025 
 
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!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: Crystal Issues with Saleslogix OLE DB Provider
Douglas Walker
Posts: 27
 
Crystal Issues with Saleslogix OLE DB ProviderYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Nov 11 3:55 PM
fiogf49gjkf0d

I was given 9 reports to place into a SLX menu for the users to run, and I'm having difficulties with 3 of them. 


When run in the client, the user recieves a "Failed to Retrieve data from database" error. 


I checked all the datasource connections, and they were the same.  I now discovered the following are true when they are run outside of Saleslogix Client:



  • Reports run using Microsoft OLE DB Provider for SQL Server and Integrated Security

  • Reports run using Saleslogix OLE DB Provider and ADMIN userid/password

  • Reports fail using Saleslogix OLE DB Provider and Integrated Security


This lead me to believe it was security related, but then I found out...



  • Reports fail in SLX Client when logged in as ADMIN user


Any ideas?

[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: Crystal Issues with Saleslogix OLE DB ProviderYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Nov 11 11:04 PM
fiogf49gjkf0d

Things to verify:


- Before you Add the Report to SalesLogix, make sure that you select the Correct Driver


- Once the Report is inside SalesLogix, SalesLogix will provide the Connection String based on the Current User. It will not use Integrated Security, as SalesLogix doesn't use Integrated Security.


- If the Report runs for Admin, but not for other users, it may be due to the Security Parsing.


For Example, if I log into SalesLogix and run the following query: SELECT * FROM CONTACT, SalesLogix passes that Query As Is to the Database.


However, if I am logged in as a User, SalesLogix will Parse that Statement and modify it to apply security. The Statement will most likely convert to "SELECT * FROM CONTACT_ WHERE ACCESSID_ = 'THEUSERID'


The more tables that are joined into the Statement, the more complex it becomes after Security is applied.


 


You should use the SLX Profiler and then run the report.


Pay attention to the Error Log and identify those Queries that fail to Parse. More than likely you will be able to see the SQL Statement as Written and the Statement as sent to the Database.


This will help you identify those queries that may be failing, and help you find a Solution.


 

[Reply][Quote]
Douglas Walker
Posts: 27
 
Re: Crystal Issues with Saleslogix OLE DB ProviderYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 Nov 11 3:49 PM
fiogf49gjkf0d

Raul, Thanks for the response!


Although, I can't seem to find where I would set the Driver in Crystal 11.  I can find it in 8.5, simply by going to Database - Convert Database Driver. 


Any idea?


 


Looks like I may have found my answer... -> it's done automatically?

[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: Crystal Issues with Saleslogix OLE DB ProviderYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 Nov 11 12:25 AM
fiogf49gjkf0d

Yes, forgot to mention that tidbit.


 


I want to emphasize something from my original reply:


 


The fact that it works for Admin, but not for other users typically indicate that the problem relates to the Security Parsing of the SQL Statements.


Do run the SLX Profiler and you will see the Difference, and should be able to catch any errors as well.

[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 © 2025 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): 2/23/2025 3:26:05 PM