Get your Crystal report working on your customers server (Cannot find KeycodeV2.dll, or invalid keycode)
发表于2004/10/13 11:20:00 1215人阅读
分类： C# And ASP.NET
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
- 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
Xcode4 布置Git环境Your working copy is out of date. Try pulling from the remote to get the latest change
guoshenglong11 2013-07-18 11:44 2403
MySql连接错误：Cannot get hostname for your address
sean_cd 2012-05-11 14:23 395
Remote IIS Debugging : Debug your ASP.NET Application which is hosted on "Remote IIS Server"
yefengmeander 2011-11-25 13:20 974
How to find out why your account keeps getting locked with Windows Server, TMG and Webspy
wishfly 2011-05-31 07:39 1142
C:\Windows\opencv_highgui2411.dll”，Cannot find or open the PDB file
w77AYU 2016-12-06 20:12 1201
Your Customers Do Not Mean What They Say
wangzi11322 2015-07-16 09:11 922
HDU - 2095 find your present (2) 异或运算
fsq0827 2017-01-19 21:46 158
HDU2095 find your present (2)
moonlighttlj 2017-03-11 20:18 133