Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8088

VS 2010 app looking for CR Runtime v 11.5.3700

$
0
0

Someone at my company developed a piece of simple C# console app code (below) to create .rpt files in a folder to be emailed later.

They did this work on a machine with Visual Studio 2010 and Crystal Reports v 11.5. The created application will be installed on our client's Windows Server 2008 R2 machine.

 

ReportDocument doc = new ReportDocument();
doc.Load(DOC_PATH);
CrystalReportExtensions.ApplyCredentialsFromConnectionString(doc, Con);
CrystalReportExtensions.ApplyCustomParameter(doc, string.Format("[Table Name].DOC_ID={0}", DOC_ID));
doc.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, EXPORT_FILE);

 

When I run the application on the Windows 2008 R2 Server, it doesn't work because it cannot find the correct version of the Crystal Reports Engine, so it throws that error. In fact, when I look under C:\Windows\Assembly on the server, I see that it does not have any version of Crystal assemblies installed.

 

So, I tried to find the correct runtime to install so that the application could create the .rpt files and everything would work, but I cannot find the correct version. I have found 10.2, 10.5, 13.0, and many other things that wouldn't even begin to install. The phone support for Crystal is not equipped to handle these types of questions. They can only provide general knowledge and links to downloads for runtimes, which are often incorrect or not useful.

 

What do I need to do to get this to work?

1. Is there indeed a CR runtime for v 11.5.3700?

2. If not, then what can I do to install another runtime and reset the VS references to that version?


Viewing all articles
Browse latest Browse all 8088

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>