Solved

Problem with Crystal Reports on TFS Build Computer

Posted on 2010-09-14
6
1,447 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
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org (http://seleniumhq.org) Go to that link and select download selenium in the right hand columnThat will then direct you to their downlo…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

747 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

10 Experts available now in Live!

Get 1:1 Help Now