Writing Code
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Writing Code
Message Icon Topic: How to register/configure a Data Provider Post Reply Post New Topic
Author Message
Chanaka
Newbie
Newbie
Avatar

Joined: 23 Feb 2010
Location: Sri Lanka
Online Status: Offline
Posts: 3
Quote Chanaka Replybullet Topic: How to register/configure a Data Provider
    Posted: 23 Feb 2010 at 9:43pm
Hi,
 
I’m in the process of developing an ADO .Net XML Data Provider which works with Data Sets. I want to use this custom Data Provider through Crystal Report Designer 2008 so that I can access it from the “Standard Report Creation Wizard\Available Data Sources” section. How can I do this? I read the following in the “creating custom adddins.doc” documentation.

“Crystal Reports (CR) 2008 installs a new managed dll called DotNetExternalCommandAdapter.DLL and installs it into the Global Assembly Cache (GAC). CR 2008 uses this dll to search and load files with a csc prefix in CR 2008’s AddIns subdirectory in a similar way it looks for database drivers, export drivers and UFLs. To create an Add-In the developer needs to reference this dll and inherit two classes from it, ICommand and ICommandDLL.”

I have the following questions,

1) As it mentions above how can I make Crystal find my custom Data Provider when it searches for the database drivers?
2) Is there another class I can inherit from when creating my custom data provider? If so where can I find some documentation regarding this?
3) Can I register my custom data provider in to the GAC and will Crystal find it if so how can I register my custom Data Provider? Will GACUtil work for Crystal as well?

Thanks in Advance,
Regards,
Chanaka
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.