Link to home
Start Free TrialLog in
Avatar of krinpit
krinpit

asked on

Crystal Reports - Distributing to Client machines with VS.NET 2002

Hi,

I've got a problem which I have seen plastered all around the web on messageboards, but I have not yet encountered a well documented solution. With this question, I aim to change all that ;)

I can create and run Crystal Reports fine on my own development machine, but when I try to install the project on other machines on the network, I get the following error - "Cannot find keycodev2.dll or invalid keycode"

Most of the solutions that I have found so far insist that one needs to add the relevent .msm files to the setup project. To do this I
* Right click in the File system window of the setup project
* Click Add-> Assembly
* Scroll down through the tab (which is labled ".NET", looking in vain for something which resembles regwiz.msm
* Give up and click "Browse" and navigate to C:\Program Files\Common Files\Merge Modules\regwiz.msm
* Click OK

Of course, the solution now sees this as a type "File" rather than type "Merge file" and does not expose any relvent properties to me - Most importantly the "Licence" Property

So there you have it, I'm well and truely stumped. Hopefully somebody can give me some pointers on this one.

BTW: I have the version of Crystal Reports that came bundled with VS.NET 2002, and I have registered it.
SOLUTION
Avatar of Howard Cantrell
Howard Cantrell
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of krinpit
krinpit

ASKER

geras -
I have followed all your steps, but if you read my question again you will see that regwiz.msm does not expose any relevant properties to me - Most importantly the "Licence" Property. So I still can't progress.

planocz, emoreau -
Again, I have read those documents inside out and they still don't help me - as per my question above....
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of krinpit

ASKER

Hi there,

I managed to get the problem sorted. Turns out, it was my own stupid fault. I was attempting to add the assemblies by right clicking in the Application Folder in the Setup project. This gave me the option to add:

* Folder
* Project Output
* File
* Assembly

All along, I was ignorantly adding Assembly and thus, the properties weren't exposed to me.

The correct way to do it is to right click on the Setup project in Solution Explorer, which gives the option of adding:
* Project Output
* File
* Merge Module
* Assembly

So there you have it. My own fault, although I'm going to Maintain that it was Microsoft's stupid Context Menus which threw me ;)

Thanks,
John.