Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, February 21, 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 .NET Extensions
Forum to discuss the use of .NET Extensions in SalesLogix version 7 and higher. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix .NET Extensions | New ThreadView:  Search:  
 Author  Thread: Using VS2008 and Crystal in an add-in
Trent Haynes
Posts: 32
 
Using VS2008 and Crystal in an add-inYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 May 09 10:16 PM
This is my first try at an add-in and I'm having a bit of an issue.

I've written an add-in using VS2008 that controls a few batch processes. One of those processes creates a bunch of crystal reports that are exported to pdf files.

Everything runs fine on my machine. However, the other machines run into an issue with the "pdf" creation part. They all receive the same error message.

"An error has occurred while attempting to load the Crystal Reports runtime.

Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.

Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. Please go to http://www.businessobjects.com/support for more information."

I can't figure out where the problem is.

The version 11.5 runtimes come with SLX7. VS2008 by default uses crystal 10.5.

Has anyone done anything like this before?
[Reply][Quote]
Martin Rudnick
Posts: 52
 
Re: Using VS2008 and Crystal in an add-inYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 May 09 10:58 AM
I had the same type of issues with an embedded Crystal Reports object in a VS 2005 .NET extension. What I did to fix it was load the 2005 merge module to the users computer. I dug around and tried to find if there was one for VS2008 but this is what I found:

In Visual Studio 2008, merge modules are no longer used for crystal reports controls.

To add the crystal reports files:

1. Go to the deployment project's properties page.
2. Click the "Prerequisites" button.
3. Add the "Crystal Reports Basic for Visual Studio 2008" "

Maybe that helps...
[Reply][Quote]
Trent Haynes
Posts: 32
 
Re: Using VS2008 and Crystal in an add-inYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 May 09 11:45 AM
I hadn't thought to try the CR basic for vs08. (I've tried the merge modules for vs05 - and they didn't work) I'll give that a shot.

As an additional thought, do you happen to know how to tell which version of crystal you are using (CR X, XI, .Net 2005, .Net 2008) from the references in the project?
[Reply][Quote]
Trent Haynes
Posts: 32
 
Re: Using VS2008 and Crystal in an add-inYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 May 09 12:43 PM
Sonofgun, looks like that fixed it. I don't know why I didn't try that previously (well, I do know why - I was making an incorrect assumption).

Which begs the question (not necessarily to be answered here), how do I make use of my installed copy of CR XI Release 2 Pro and Server in Visual Studio? I'll keep looking.


Thanks for the help. Much appreciated!

Trent

[Reply][Quote]
Martin Rudnick
Posts: 52
 
Re: Using VS2008 and Crystal in an add-inYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 May 09 9:08 AM
Glad to have helped. I am using CR XI release 2 and VS .NET 2005. What I did was create the report in Xtal and then added it to the project in VS embedding it in the windows form used in a .NET extension. I have been tweaking the report in VS but that ends up being a bit limited.

Martin
[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/21/2025 5:16:58 AM