.NET DEPLOYMNET

G

Guest

I developed application in VB.Net . The program includes some reports made
with Crystal Repor. When I install the program on another computer with Win
2000 professional and .net installed it woks fine.

But when i installed on a computer that doesn't have .net, While running
application
i got invalid keycode. I downloaded .net framework 1.1 from microsoft.com
and installed my application again same problem.


Here is my question

1. How to solve the above problem?
2. What is requirement to installed .net applicaiton on computer that
doesn't have anything other than O/S (windows 2000 or XP)

Can anyone help me?

Thanks
kalyan
 
P

Peter van der Goes

Kalyan said:
I developed application in VB.Net . The program includes some reports made
with Crystal Repor. When I install the program on another computer with Win
2000 professional and .net installed it woks fine.

But when i installed on a computer that doesn't have .net, While running
application
i got invalid keycode. I downloaded .net framework 1.1 from microsoft.com
and installed my application again same problem.


Here is my question

1. How to solve the above problem?
2. What is requirement to installed .net applicaiton on computer that
doesn't have anything other than O/S (windows 2000 or XP)

Can anyone help me?

Thanks
kalyan
When you say "another computer with Win 2000 professional and .net installed
it works fine", are you referring to the .NET Framework or to Visual Studio
..NET?
By "installed on a computer that doesn't have .net", do you mean that you
added a setup project to your solution, deployed the solution, then ran
setup on the target PC to install your product, or that you simply moved the
project to the other PC?
Is your reference to "invalid keycode" part of a longer error message? If
so, please quote the entire message.
 
P

Plamen Ignatov

Hello,
I had a similar problem. In details:
I develop a .NET application using CrystalReport. On my computer
(Win2000, VS.NET 2003, .NET 1.1) everything used to work flawlessly.
But on other computers (e.g. Win2000 with .NET framework 1.1 installed),
it kept saying "invalid keycode" or "Missing DLLs".
Even if i add all additional Crystal Reports libraries (for instance in
the same folder as the installation of my program), there was an
"invalid keycode" error which pops whenever I try to use a report.

Well, as you've already noticed, it's not exactly your kind of
scenario. I guess you can run your reports only on computers with
preinstalled VS.NET (thus including Crystal Reports).
Just for your information this is the solution i found:

According to me the problem is as follows: There is a version of Crystal
Reports that comes with VS .NET 2003 (it's not a full version) and you
can deploy it in your applications as long as you provide the license
from your own VS.NET.
So - yes, you can deploy your application with Crystal Report embedded ,
but the procedure is a rather complicated one.

To make the long story short:
1) Open Help|About. On installed products select Crysttal Reports Entry
and copy the license number
2) Create a new deployment project and add the following merge modules:
Crystal_Database_Access2003.msm
Crystal_Database_Access2003_enu.msm
Crystal_Managed2003.msm
Crystal_regwiz2003.msm
Usually they reside in "Common Files" folder

3) In MergeModuleProperties for Crystal_regwiz2003.msm enter your
license key (from Help|About section)
4) Build the project (if you enter invalid license key or none at all
you won't be able to build the project)
5) Make sure you install this project before your application and
invalid keycode error should not occur again.
You may also add your program to this deployment project.

Have in mind that the generated setup takes around 12 MB :(
The very same procedure is described on many places on the web. You
might also take a search on Google.

Hope this helps
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top