Skip to Content
0
Former Member
Nov 18, 2009 at 06:59 PM

Grant Full Trust to a Crystal Reports Application

149 Views

I am using some Crystal Reports in an Office Addin that has been developed with Visual Studio 2008. These Crystal Reports were originally developed with Visual Studio 2003 and have worked for a long time. I am moving the Crystal Reports and the rest of the application to VS2008 and .Net Framework 3.5.

When I attempt to run any of the Crystal Reports from within the application, I get an "unrecognized query engine error". I am fairly certain that this is because Crystal Reports has not been granted full trust. I have a few other assemblies in my application and I have had to grant full trust to those assemblies to run as part of an Office Addin.

Is there a way around this problem? Will Crystal Reports run without full trust (I don't think so, but I wanted to ask anyway) If I need to grant full trust to Crystal Reports, I'm unsure of what I need to do to - what assemblies do I need to grant trust? what permissions do they need? where are they located? how do I do it?

Is there some kind of solution that already exists for this problem or am I the first one to discover it? I am deploying Crystal Reports as part of my application so whatever solution I come up with has to be deployable to a customer site.

Thanks,

Chuck