473,387 Members | 1,678 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

deploying crystal dlls with a vb.net project

Hi everyone,

I recently wrote a vb.net app which includes some crystal reports.
The user has very little money in their budget and have been without a
working application for quite a while. This being the case I worked
with what was available: I used vb.net and crystal 8.5. The crystal
reports are being viewed in the crystal report viewer which is still
included in vb.net. I went ahead with developing this project because
I found that crystal 8.5 works fine with vb.net. Or so I thought.

Everything works fine on my machine. However when I intall the app
on a user machine the vb.net part works correctly but the crystal
reports don't. When I try to bring up one of the reports an error
screen tells me that it can't find:

CrystalDecisions.Windows.Forms

In looking at the references in the vb.net project this makes sense.
What I've noticed is that the crystal viewer dll is in the bin
directory of my project but not the other crystal dlls.

I would like to finish this project without costing the user much
more money. I realize that I'm reaching for a kludge but I was hoping
that I could take the crystal dlls referenced in the project and
somehow install them on the user's machine (only two users). I had
read somewhere that dlls placed in the same directory as a vb.net exe
would be "findable" by default. However in looking at the paths of the
referenced crystal dlls, I find that they seem to have been installed
in crystal specific directories such as:

C:\Program Files\Common Files\Crystal
Decisions\1.1\Managed\CrystalDecisions.CrystalRepo rts.Engine.dll

I don't know if they have to be in these directories on the user
machine to run. If I can put them in the same directory as the exe and
have them work, do I have to change the paths to the references in my
vb.net project?

Since my users and my manager hope to get this done quickly, I've
also considered installing crytal 8.5 on both user machines, hoping
this would put the right crystal components on the machines. I'm not
sure if this will work.

Ideally, I would like to get crystal 10 and merge the correct dlls
into my vb.net project using merge modules. It may come to that but
there is pressure to avoid this as it will add time and expense to the
project.

Any advice/suggestions. Any help will be appreciated.

Neil
Nov 20 '05 #1
2 3511
Neil:

You can get an error that indicates a missing .dll if you haven't included
the correct registration information in your deployment app. It'd help if
you could tell me what .dll it is, but the deployment project should include
all of these and many times it's the lack of correctly adding the license
key that causes this problem http://www.knowdotnet.com/articles/crystal.html
If this isn't the problem you're having, let me know the name of the .dll
and we'll take it from there.

HTH,

Bill

--

W.G. Ryan, eMVP

http://forums.devbuzz.com/
http://www.knowdotnet.com/williamryan.html
http://www.msmvps.com/WilliamRyan/
http://www.devbuzz.com/content/zinc_...center_pg1.asp
"fig000" <ne***********@yahoo.com> wrote in message
news:ea*************************@posting.google.co m...
Hi everyone,

I recently wrote a vb.net app which includes some crystal reports.
The user has very little money in their budget and have been without a
working application for quite a while. This being the case I worked
with what was available: I used vb.net and crystal 8.5. The crystal
reports are being viewed in the crystal report viewer which is still
included in vb.net. I went ahead with developing this project because
I found that crystal 8.5 works fine with vb.net. Or so I thought.

Everything works fine on my machine. However when I intall the app
on a user machine the vb.net part works correctly but the crystal
reports don't. When I try to bring up one of the reports an error
screen tells me that it can't find:

CrystalDecisions.Windows.Forms

In looking at the references in the vb.net project this makes sense.
What I've noticed is that the crystal viewer dll is in the bin
directory of my project but not the other crystal dlls.

I would like to finish this project without costing the user much
more money. I realize that I'm reaching for a kludge but I was hoping
that I could take the crystal dlls referenced in the project and
somehow install them on the user's machine (only two users). I had
read somewhere that dlls placed in the same directory as a vb.net exe
would be "findable" by default. However in looking at the paths of the
referenced crystal dlls, I find that they seem to have been installed
in crystal specific directories such as:

C:\Program Files\Common Files\Crystal
Decisions\1.1\Managed\CrystalDecisions.CrystalRepo rts.Engine.dll

I don't know if they have to be in these directories on the user
machine to run. If I can put them in the same directory as the exe and
have them work, do I have to change the paths to the references in my
vb.net project?

Since my users and my manager hope to get this done quickly, I've
also considered installing crytal 8.5 on both user machines, hoping
this would put the right crystal components on the machines. I'm not
sure if this will work.

Ideally, I would like to get crystal 10 and merge the correct dlls
into my vb.net project using merge modules. It may come to that but
there is pressure to avoid this as it will add time and expense to the
project.

Any advice/suggestions. Any help will be appreciated.

Neil

Nov 20 '05 #2

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.CrystalRepo rts.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!
Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: mona | last post by:
Hello, I want to deploy vb.net windows application on client's machine. Application works fine until I try to view reports, developed with crystal report 9. As soon as I try to view report it...
0
by: SWu | last post by:
Hi all Could someone please tell me how to configure and deploy my Crystal reports? Any help would be greatly appreciated. I want to be able to deploy my reports/web pages to another domain,...
0
by: G Dean Blake | last post by:
I have a ASP.NET website running on a shared server at a webhoster. They, understandably, will not run executables that I supply. I have a new app that I want to implement but my new app runs...
0
by: Dave | last post by:
Hello The application I'm building an installer for uses dlls which were developed originally in C. Since the application itself is developed in C#, these dlls were wrapped using SWIG....
4
by: Mantorok | last post by:
VS.Net 2005 Hi all I have a page that uses the Crystal Reports Viewer control, the reports themselves are held in another (referenced) project. How exactly do I deploy these reports with my...
0
by: hudak | last post by:
Hi! Building a Visual Studio 2003 Setup project I got an error as follow C:\temp\Setup1\Setup1.vdproj Unable to import merge module 'CrystalReports11_5_NET'. I have added the KeyCode value for...
3
by: GaryDean | last post by:
This is really a licence question.... I want to deploy the version of Crystal Reports that comes with Visual Studio 2005 to a production server. Is there another license charge if the I'm...
10
by: =?Utf-8?B?UmljaGFyZA==?= | last post by:
Hi, I usually deploy my ASP .NET application to the server by publishing, using Visual Studio 2005 publish feature. This creates the Bin folder on the server, with the compiled DLLs. I've...
6
by: =?Utf-8?B?anAybXNmdA==?= | last post by:
Using Visual Studio 2005, I have created 4 small DLLs that our company projects can use to access common tools included in each of the separate DLL files. Our Visual Studio 2005 applications...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.