cancel
Showing results for 
Search instead for 
Did you mean: 

Salesforce and .NET

Former Member
0 Kudos

I'm trying to create a .net site (c#) to display a crystal report that uses Salesforce data. The problem is, when I try to refresh the data in the report, I get the following error

Failed to load Database information.

Details: The database connector 'crdb_sforce.dll' could not be loaded. The correct version of the database client for this database type might not be installed.

So I locate the crdb_sforce.dll file on the machine (found in the Crystal Reports .....\Common\3.5\bin folder) and try to add it as a reference to the project. This throws the following error:

A reference to 'C\.......\crdb_sforce.dll' could not be added. No type libraries were found in the component.

I'm not really sure how to proceed from here. I do not come from a .NET/windows world so I apologize if I'm missing something trivial here but I'm unsure how to proceed.

I'm wondering if anyone has gotten this working, or if it's a simple .NET error that someone would be willing to push me towards the answer.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

crdb_sforce.dll was not really meant to be used in .NET. E.g.;

1) it is not included in any of the CR for .NET runtime (msm, or msi).

2) the dll has a dependency on the Java framework which is not installed by any CR deployment file either see [this|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/13732] [original link is broken] [original link is broken] [original link is broken]; blog for more details.

So, the above is just an FYI and if despite the info you wish to proceed a few questions:

1) what version of .NET

2) I understand you are using CR XI r2 - what patches have you been able to apply?

3) is this a web or a win app?

4) is this happening on your development system or after you deploy the app?

Ludek

Follow us on Twitter http://twitter.com/SAPCRNetSup

Answers (0)