Skip to Content
author's profile photo Former Member
Former Member

Crystal Reports 2008 SP3 &VS Studio 2008


i'm trying to use Crystal Reports 2008 with SP3, Visual Studio 2008 and OS Windows Server 2003 (I use this Server OS because i'm developing for Microsoft SharePoint).

Before upgrading to Crystal Reports SP3 i could not set a basic Visual Studio C# Dataset as the Datasource of my Report. Everytime i get the following Error:

Unknown Database Connector Error - Error in file temp_GUID.rpt

Then i read theis forum and it was mentioned that maybe SP3 could solve this problem. But after applying CR 2008 SP3 the following Error occur (VS cancel the debug mode and this error is logged to the Windows Server-Log):

Message: Could not load file or assembly 'crdb_adoplus, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. Failed to grant permission to execute. (Exception from HRESULT: 0x80131418)

I'm using the following Code-Snippet:

CrystalReport1 report = new CrystalReport1();

NewsDataSet nds = new NewsDataSet();

DataRow r;

r = nds.Tables[0].NewRow();

r["Title"] = "Title";

r["Body"] = "Body";


//Now the exception will be thrown


Maybe someone can help me to solve this problem.

Thanks in Advance!


Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Oct 04, 2010 at 03:43 PM

    Do you see crdb_adoplus.dll in the directory c:\program files\business objects\businessobjects 12.0\win32_x86 ?


    Follow us on Twitter

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 08, 2010 at 05:45 PM

    Hi Guys,

    good news i solved the problem now... damn nine days of struggling arround - yelling and shouting...

    Resolution for my SharePoint enviroment using CR 2008 SP3 and Visual Studio 2008:

    1. in my case i need a new SharePoint CAS for the file: crdb_adoplus.dll. This is a security issue, because SharePoint have some trouble with accessing dlls outside the GAC

    2. In a normal SharePoint Installation the IIS Default Web Application will be stopped and replace with the SharePoint WebApllication - but Crystal Reports installs a new Virtual Directory beneath the Default Web Application named "crystalreportviewers12". You have to create this Virtual Directory manually and copy the files located at "C:\Program Files\Business Objects\Comon\4.0\crystalreportviewers12" to "C:\inetpub\virtual Directorys\80 (maybe anonther in your case)\asp_netclient\system_web\2.0...\". After that point the path of the virtual Directory to this folder.

    3. After that i have to modify the web.config in the folder crystalreportviewers12. Theres some code similar to this

    <sessionState timeout="20" />

    Comment this line out, because this is not allowed in a web.config file which is located in a Sub Directory (Compare this blog post: Restart IIS and it should work.

    Thanks to all who help me here. Now i'm very very very very very very glad. 😊

    Edited by: C.Kaiser on Oct 8, 2010 7:46 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 14, 2011 at 06:25 AM


    <%@ Register assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>

    BUT i WANT IT SHOULD BE LIKE THIS Version=12.0.1100.0**

    <%@ Register assembly="CrystalDecisions.Web, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.