Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

deploying Crystal Reports Runtime onto a server drive get FileNotFoundException error

Posted on 2006-06-28
6
Medium Priority
?
292 Views
Last Modified: 2012-08-14
We have a VB.NET program that wraps BO/Crystal 11 Reporting and Preview functionality into a VB.NET 1.1 exe.  We pass in arguments into it etc, etc.  It works great.  

Background:

Our VS.NET 1.1 solutiuon includes a MS Setup project with that exe, plus all the required Merge Modules from Crystal 11 (11.0, not 11.5), and .NET 1.1 framework etc.
Everything runs perfectly when we run the install program to the local PC, such as c:\program files\widget

When you look into that install folder afterward, you'll see the exe, and a single dll from our project.  The Crystal merge modules install DLLs to "C:\Program Files\Common Files\Business Objects\3.0\bin" and they show up in "C:\WINDOWS\assembly".

This is expected, everything works great when installed locally on the workstation.  However, when you deploy this to 100 PCs this is time consuming.  Each PC needs to install this program *at the workstation*.

Problem:

So, when we attempt to install the same program to a file server (as our customers demand we do) such as to a folder: \\server\apps\widget we have problems running the program.  When we install the program from a workstation and choose a destination folder, the DLLs within the Crystal Merge Modules are installed on the PC that is running the setup program.  Examining the destination folder ( \\server\apps\widget), you see the vb.net exe we wrote and its DLL are present, but the DLLs are installed in the local PCs GAC.  This is not going to work when you move to workstatiuon b and try to run that exe on  \\server\apps\widget\widget.exe.  you get an error:

System.IO.FileNotFoundException: File or assembly name CrystalDecisions.Windows.Forms, or one of its dependencies, was not found.
File name: "CrystalDecisions.Windows.Forms"

Is it even possible or is there are trick that can be done that allows me to install our vb.net widget, Crystal merge module DLLs, etc using out setup program so that we do it once on a central server and then the PCs can then just point to that folder on the server and run our widget.

p.s. we made the Intranet zone Fully Trusted by using .NET1.1 Wizard in Control Panel.
0
Comment
Question by:nick05
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
6 Comments
 
LVL 42

Expert Comment

by:frodoman
ID: 17004340
To the best of my knowledge this isn't possible.  I believe that the dll's must be in the local GAC only in order to function and I'm not aware of any workaround to this.

I should qualify my answer by saying that of course you could always use Citrix or some other type of VM solution but I assume that is outside the scope of what you're doing.

frodoman
0
 

Author Comment

by:nick05
ID: 17005440
Thanks Frodoman.  Yep, that's correct, I can only suggest Citrix, etc. to the customer but ultimately they dictate the environment they run in.  Thank you.

0
 
LVL 42

Accepted Solution

by:
frodoman earned 2000 total points
ID: 17008937
You're welcome.

Just another stray thought - you might want to consider a web application to handle the reporting piece.  You could install the crystal components on a web server once and have your windows app invoke a browser and point to an aspx page to deliver the reports.  Obviously depends on your client's infrastructure and on your application but it's potentially another workaround option although it does add a lot more things that can go wrong.

Good luck,

frodoman
0
 

Author Comment

by:nick05
ID: 17009699
Good idea!  Our web client product has this feature now.  I could likely just pull that page and code behind out of that and install it on IIS standalone and then call that URL from the form client app.  Nice thought, cheers Frodoman.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

598 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