Get your crystal report working on your MERs server (cannot find keycodev2.dll, or invalid keyc

Source: Internet
Author: User
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 notoriousCannot find keycodev2.dll, or invalid keycodeError message. the crystal site has loads on support on that which tells you want 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. NetNotOf. net Framework. if there is no vs.net installed on the webserver these files will be missing on the server. A deployment project in. 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 createWindowsForms setup before the server wocould see Cr.

Blog on, Peter

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.