Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi,

 

I've got a problem which I have seen plastered all around the web on message boards, 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 relevant .msm files (listed in http://support.businessobjects.com/communityCS/TechnicalPapers/crnet_deployment.pdf) 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 labeled ".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 relevant properties to me - Most importantly the "License" Property

 

So there you have it, I'm well and truly 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.

 

:confused:

Posted
If you right click on the setup project in solution explorer and go to the add menu there should be an option for merge module.

 

Indeed there is - but when I go to add an assembly, I can't find the required assemblies in the list. I have to browse to find them, but then VS.NET doesn't recognise them as merge modules and therefore doesn't expose the properties that I need to access.

 

Maybe I need to do something to make windows recognise the .msm files as merge modules? Any ideas?

 

Thanks,

John.

  • Administrators
Posted

So if you add the msm through the add merge module option it doesn't give you anything in the properties window? Just tried it here and it worked first time - just expanded the top entry (MergeModuleProperties) and the option for a lisence key was there.

Or are you adding it some other way - you also mention adding assemblies, which ones and how are you adding them (and why)?

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted
So if you add the msm through the add merge module option it doesn't give you anything in the properties window?

No - Nothing worth looking at. A picture paints a thousand words. See the two screenshots attached.

 

Just tried it here and it worked first time - just expanded the top entry (MergeModuleProperties) and the option for a lisence key was there.

Not on mine for some reason :(

 

Or are you adding it some other way -

No, I'm trying to add it the exact same way as you describe.

 

you also mention adding assemblies, which ones and how are you adding them (and why)?

I've started a new project with just the bare minimum requirements now, so no complications....

  • Administrators
Posted

It looks as though you added it as a file rather than as a merge module - they are seperate menu options. In your screenshot the three msm files have been added as files, there is another listed that is callewd managed that has been added correctly - notice the slightly different icon.

I've attached a small screen shot - the first regwiz.asm was added as a file while the second was added as a merge module, notice the differerent icon.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted
In your screenshot the three msm files have been added as files

 

I know :-\ . It's just that the regwiz.msm file doesn't appear in the list of mergemodules that I can select.

 

Any idea how to get these necessary files to be recognised as merge modules? As you can imagine, it's really frustrating to be so close to deploying my reports and to be stumped by something like this.

  • Administrators
Posted

That would be because you are in the wrong dialog box - that is the add assembly dialog box.

 

Try these steps

1 - in solution explorer right click on the name of your setup project.

2 - Move the mouse down to the option for Add.

3 - When the sub menu pops up select "merge Module" that's the one between file and assembly.

4 - Browse to the regwiz.msm file and select it.

5 - click on open.

 

It should now be added as a merge module rather than a file or an assembly.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Posted
That would be because you are in the wrong dialog box - that is the add assembly dialog box.

 

I'd say I feel so stupid, but that would detract from your extreme patience. You are 100% correct - It was a panicked oversight by me.

 

Thanks very much for all your help. I have managed to successfully deploy a report to another machine.

 

I'm off to play in the dirt and eat some bugs now ;)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...