Solved

Problem with Crystal Reports on TFS Build Computer

Posted on 2010-09-14
6
1,450 Views
Last Modified: 2013-11-10
I am using TFS2010, and have set up to use the Build functionality to build  one of my solutions.  All seems to be going well, except it is complain as follows":

Inventory\frmRecipes.resx (271): Could not load file or assembly 'file:////DEV2K3/ExternalReferences/CrystalDecisions.CrystalReports.Engine.dll' or one of its dependencies. The system cannot find the file specified. Line 271, position 5.

I have all my shared assemblies in a network share, and a Reference path parameter set in  MSBuild.  I know that is working as it finds all the other assemblies there.  

I have checked that this file, and all the other Crystal Reports files referenced in my prpgram are also there, so I am guessing it is a dependency that is missing.  I have also used depend to see hwt it might be, but it only talks about standard windows files, all of which are on the TFS/build computer.

My fear is I will have to install Crystal Reports on the build computer, but I thought the idea of MSBuild was you only needed th assemblies, not the full installations?

Has anyone else had experience of using MSBuild with Crystal Reports 2008?

0
Comment
Question by:townsma
  • 3
  • 3
6 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 33677478
Which assemblies for Crystal are you using?

Crystal includes msi and msm files for use in building.

mlmcc
0
 
LVL 6

Author Comment

by:townsma
ID: 33678251
When I refer to building, I mean just the MSBuild building i.e. Compile and Link, not building the installer, which is what the msm and msi are designed for.

On my build computer, I reference a share which contains all the assemblies directly referenced by my vistual studio solution. For all the other assemblies, i.e. Infragistics, SQL, PointofService etc. this works fine.

My solution directly references five Crystal Reports assemblies, all of these are in the share I mentioned.

With regards to building the distribution, I do not use the MSMs, as in the past I have found them to be very problematic.  Instead when we distribute our application we also distribute the Crystal Runtime Distribution from their website.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 33678498
I think because of the licensing for Crystal you may have to install the assemblies on your machine.

CR2008 uses a NUL or Named User License, so only one user can use the assemblies.  They need to be installed on your machine to ensure that licensing.

mlmcc
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 6

Author Comment

by:townsma
ID: 33678647
So I need to purchase an additional CR license to install on the build computer?   If that is the case, I guess I will not be using CR any longer, and will be looking for an alternative reporting system.
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 33678670
You are allowed to install Crystal on several machines so long as you are the only one using the license.
In that way you can build the reports on one machine but build the application on another.

mlmcc
0
 
LVL 6

Author Comment

by:townsma
ID: 33678686
Ok, so licensing aside.  It looks like I need to install CR on the build server. Was hoping not to need to install the entire CR2008, but will give it a try.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now