Quantcast
Channel: Crystal Reports
Viewing all articles
Browse latest Browse all 1507

Not sure if I need to install some Crytal dev environment or a NuGet package

$
0
0

I've been working on refactoring an old ASP.NET website (changed to web application) for a while now. To make a long story short, these changes have resulted in me replacing some CrystalDecisions references (since they were broken) with NuGet packages. One of them is for CrystalDecisions.CrystalReports.Engine. If  you go to that web page, you'll see that it says, "This package has no dependencies.". Well, when I finally got it so that it would build, I thought I was done. Running it though and testing it proved otherwise. The error I got is:

System.TypeInitializationException
HResult=0x80131534
Message=The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
Source=CrystalDecisions.CrystalReports.Engine
StackTrace:
at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()
at CrystalDecisions.CrystalReports.Engine.ReportClass..ctor()
at timetrackreports.rpt_tt0002..ctor() in I:\WebSites\FPTimeTracker\FP Timetrack\timetrackreports\rpt_tt0002.vb:line 25
at timetrackreports.rb0002.MakeReport(ReportParameters ps, String ConnectionString, String EnvironmentString) in I:\WebSites\FPTimeTracker\FP Timetrack\timetrackreports\rb0002.vb:line 9
at ReportPrinter.Page_Load(Object sender, EventArgs e) in I:\WebSites\FPTimeTracker\FP Timetrack\TimeTrackSite\ReportPrinter.aspx.vb:line 29

Inner Exception 1:
FileNotFoundException: Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

At this point I did some searches and I found some posts on Stack Overflow that recommended installing the Crystal development environment on my dev machine. However, I also found a NuGet package forCrystalDecisions.ReportAppServer. I'm wondering if I should pursue that or if I should instead install the Crystal dev environment? (Assuming we have a license for me to use and I can figure out which version of Crystal this old app used.)


Viewing all articles
Browse latest Browse all 1507

Trending Articles



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