Skip to Content
avatar image
Former Member

Problem migrating reports. Parameters are not used by report


I'm upgrading an old software developed with VS2008 and Crystal Reports for VS2008. I'm trying to migrate reports to a recent version, i've tried with VS2013 and Crystal Reports Runtime (x64)

The problem I'm facing is that i can pass parameters to the reports but the report is not using them. If i use the preview from the report there's no problem but passing the parameters from code or even letting the report prompt ask for them cause the problem.

It doesn't matter the type of parameters (number, string, datetime), the report has the same behaviour for all of them.


.Net Framework 4.5


CR Runtime

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 30, 2014 at 08:29 PM

    There are a couple of things that might be affecting this.

    1.  When you use the .NET Framework 4.x, there is a new property that has to be set for each of the CrystalDecisions references - it's called "Embed Interop Types" and it MUST be set to false.

    2.  Make sure that you're using the full .NET Framework 4.5 and not the .NET Client Framework 4.5.

    3.  Installing one of the "Runtime" downloads from here will not integrate the SDK into Visual Studio.  Instead, you need to download and install the "Install Executable" to get that integration.  You'll use the runtime install when you deploy your application.


    Add comment
    10|10000 characters needed characters exceeded