Peter's Gekko

Sponsors

The Lounge

News

Advertisement

Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)

Actually I do like Crystal Reports. It may not be perfect but the way it works with datasets, its grouping a selecting options and the web report viewer are very workable. Deploying Crystal Report to a web server is another story.

When you test your app on your localhost all seems to be working well but when the app is installed on the webserver it produces the notorious Cannot find KeycodeV2.dll, or invalid keycode error message. The Crystal site has loads on support on that which tells you to update some registry settings. There is a big chance that you will not find these settings. What to do next is hidden a lot better in the docs.

The crystal viewer uses a couple of dll's which are installed on your development machine. They are part of CR for VS.NET but not of the .NET framework. If there is no vs.net installed on the webserver these files will be missing on the server. A deployment project in VS.NET will not see the dependencies and will not include them in the setup. What worked for me (destilled out of the loads of CR docs) was creating a setup project with a couple of merge modules

  • Crystal_Database_Access2003.msm
  • Crystal_Database_Access2003_enu.msm
  • Crystal_Managed2003.msm
  • Crystal_regwiz2003.msm
  • VC_User_CRT71_RTL_X86_---.msm (used for reports based on ADO.NET)
  • VC_User_STL71_RTL_X86_---.msm (used for reports based on ADO.NET)

The regwiz module has an License key property, here you enter the Crystal license key found in the help about of VS.NET. It will read something like AAP50-GS00000-U7000RN.

Installing this dummy app will enable CR in all your webservers applications. On one server the setup was a webapp, on another server we had to create a Windows forms setup before the server would see CR.

Blog on, Peter


Posted Tue, Jan 6 2004 9:00 AM by pvanooijen
Filed under:

[Advertisement]

Comments

John wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, Jan 15 2004 1:01 PM
5 Stars!!!!!! You are the man! This was very helpful, thank you!
Gr8 wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, Feb 6 2004 10:46 AM
Really cool man....Thanks
Peter's Gekko wrote Exporting from Crystal Reports to PDF, Word, Excel and HTML
on Tue, Feb 10 2004 8:36 PM
Exporting from Crystal Reports to PDF, Word, Excel and HTML
te wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Feb 18 2004 10:24 AM
<script>Good script</script>
Sasha wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, Mar 11 2004 8:25 AM
This is fantastic, resolved the problem that I had for more that a year. Thanks
imtiaz wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Mar 17 2004 5:15 AM
i have same problem
cannot find keycodev2.dll or invalid keycode
plz help me
and tell me how can i register or set .msm
files on client
Peter van Ooijen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, Mar 19 2004 2:06 AM
Biswajit Jena wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Sat, Mar 20 2004 4:10 AM
Hello,
In VB.NET my crystal report is not working in client machine.

Please give me the detail informations.

Regards
Biswajit
Peter van Ooijen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Sun, Mar 21 2004 12:00 PM
This story deals with CR on an asp.net server, client side is another story.
imtiaz wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Mar 24 2004 3:53 AM
i have made deploy packege and added modules with merge module option the modules are

crnetruntime.msm
license.msm
mapping.msm
reportengine.msm
VC_User_STL71_RTL_X86_---.msm
VC_User_MFC71_RTL_X86_---.msm
VC_User_CRT71_RTL_X86_---.msm
VC_User_ATL71_RTL_X86_---.msm

and I have run setup on server machine but still same error
comming

Cannot find KeycodeV2.dll, or invalid keycode
plz any one help what can I do
Peter van Ooijen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Mar 24 2004 4:12 AM
You're using a different set of msm's.
Did you check registration ? Of the setup package and in the registry ?
Ben wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, Mar 26 2004 1:10 PM
Thanks a TON! Error Fixed.
Prashanth wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Sat, Apr 10 2004 5:45 AM
Thanks a lot.. Working without any problems.
Kavita wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Apr 14 2004 2:15 PM
Hi,

We have developed a .net application in C# and VB.NET (Visual Studio 2003). when we install the Application on a Tablet PC with Operation System Windows XP, the reports which have even one subreport are not working with the error "Object Reference not set to an object".
We are using the ReportViewer component of .net. We tried creating the install of the Application with both Visual Studio Set up projects and also with Installshield express.

When we installed our application first, we got keycodev2.dll error and that has been resolved and after that we are getting this problem.

We also used the latest Crystal Report merge modules and compared the DLLs using Modules.exe from Crystal Report Site in 2 scenario - one while running the Application from Visual Studio on the tablet PC when the reports work properly and the other one with the installed exe created from the same source which is working on the same tablet PC. The number of Dlls are more when the Application runs from the installed exe but all the dlls in use in the other scenario are present here. We checked the versions of dll also in both the cases and they are same.

Please suggest what to do.

Thanks in advance.
Kavita
Peter van Ooijen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, Apr 16 2004 2:37 AM
My experiences are limited to running Crystal on a web-server. Did you check the other thing s?
http://dotnetjunkies.com/WebLog/petergekko/archive/2004/02/24/7846.aspx
Vikul wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Apr 21 2004 12:38 AM
Can anybody tell after all these problem is it possible to install an application in .net on client machine without any error like Keycode.dll.

Thx

With Gr8 Regards

Vikul
Peter van Ooijen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Apr 21 2004 5:31 AM
The original post concerns web-apps. Once fixed (on the web server) it's fixed for all clients. Once fixed for one web-app it's fixed for all webapps.

It's an overkill to include the the assemblies in the setup of every web-app. To big (> 10 mb)

Some day I'll look at running Crystal in a Windows .net app.
Phil wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Apr 21 2004 8:58 AM
There are different sets of MSM files depending on whether or not you are using the full versions of Crystal Reports, or the embedded version in VS .NET.

The following pdf has all the information you need:
http://support.businessobjects.com/communityCS/TechnicalPapers/crnet_deployment.pdf
Peter's Gekko wrote Wikis on the dotnetjunkies ?
on Mon, Apr 26 2004 10:10 AM
Wikis on the dotnetjunkies ?
Tzury Bar Yochay wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Apr 28 2004 2:34 PM
Couldn't Crystal Creators write it in a descriptive way in thier support KB as Peter?
Peter van Ooijen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Apr 28 2004 2:48 PM
Thanks Tzury. Keeps me of the streets :>
Tzury Bar Yochay wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Apr 28 2004 2:55 PM
Couldn'r Business-Objects write it as descriptive and detailed as this one?

The rule is: With third-party controls you mostly need third-party developer for troubleshooting.

PETER - THANK YOU VERY MUCH.
Tom Shokite wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Sun, May 2 2004 10:01 PM
I still can't get Crystal running on target machines as the very frustrating "Cannot find KeycodeV2.dll, or invalid keycode" keeps appearing. I've even tried to copy about 20 registry keys, from my development machine to the target machine and that still did not work. Installing VS.NET on the target machine is now the only way I can use Crystal. So I simply resorted to not using Crystal and now at least my application works and to hell with Crystal. I will look for another way to get out the reports. Adobe's Acrobat, which I used to use when I programmed with C++, did work. I'm programming utilizing C# and Window Forms. tshokite@comcast.net :(
Tom Shokite wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Tue, May 11 2004 7:42 AM
Well I have an update. After trying, and I mean many times, I finally got it to work. Seems I have been running on an older version of Visual Studio .Net, from an install off of the MSDN site (subscriber), but it was an older version. I removed that older version completely and reinstalled the latest version of Visual Studio.Net. Then I downloaded the following writeup from: http://support.businessobjects.com/communityCS/TechnicalPapers/crnet_deployment.pdf
It is very well written and holds your hand throught the process (forget the other documents on the internet as they kind of waist your time and are incomplete) :)
Dave M wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, May 20 2004 10:31 AM
THANKS BUDDY! Top shelf help!!
Sebastien wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, May 21 2004 12:16 PM
I have made an application in Visual Basic.net that uses Crystal Viewer to run some reports. I have no problem running the application on the machine where it has been developped or any machine that has Visual Basic.NET and Crystal Report 9 installed.

But when I tried to deploy my app on a computer without Crystal Report 9 and only the right Framework, I had a TLV Record Error. I am using Crystal Report 9 and i have included the merge module that Business Object give :
Crystal_Database_Access2003.msm
Crystal_Database_Access2003_enu.msm
Crystal_Managed2003.msm
Crystal_regwiz2003.msm

I still have the same problem. I thought it might be because i'm missing these 2 modules event thought i'm not sure i need them :
VC_User_CRT71_RTL_X86_---.msm (used for reports based on ADO.NET)
VC_User_STL71_RTL_X86_---.msm (used for reports based on ADO.NET)

But i can't find them and now my app needs to be delivered... it's getting quite urgent.
What to do? Help me please!!
Peter van Ooijen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, May 26 2004 3:51 AM
It is a mess. There are several version of CR, several versions of the framework and there is web-based CR versus a Winform based.
I have managed to get the CR which comes with VS.2003 to work on a web-server. And I know that the solution for all other combinations is different...
Patrick wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, May 26 2004 9:47 AM
I'm running into the same problem, and I'm using the references version 9.1.5000.0 from crystal decisions in my solution, I'm using VS 2003 and the framework 1.1.
Alan wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, May 26 2004 3:20 PM
can anyone provide me with a simple vs.net solution containing a winform app with a crystal report and a setup project? I have installed a clean xp with just .net framework and i keep getting the keycodev2.dll error even though i put in the key in the merge module and followed that crnet_deployment.pdf document. thanks.
rtrtr wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, May 26 2004 11:33 PM
haleluza
haksin wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, May 27 2004 6:49 AM
i have not find these .msm in my computer.
i am using .net2002
plz. help me
Peter van Ooijen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Sat, May 29 2004 1:46 PM
Haksin, Switch to 2003. Then you'll be in the same mess as everybody else :>
Srinath wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, Jun 3 2004 1:01 AM
hey
iam trying to do some the same, trying to deploy a vb.net system to the client side.
every one tell the same add the 4 or 5 files as above.
i have one small problem Crystal_regwiz2003.msm does not have a license Key property can any one help me srinathk7@hotmail.com
Srinath wrote Crystal_regwiz2003.msm does not have a license Key property
on Thu, Jun 3 2004 1:03 AM
hey
iam trying to do some the same, trying to deploy a vb.net system to the client side.
every one tell the same add the 4 or 5 files as above.
i have one small problem Crystal_regwiz2003.msm does not have a license Key property can any one help me srinathk7@hotmail.com
Alan wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, Jun 3 2004 4:21 AM
Srinath, its in the properties window after you include it in your setup project and expand the mergemoduleproperties. Let me know how it goes cause i could never get my winform app to work even after i installed a clean xp with just .net.
Guru wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Sat, Jun 5 2004 9:29 PM
Hi Peter, and thanks for the magic tip. I had to resort to the second option (installing a dummy Windows Form App with the reqd. CR modules).
My quirk : if CR and VS.net are so tightly integrated WHY can't that &*#$ regwiz.msm pick up the 19-digit itself?
Anyway, thanks for the info, especially for putting it concisely and lucidly unlike most obfuscated CR documents available.
Cheers - Guru.
Peter van Ooijen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Tue, Jun 8 2004 4:22 AM
Thanks.
I beleive the integration to be only skin-deep. It is tough skin with a lot of wrappers but I'm not sure about what's inside. Lots of COM ?
Jonathan Miller wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, Jun 10 2004 11:32 AM
This finally fixed my problem! Thanks again!
Jai Sevin wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Jun 23 2004 11:05 AM
I ran into this problem..and finally got it to work on our test server.. But now I'm getting the error when trying to put into production. I'm using the same dummy web app to install the merge modules that i used in test on our production server but no dice..is there any other things I can look for
Nadeem wrote crystal report not working
on Wed, Jul 7 2004 6:20 AM
I have successfully installed VB.NET and Crystal report on my machine , now when I add the crystalreport.rpt from the add item option it doesn't work, nor does it shows any error. Please help me in this.
Beti wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, Jul 8 2004 7:15 AM
after adding registration number and all merge modules I do still have the same error:

Cannot find KeycodeV2.dll, or invalid keycode

What else, please?
Dean Stelow wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, Jul 16 2004 3:01 PM
Excellent advice. Thanks.
If All Else Fails Look at the Machine.config. All wrote If All Else Fails Look at the Machine.config. All is in there.
on Thu, Jul 29 2004 5:33 AM
Had the same Problem.

Solution: In the Machine.Config(C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFIG)file
Under the TAG <processModel ... />
Change the Username to "System"

Why?
Allows the Process to access all of the Registry Settings...



Sinan Sonmez wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, Jul 29 2004 2:06 PM
Windows form setup worked fine on my Web Application... Thanks for the help, remember to enter the Licence Key for regwiz2003

Modules I've included are :

Crystal_Database_Access2003.msm
Crystal_Database_Access2003_enu.msm
Crystal_Managed2003.msm
Crystal_regwiz2003.msm
VC_User_CRT71_RTL_X86_
VC_User_STL71_RTL_X86_

thanks for the help mate, saved my life
Matt (Frustrated) wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, Jul 30 2004 5:35 AM
Heres one for you guys ( and gals). Built a db access prog in vs.2003, coleague developed a viewer for it in c# goes into project fine, runs on development network OK. The got keycodev2.dll error, included merge module now it can find the dll, however, its now telling me it can't find an available license. I've looked for the license key property in the regwiz.msm but I can't find it. Anyone help????
Matt (Frustrated) wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, Jul 30 2004 5:42 AM
Just found a little help file may be of use. PDF format http://support.businessobjects.com/communityCS/TechnicalPapers/crnet_deployment.pdf
Zandi Zungu wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, Aug 12 2004 7:14 AM
I created the deployment package using the correct merge module and entered the correct license key, however, I still had the same error "Cannot find KeycodeV2.dll, or invalid keycode"
I've checked that my assemblies are all of the same version and also unregistered and re registered various dlls including keycodev2.dll but it did not solve my problem.
The ultimate solution was installing Crystal on the server where I'm trying to deploy my web application. This works! Consumes space but at least it works!



plz any one help what can I do
Zandi Zungu wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, Aug 12 2004 7:18 AM
I created the deployment package using the correct merge module and entered the correct license key, however, I still had the same error "Cannot find KeycodeV2.dll, or invalid keycode"
I've checked that my assemblies are all of the same version and also unregistered and re registered various dlls including keycodev2.dll but it did not solve my problem.
The ultimate solution was installing Crystal on the server where I'm trying to deploy my web application. This works! Consumes space but at least it works!



plz any one help what can I do
Wayne Russell wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Sat, Aug 21 2004 2:58 AM
I have created web install project has you have suggested but how do I deploy on server with only ftp access
Peter van 0oijen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Sat, Aug 21 2004 3:14 PM
Ftp the msi to the sys-admin ? :>
I think you (or someone else) has to run the installer on thr machine, I wouldn't trust xcopy deployment to do the job her.
Bruce Tank wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, Sep 17 2004 9:24 AM
I have tried to create my own merge module project and add these files, so I would have just one merge module for my deployment package.

No dice.

The funny thing is that the merge module properties are NOT exposed if these are in a merge module project. The properties DO get exposed when they are in the deployment project, rather than the merge module project.
Kundan wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, Oct 1 2004 8:27 AM
Hey man !

Your suggestion really worked wonders !

The problem is solved on my machine too...

Great Going ....

Thumbs Up !

Kundan
Kristina P wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, Oct 7 2004 10:17 AM
Solution worked for me also, just adding the gotchas that caught me as a newbie to this IDE.

At first I didn't understand "create a setup project" but I found it - New Project, and choose Setup/Deployment type. Also I got the dreaded "Licence Key cannot be nullable" but could not find where to set it. Turns out the View window for the solution (which lists the merge modules) was off. When I turned it on from the View menu, and clicked the + sign next to properties, I found it.
martin wrote Exporting from Crystal Reports to PDF, Word, Excel and HTML
on Tue, Oct 12 2004 4:50 PM
Ping Back??:blog.csdn.net
Kristyn wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Oct 13 2004 11:01 PM
Super tip easiest most straight forward fix I have seen in a real long time!!!! Thanks
Peter van 0oijen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, Oct 14 2004 6:22 AM
You're welcome :)
Somayeh wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Sun, Oct 24 2004 1:16 AM
hi,
i have the same problem but my app is not webapplication it is windows application..will this solution work for windows application too??
please help me!
Peter van 0oijen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Sun, Oct 24 2004 3:03 PM
CR on Windows is comparable but does work different. I think your windows setup needs a CR setup. But I don't know what goes in there.
Loren & Pablo wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Oct 27 2004 10:23 PM
hi
we only want to say THANKS A LOT for the solution.
you save our lives.
we were trying to fix this problem with the reports the whole week.

thanks again.
Adamo wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, Oct 28 2004 9:29 AM
I've followed all the solutions on this page but I still get the "cannon find keycodev2.dll" error. I am trying to deploy to my web server. I copy the files from my local machine to the wwwroot folder on the server. I've included the setup project the msm files. I have .net framework 1.1 installed on the server. Any help is appreciated.

Thanks
Raj wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, Nov 5 2004 2:29 AM
Hi this discussion board was a lot helpful since i had the same issue. Can we prompt the user to give the license key?. ie the key should be give dynamically.. plz help
Peter van Ooijen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Mon, Nov 8 2004 1:32 AM
I don't think so. Apart from the technical side. The license key is your license which comes with VS. It's not the users license.
Web development wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Sat, Nov 27 2004 1:59 PM
You're wanderful, I tried many solutions neither worked till I got this solution. Thanks a lot.
Venky wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Mon, Nov 29 2004 11:03 PM
Thanks and it helped me a lot
venky
Rui Santos - Portugal wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, Dec 3 2004 5:04 AM
Just a note for everybody who haven't solved the problem yet:

let's say your license key is
AAP50-GS00000-15M00FS

don't forget to remove de "-"'s

ex: AAP50GS0000015M00FS

this was the solution for my problem.. a bit lame i might add..
Victor Ramírez wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Tue, Dec 28 2004 8:52 AM
This is a killer tip!.. Thanks
Ronnie Kleinfeld wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, Jan 6 2005 1:08 AM
Thanks,
I've been working on this for at least 1 week
That just a great idea you have here

Ronnie
Mike wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, Jan 13 2005 8:59 AM
Excellent , solved an issue I had
Thanks
Himani wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, Jan 21 2005 1:21 AM
Hi Peter
I am having a web application built with microsoft visual studio.net 2003 having crystal reports for visual studio .net 2003.
On running the application at the production server,the report viewer object does not show the refresh button, the Goto page button ,and all the images as ole objects have vanished.

Why is this so??
Peter van Ooijen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, Jan 21 2005 7:15 AM
hi,

hard to say exactly but it smells like a registry problem. The ole objects not being registered properly.
Himani wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, Jan 21 2005 11:23 PM
one more question peter,if my production server already has web applications installed in them with the correct license key,and when i go to install a new application if i specify the wrong license key,will my application show the crystal report correctly.The reason why i ask this is that my understanding says that the merge module license key only installs the correct version of crystal dll in the gac,so if its already done due to previous applications running (Which were bult using the same crystal reports version)on the same server.
Another question is what if i move my installed application folder to say another drive say D: drive.What will happen in that case ???wrt to crytal reports ??
Peter van Ooijen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Sat, Jan 22 2005 3:58 AM
My suggestion is to build a CR deployment package independent of your apps. Needed once So Asp. NET (and all your apps running on that) have CR.
CR installment is independent of your apps. When CR works in one app and not in another you are dealing with another problem. When you move your app to another drive you'll have to inform ISS where it has gone. The virtual dir mappings should be changed.
sunny wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, Jan 28 2005 6:28 AM
Hi guys and girls
i cannot run crystal report on client machine. Whenever i try running it it gives me error which is the same one as above. I tried running regwiz but no good...can there a solution to this..pls let me know....
sunny
harsh wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Mon, Jan 31 2005 2:25 AM
if any one can help me then plz sed the solution
thanks in advance for giving your valuable time.
Peter van Ooijen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Mon, Jan 31 2005 7:32 AM
Peter van Ooijen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Mon, Jan 31 2005 7:33 AM
This post, the comments and the links. That's "all" there is :)
Neil Jefferson wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Mon, Jan 31 2005 1:37 PM
I hope someone can give me a clue why the keycode error occurs when accessing a report through a Citrix frame server. The report runs fine when using the server directly but fails through the terminal viewer.

Any ideas where to start? The preceeding comments were an enormous help in getting this far.
Peter van Ooijen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Mon, Jan 31 2005 2:15 PM
It is a Citrix problem :)
Wild guess: Citrix makes Window search for dll's on the client PC instead of the server ?
Ming Lam wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Tue, Feb 15 2005 6:11 AM
Its great and very helpful, Thanks!
Aravindan.N wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, Feb 25 2005 11:24 AM
Hi,
This archive is highly informative.
Thanks dude.
Keep going...
Prajakta wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Mar 2 2005 12:44 PM
I tried with creating setup project to solve the same problem. But still not working. It is giving as error as:

Parser Error: File or assembly name CrystalDecisions.Web, or one of its dependencies, was not found.

Plz tell me the procedure to upload setup project on web server. i think i m missing something while uploading, or is it any other problem?

Plz Do Help Me.
Peter van Ooijen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, Mar 3 2005 6:06 AM
I lack the supernatural powers to monitor your uploads. I'm sorry :/
Guillermo desde Bolivia wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Tue, Mar 15 2005 3:06 PM
Thanks Peter! Error Fixed.
Madhavi wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, Mar 31 2005 10:33 PM
We have done the setup as you suggested. But still it is giving the same error. Deployment machine has .net framework 1.1 and crystal reports 9.2 installed. We are using Visual Studio 2003 for creating the setup. Please help in solving this problem.
Pradeep Kotwal wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Tue, May 3 2005 5:42 AM
Hi...
I still can't get Crystal running on target machines as the very frustrating "Cannot find KeycodeV2.dll, or invalid keycode" keeps appearing. Client M/c has VS.NET 2003 and Crystal Report 10.0 Trial Ver. Installed. How can identifing the Installed component (specially CR Ver) on Target m/c.
pvanooijen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Tue, May 3 2005 12:14 PM
This solution is specific to the CR which comes with VS 2003. Every cr is different. Instead of looking at the CR 10 trial I would consider sql reporting services.
sridhar wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Tue, Jun 7 2005 12:34 AM
Great Article Solved a big issue. the issue seems to be regading Keycode and everybody looks in REGEditor, but this article solved my problem..
thanks once again..
Burkni wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, Jun 10 2005 3:06 AM
Thanks a lot, I am using Windows Forms and the regwiz2003.msm seems to have been my problem. Mind you, it can conflict with license.msm (which seems to do exactly the same thing) but if license.msm is added after regwiz2003.msm, it seems to work :)
Risto Krulj, Belgrade, SCG wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Mon, Jun 13 2005 1:10 AM
Thanks, man! This resolved my problem!!
Rebecca wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Tue, Jun 14 2005 8:11 AM
This issue plaged me for several days on a Win2003 system.

The solution ended up being giving "EVERYONE" read permissions on the folder C:\Program Files\Common Files\Crystal Decisions\1.0\bin where the keycodev2.dll file resides.

Cheers.
-R.
Chris wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Jun 15 2005 5:52 AM
Peter

Can you shed some light on what to do with the dummy app ? I created one as a project within my solution, re-built and copied the dll back but still the same issue. Does the dummy app need to be created separately from the solution, if so where should it be put on the webserver, in the root ?

Thanks
Fred wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, Jun 24 2005 9:32 AM
Rebecca,
I'm getting this issue at windows server 2003 too, can you give me more detail please? somebody said the user is NETWORK SERVICE instead of ASPNET here... thanks.
Anita wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, Jun 24 2005 3:52 PM
I have tried every single suggestion in this blog and I still get the same keycode message.
Here is a list of things I tried:
installed the crystal components using merge modules including the regwiz2003 module with the license key (I tried with and without dashes)
tried to suggested change to the machine.config file
plus I tried every single thing businessobjects posted for this problem (e.g. registry permissions)
I'm trying to do this on the 2003 server, the app was developed on XPSP2. I am using the bundled version of CR with VS2003.
I am about to tear my hair out, it is so frustrating. Anyone has any other suggestions that may work?
Anita wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, Jun 24 2005 4:13 PM
Forget my previous post. Finally I got it working! For some unknown reason I had an extra 1 in the beginning of the keycode. I knew it had to be something this dumb! Grrrr!
Mendy wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Tue, Jul 19 2005 6:49 AM
Is there a way of getting crystal to work on a web hosting site. The site doesn't have CR and they won't run an install file for me. I'm trying to just copy the files over but I'm still getting the keycode error message.

any help would be greatly appreciated,
Mendy
pvanooijen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, Jul 21 2005 1:16 AM
There is no way to CR running without fiddling on the hosting server. Just copying files is not enough.
Peter's Gekko wrote ASP.net applications : a rich user experince for mort-al users
on Fri, Jul 29 2005 4:48 AM
I was struck by a post Make it as rich as possible by simplegeek Chris'An where he complains about the...
KR wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, Oct 14 2005 11:16 AM
Good article. I have created a (Windows) setup installer with the specified merge files for my web application, installed the files on the web server that hosts my developement web-based application, and established the the keycodev2.dll is registered and that the ASPNET account has priveleges on the appropriate directories. I have also validated that there are no versioning conflicts as well. However, I still get a "Cannot find KeycodeV2.dll, or invalid keycode" error.

From reading the previous responses to this article, I may have located at least two reasons for the continued error, and a few unknowns:

1. One contributor stated that removing the dashes from the license key information on the Crystal_regwiz2003 merge file license key property fixed his error. I have not (I cut and pasted the license information into the property).

2. the ASPNET account has read privileges on the root_directory:\Program Files\Common Files\Crystal Decisions\1.0\Bin folder where the .dll resides, as opposed to 'Everyone'.

A third problem could be in the machine.config file in the the .NET Framework environment; I'm not sure that the username in the processModel section is set to 'System'.

Finally, I used the windows vs. web installer to deploy my web application. The application works fine except where it tries to utilize the CrystalReports functionality. Could the setup installer project be an issue as well?

At any rate, should I validate all of these potential problems?

Thanks in advance!
pvanooijen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, Oct 14 2005 4:01 PM
thanks.

For some things Crystal does need write rights. To write a temporary file to a scratch dir. See my post on exporting from Crystal
Do check the machine config.
The WIndows insatller is OK to insatll just the Crystal stuuf. You need a web insatller to install the web app itself.

And in the end : use SQL reporting services. I ran away from Crystal and am happy with RS
KR wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Mon, Oct 17 2005 9:22 AM
Following up on my previous post, it turns out that removing the dashes from the license key code when adding it to the Crystal_regwiz2003 merge file license key property was indeed the problem. The report functionality works fine, except...

The report navigation tool bar images (First, Prev, Next, Last, Go To, 'Powered by Crystal, etc...) are not being loaded when I run the report. I have:

1. Verified that the root_directory:\Program Files\Microsoft Visual Studio .NET 2003\Crystal Reports\Viewers\images\ToolBar folder exists on the server, and

2. The ASPNET account has read privileges on the folder.

Is there anything else that I need to configure or be aware of?

Thanks!
KR wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Mon, Oct 17 2005 10:35 AM
Discovered the image loading problem with regard to viewing Crystal Reports via ASP.NET. Refer to this article if you experience the same issues I did:

http://aspadvice.com/blogs/crystal/archive/2004/09/27/2223.aspx

Thanks everyone for your very helpful posts!
Sudhakar wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Nov 2 2005 4:43 PM
***** (5 star) your comments "It will read something like AAP50-GS00000-U7000RN." helped me a lot, I was trying with registration key 8888888888(10 digits) even Crystal reports (Business Objects) says to use this key which was sent through the email, but it did not worked, then I used the license number (vs.net 2003) it worked. Thanks again.
fLim wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Feb 22 2006 5:59 PM
I hope this thread still works, and that the author gets an update from his threads.
So. Web application, project setup, permissions over the registry, and all that.

Still can't work. I deployed my project on a Windows 2003 Server, did all that, and still doesn't work.

Over Windows XP it works perfectly, I mean, over a clean pc (no Visual Studio, no Crystal Reports, etc)

Anybody else has this problem?
IWannaCode wrote Crystal Reports deployment
on Mon, Mar 6 2006 10:41 AM
Pradyot wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Mon, Apr 10 2006 2:05 AM
Let me know how to run crystal report from web server just by making a copy in the wwwroot folder of a site and not deploying it. Is that possible? Becasuse everything is running fine after uploading required pages using ftp except the crystal report.
pvanooijen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Mon, Apr 10 2006 8:10 AM
Pradyot : No way ! You just have to get CR upo and running and, as all these writing should make clear, that's no fun. After that you can copy your reports.
Mahmoud El Ragaby wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Sun, Apr 16 2006 9:35 AM
good solution , thanks
IWannaCode wrote Crystal Reports deployment
on Mon, May 15 2006 2:45 PM
Shamim wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Mon, May 22 2006 2:52 AM
I cannot find the license number of Crystal_regwiz2003.msm  property
Bipin Agrawal wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Mon, May 29 2006 2:22 AM
Hi All,

Thanks for solution. But It is not working for me. I don't know it is my luck or any error I am making during deployment. I had tried every solution given in this article. But I am unlucky to get solution. So Please if any one can provide me solution, I will be very thankful. Here I want to mention one thing that I had developed my reports in Crystal Report 8.0 and I am using this reports in .Net. As it is very urgent please help me. You can send me soltion on agrawal_bipin@yahoo.co.in.
Thanks in advance
Memotron wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, Jun 22 2006 10:59 AM
I TRY with License key 1231467890
nak wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Aug 2 2006 11:22 PM
i have problem with crystal. it not work in my client machine
Rajkamal wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Mon, Aug 14 2006 7:56 AM
Still it is showing "Cannot find KeycodeV2.dll, or invalid keycode".

I have gone through all the steps (Creating websetup , Adding merge module, Setting Licence key, Registering keycodev2.dll and creq.dll , giving permission for crystal decision bin folder to everybody, changing machine configue(username property value machine to system),i tried licence key with and without hyphen,and registry permission)
Everything i have given, still it is not working.

I have developed my application in windows XP SP2 system.

I deployed my application on another Windows XP SP2 system(without .net) it is working.

I deployed my application on Windows 2003 server, It is giving
"Cannot find KeycodeV2.dll, or invalid keycode" Error.

It is so frustrating. Please anyone help me to solve this problem.
Doug at CC wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Aug 16 2006 7:09 PM
If all else fails try

http://support.businessobjects.com/downloads/merge_modules.asp#07

You can download all necessary files in one neat package and then create a setup file or msi.  Works great with visual studio 2005 even comes with a word document on how to.
Nguyen Phuc Nguyen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, Aug 25 2006 12:19 AM

Hi,

It's very useful. Thanks very much.

BTW, I'm facing a problem with subreport deployment. All reports without subreports are OK on both my site & Clients site. In the otherwise, the reports with subreport show incorrectly on Clients (some fields missing) although it's normal on the developers' computer.

I think there're other components we missed but I found nothing.

Have you met it and solved it?

Thanks.

Vasim wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Sep 13 2006 12:24 AM

Hi all,

I want the registration key for Cysteal Report 9,

Can any body provide that,

my eid is vasim.secret@gmail.com

pvanooijen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Sep 13 2006 3:16 AM

Vasim, the key for VS is provided in VS, an example is provided in the body of this post.

sylvester george wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Sep 27 2006 2:25 AM

Thanks you very much!

Peter's Gekko wrote Crystal reports roundup
on Thu, Sep 28 2006 3:00 AM

Getting Crystal Reports to work on a webserver is a bumpy road. Solving parts of the puzzle is usualy

Ashwini Nayak wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, Sep 29 2006 1:00 AM

Hey frnds I m in a fix please helpme out.

   I had adevelpoed a program using vb 6.0 and crystal 9.2, but now when i am deploying it at the customer site. the reports are not working, even if i had added all the dlls and ocx in the s4etup creation needed for the crystal. can any body suggest me abt a merge module available for vb6.0 and Crystal 9.2. my e-mail  id is "ashtechnology@gmail.com".please mail me.

 please help i am in need.

Yuri Kiselev wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Sun, Oct 22 2006 7:56 AM

Thanks, Peter, for simple and working solution ! I solved my problem in 10 mins. By the way, adding the same modules to setup project (not making separate one) also works...

Syed Jehanzaib Naseer wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Sat, Nov 11 2006 5:13 AM

Well i have deployed my ITMS application on net work but unfortunately i have an error whch is Assemblies of crystal report or Keycodev2.dll, acutually how can i get free licence 2 solve this problem

lfryan wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Tue, Nov 28 2006 12:10 PM

Hello Peter:

I have what may be a naive question.  I created a dummy web setup project in VS 2003 with the merge modules that you suggested so that I could get the correct dll setup on a web server. When I install the project on an IIS server, it puts a bunch of dlls on the machine in c:\program files\common files\crystal decisions\1.0, but does not appear to install such dlls as CrystalDecisions.CrystalReports.Engine.dll, CrystalDecisions.Shared, etc. in c:\program files\common files\crystal decisions\1.1. Why aren't those installed along with the others? Do I assume that they are not necessary to run a Crystal Reports web app?

Thanks for any help!

pvanooijen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Tue, Nov 28 2006 1:43 PM

There's only one answer: just try it :)

Sudhir wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Sat, Dec 30 2006 3:53 AM

i have same problem

cannot find keycodev2.dll or invalid keycode

plz help me

and tell me how can i register or set .msm

files on client

pgaynier wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Jan 10 2007 1:12 PM

Thanks Peter. Installing crystal through a WINDOWS setup project INSTEAD of a WEB setup project did the trick for my web server.

I no longer get the "cannot find keycodev2.dll or invalid keycode" error!

chary wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, Feb 8 2007 7:55 AM

i developed dotnet application with c# and crystal reports and deployed on server. its working properly in our test machine, but failing to load report on server when there is image fetching from database. in all other cases if there is no images its working even on server.

Anyhelp is gr8ly appreciated.

pvanooijen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, Feb 8 2007 9:38 AM

I bet this is a rights problem. Are your images stored in a folder ? With the appropiate rights to read them ?

chary wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, Feb 9 2007 1:25 AM

Hi pvanooijen, thnx for the reply...

all images are stored in database (sql) itself. Interestingly if I run the report from crystal reports it shows the report correctly with image, but from dotnet application its not showing at all. "FAILED TO RENDER PAGE" is coming from application.

Hope I can get a solution now from you.

pvanooijen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, Feb 9 2007 2:25 AM

I still think it's a rights problem. Using CR you're, reading between the lines, accessing the DB under your user credentilas, unders asp.net under the asp.net acount. The asp.net accoutn has limited rights.

Sachin Jain wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Feb 28 2007 1:27 AM

hi..

I am crystal report in my .net 1.1 app. with connection setting to my local server Now i want to know When im uploading my application on server whose sql server si differnet than my local so what thinds i need to change as i cant verify database for my crystal reports as we dont av VS.net installed thr so how can I run my crystal report. I m using this code in cs file

crconnectioninfo.ServerName = "AO";

crconnectioninfo.DatabaseName = "GRExpo_db";

crconnectioninfo.UserID = "GRL";

crconnectioninfo.Password = "grl123";

But on Client server DB server name is "Cserver"......

sumant kumar wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Feb 28 2007 10:49 AM

Thanks a lot........  Great Yaar !! you had done great job !!............

i have also some script such as ... how to store and retrieve images from database..........insert checkbox,dropdown in datagrid................restoring and backup of database on button click.....

               And many more... on which i had faced problem..... i want to share with others who are facing problems in it.

       Please feel free to ask to me.... at sumantbaranwal@yahoo.co.in

 Thanks again This code really worked for me...............!!!

pvanooijen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Feb 28 2007 1:56 PM

@Summant: Start a blog ! That's _the_ way to share !

darkside wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, Mar 1 2007 12:08 PM
Manoj wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Tue, Mar 27 2007 8:05 AM

Its allworking  for me but still i does not get key code of crystalreport

Does Any body Then told me how get ?????????????

Junkdrawer wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, Apr 19 2007 8:11 PM

OK:

For the hardcore cases, check to make sure this key is there:

HKEY_LOCAL_MACHINE\SOFTWARE\Crystal Decisions\Crystal Reports\VSNET\Keycodes\CR9 NET

I went nuts until I found that, for some odd reason, the installer I made didn't create the last two parts of the key.

More details on this key here at KB c2010777

http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=http--supportbusinessobjectscom-communityCS-FilesandUpdatesNoNav-crnetkeycodefixzipasp&sliceId=&dialogID=19522135&stateId=1 0 19518537

The Putxi Project wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, May 3 2007 4:47 AM

I can't find the field property LicenseKey where to put the key.... anyone can tell me how to find it in the VisualStudio 2003? Thank's

putxi.cat2@gmail.com

http://putxi.wordpress.com

nikki wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, May 31 2007 8:54 AM

i have developed windows application in vb.net.when i run the crystal report on the developer pc its working fine. when i run the report on client'system its not working .it says "can't find keycodev2.dll or,invalid keycode" error.plz help me

thanks

kpreddy wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, Jul 19 2007 10:14 AM

hai,

when i install client system  

cannot find keycodev2.dll in vb.net deploy application

Hareesh wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Jul 25 2007 7:21 AM

Hi,

I have a Win application which is developed using VS.Net2003 and crystal report 9. I have installed this in windows xp, 2000 etc. It is working fine every where. Two days back i have installed it in a vista machine. Everything working fine except reports. When i try to view the report, I am getting a

"Cannot find KeycodeV2.dll, or invalid keycode" error.  

The full error message is :

     Cannot find KeycodeV2.dll, or invalid keycode

     Source : CrystalDecisions.CrystalReports.Engine

     Stack : at .F(String  , EngineExceptionErrorID )

     at .B(String , Int32 )

     at CrystalDecisions.CrystalReports.Engine.ReportDocument.;()

     at CrystalDecisions.CrystalReports.Engine.ReportDocument.InternalInit()

     at CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor()

Anybody have any idea on this?

Sunil wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Aug 22 2007 2:45 AM

I want to know which dll are required for viewing report s which are created in Crystal report XI

Ram wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Sat, Oct 6 2007 5:55 PM

Hello,

    I have developed a crystal report in my windows app, it is working fine when i deploy on client machine as long as the OS is XP or 2000, but trouble started after I installed in on Vista. For some reason the keycodev2.dll is not getting registered on vista. maybe over security of Vista is avoiding it to register the dlls? Did anyone find a solution of a quick fix for this?

Mayank wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, Oct 26 2007 4:46 AM

Hi,

I have created setup with these merged modules and installed on my server.

but still getting error as below

[LoadSaveReportException: Load report failed.]

  .I(String , EngineExceptionErrorID ) +272

  .E(String , Int32 ) +56

  CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String reportName, OpenReportMethod openMethod, Int16 parentJob) +1262

  CrystalDecisions.CrystalReports.Engine.ReportClass.Load(String reportName, OpenReportMethod openMethod, Int16 parentJob) +456

  CrystalDecisions.CrystalReports.Engine.ReportDocument.)() +98

  CrystalDecisions.CrystalReports.Engine.ReportDocument.get_Database() +7

  CrystalDecisions.CrystalReports.Engine.ReportDocument.SetDatabaseLogon(String user, String password) +64

  DSRBWeb.Protocols.MainIntro.btnrpt_Click(Object sender, EventArgs e)

  System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108

  System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57

  System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18

  System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33

  System.Web.UI.Page.ProcessRequestMain() +1292

Can any one please help me in this issue?

thankx in advance for your help

Zeenath wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, Nov 8 2007 4:26 AM

sir

My crystal report is showing error- page cannot be rendered. the reports contain some long text like certificate which I typed in a textbox control. when this text box is removed the report works fine but with the text box it shows error in the browser. Is it the problem with page setup or anything else. can u help me. this is very urgent. can u pls send ur answer back to my id - mail2zeenath@gmail.com

VIJAYA wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, Jan 3 2008 5:05 AM

Hi Anybody,

        I installed my product in Server PC. I am using Crystal Report to display the records. In Server Crystal Report is working. Same procedure i did in my Client PC. But in my Client PC Recrod not showing.

       My Customer is wating for my valuable answer. I tried in several ways, but i could not get the result.

      What to do? Is anybody is there to answer plz.

Best Regards

VIJAYA

VIJAYA wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, Jan 3 2008 5:10 AM

Hi,

    It is wonderful to get result as soon as possible.

    Thnaks to all

Best Regards

VIJAYA

José Wilson wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Mar 5 2008 10:10 AM

Hi Peter,

I´m using crystal reports 10 in my web server and i´m getting the error "The maximum report processing jobs limit configured by your system administrator has been reached".

I google and try a lot for os solutions and nothing.

Did you experienced  something like that?

pvanooijen wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, Mar 6 2008 5:34 AM

@ Jose,

no, I'm through with CR

codebetter.com/.../129605.aspx

Community Blogs wrote Why Does Crystal Reports ALWAYS kick my Axx - Part VI -- Load Report Failed
on Mon, Apr 21 2008 6:08 PM

Here we are again cussing at Crystal Reports. Actually things between me and CR have been amazingly good

SSR wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, May 9 2008 2:37 AM

Hi,

I'am getting this error while I try to view a report in the CR viewer

There was an error retrieving data from the server: File frs://Input/a_056/003/000/824/~ce150c43a5b57562a6.rpt not found on File Repository Server.

I'am stuck with this problem since a ling time...

Need help, please......

sean howe wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, May 9 2008 10:11 AM

Newbie question here.  When we create a report, save it, when we execute it it takes us back into the report developer.  How do we get it to run when we double click the report instead of going into developer?

Thank you.

Noobie wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, Jun 12 2008 6:10 AM

Hey, i included the merge modules in the deployment project and that worked .

However now, while exporting it to pdf it gives me error - access to 'C:\DOCUME~1\FFUK\ASPNET\LOCALS~1\Temp\12-234' denied.

deployment machine has Win2003 server,

Also I have one more asp.net application on the same server already and crystal report has been working fine on it from a long time with export function as well.

Please advice.

Cheers

Fahad Zaki wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Fri, Jun 20 2008 1:48 AM

Thanks man.

Thanks for sharing.

You have a good heart.

dezcoal wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Sep 10 2008 9:50 AM

Still it does not works for Windows Vista !!! I have my app on Visual Studio 2003 and it works fine on XP but not when I run my app on Vista pc's !!!! Any help???

dezcoal wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Wed, Sep 10 2008 10:39 AM

Maybe I was not that clear... I mean that I did the whole registration, the merge modules, that you said and this keycode error was solved very well for XP, but when I use the same setup for Vista I have the same keycode error again. I looked for the new merge modules on support.businessobjects.com/downloads/merge_modules.asp  (CrystalReports11_5_NET_2005.msn   80MB by the way =O =O) and used the same Crystal_regwiz2003.msn for the registration (because its  the same Visual Studio 2003 with his own Crystal Reports)

But I have the same keycode error again =( =(

Any help

Subramaniam wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Thu, Nov 20 2008 8:11 AM

Hi am using the vs2008 and for reporting v use the crystal reports that available in .netfrmework 3.5 while hosting in server it gives the error CRREDIST*. some error .

pls give me the solution to clear this problem..

I want to generate the reports for web applications.

Whether i want to vs2008 in server or else//...?

pls give me the solution...

sachinc wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Sun, Jan 4 2009 11:53 PM

hi all i want to create installer

firstly which checks .Net framework2.0 is installed or not if not

install .Net Framework

second install my application

and third check that crystal report 8.5 is installed or not if not install crystal report 8.5

sha wrote re: Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
on Tue, Mar 3 2009 9:19 PM

hi, i am using VS 2003 with crystal report.

i create a web site with report for my client and upload to web hosting. and it give me this error :--

Cannot find KeycodeV2.dll, or invalid keycode.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: CrystalDecisions.CrystalReports.Engine.InternalException: Cannot find KeycodeV2.dll, or invalid keycode.

Any idea what should i do?

Add a Comment

(required)  
(optional)
(required)  
Remember Me?