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_Databas e_Access2003.ms m
Crystal_Databas e_Access2003_en u.msm
Crystal_Managed 2003.msm
Crystal_regwiz2 003.msm
Usually they reside in "Common Files" folder
3) In MergeModuleProp erties for Crystal_regwiz2 003.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
Plamen
Kalyan wrote:
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