Re: deploying crystal dlls with a vb.net project

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Neil Newton (neilnewton001_at_yahoo.com)
Date: 06/01/04


Date: Mon, 31 May 2004 20:58:14 -0700


Ryan,

   Thanks for answering my post and being so helpful. I'm really new to
this (I've done .net apps for the web before this and the deployment
issues aren't so hairy).

  This application (vb.net with crystal reports viewed through the
crystal viewer) works on my machine as I mentioned, but not on the
user's machine. Registration isn't an issue as of now (though it may be
in the future); at the moment the crystal dlls aren't on the user's
machine where I'm trying to install this application. The problem is
that I don't know how to install the crystal dlls correctly on the
user's machine. I am assuming they are on MY machine because I installed
crystal 8.5.

   As I mentioned I'd like to put the missing dlls on the user's machine
in the simplest way possible and therein lies the problem. I'd like to
simply put them in the same directory as the vb.net exe if possible(I
assume that registering them should be enough once they're in that
directory). But, in that case, I'm also wondering if I have to change
the paths of the references in the vb.net project to make this work
(currently the references for these dlls in the vb.net project on my
machine point to crystal installation directories such as C:\Program
Files\Common Files\Crystal
Decisions\1.1\Managed\CrystalDecisions.CrystalReports.Engine.dll)

  Here's the error I'm encountering: The dll the application is looking
for on the user machine is : CrystalDecisions.Windows.Forms (this comes
out in an error message when I try to run the app)

  However, there are a few other dll's referenced in the vb.net project
and I'm thinking that they will be "missing" also if I don't put them on
the user machine. The are:
  CrystalDecisions.CrytalReports.Engine
  CrystalDecisions.ReportSource
  CrystalDecisions.Shared

  The viewer dll, Interop.Crystal.dll, was put in the bin directory (on
my machine) by the project and I put it in the same directory as the exe
on the users machine.

  I know it might not be the best idea to do this without a deployment
app but there are time and financial constraints on this. I'm hoping
there's a simple solution to this problem. I appreciate your help.

Neil

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Relevant Pages

  • Re: OpenNetCF cab confusion
    ... You have two choices - copy the specific dlls to your app folder, ... In fact to allow for another installation to install the SDF I ... >>>I did a very simple test to try to understand the cab file building ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Problems and confusion with ClickOnce, VB, and SQL Server jobs
    ... Are you saying you install the app on a server and have it run when there is ... The deployment apparently is not. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Bitter about [Lack of] .Net Framework Deployment
    ... I'm planning a ClickOnce deployment. ... We built a very nice auto-update framework, ... download and a few minutes to install on a clean WinXP SP2 ... Also, the user's perception is reality - and our app install sucks, ...
    (microsoft.public.dotnet.framework)
  • Re: Best development tool for WM5?
    ... But size has little to do with deployment simplicity. ... CF app for perf, then it's highly likely you didn't write the same code. ... the CF framework and SQL. ... and then add SQL Server mobile install. ...
    (microsoft.public.pocketpc.developer)
  • Re: DLL nightmares ...
    ... >> Why are you installing Office and Real player on your server? ... >> Don't install real player on your server. ... generally protected and won't be replaced by a bad app. ... With COM DLLs, as ...
    (microsoft.public.windows.server.general)