Visual Studio 2003 Crystal reports - crystal-reports

An unhandled exception has occurred in a component in your application.
Cannot find KeycodeV2.dll, or invalid key code.
Visual studio 2003 64 bit Win 7 (On printing CR).

We solved a similar issue.
Environment running Win 7 64bit, application generated by VS2003 (.NET 1.1).
Solution was uninstall Crystal Reports, run CCleaner, reinstall Crystal Reports.
We understand the error occurred because something was wrong with Crystal installation or there was a conflict with an other installation.
Note: i think i should add a comment instead of post it as an answer, but i have not enough reputation to add a comment.
EDITED: btw, there is a similar unanswered post:
Cannot find KeycodeV2.dll, or invalid keycode
And i did some research and found some people purposing similar explanation (problem with the instalation).

Related

Deploy Acumatica Framework Tools fails

I am trying to Deploy Acumatica Framework Tools using the Framework Configuration Wizard and I getting the following error:
Exception occurred while installing resources.
Inner Exception:
Can't find the Visual Studio template items location.
I have Visual Studio 2017 Enterprise running on Windows 10 Pro. Both are up to date.
Any ideas on how to correct this. I’m going to the Acumatica Summit next week and need to do the T100 and T200 course.
Thanks
Tom
The wizard is likely looking for the VS2015 registry folder. Until installers are fixed to check in the VS2017 location I recommend you create the VS2015 registry folders with these 4 dummy string keys pointing to VS2017 folder.
The key values in the picture below point to the default VS2017 folders. I tested this workaround a couple months ago on a colleague computer and we experience no ill effects:
I faced the same problem, but I could not change my registry due to company policy. My regedit.exe was unavailable:
So, to fix this issue I installed Visual Studio 2015 Community Edition .
That fixed the issue.
Do not forget to restart your computer after installation, otherwise - you will get the same error. If you solve this problem with installation of VS2015, you will be able to use Visual Studio Template
in VS2015 only. It will not be available in other versions of Visual Studio.

Active Report 6 not working in Windows 10

I am using Active Report 6. Recently i updated my windows 8.1 to Win 10.
After that i can work on Active Reports through visual studio.
But I am not able to view report by running the application.
It keeps saying loading and then the message "The connection was reset".
I don't think this issue is related with ActiveReports.
In case, you are using a Web Project, this might be ASP .Net related issue. Please check following links discussing the same:
http://www.codeproject.com/Questions/291266/The-connection-was-reset-after-clicking-on-a-butto
getting a connection was reset error on asp.net
Anyhow, ActiveReports 6 surely not supported on Windows 10. Hence, for using AR on Windows 10, you need to update the ActiveReports version to AR9 or AR10:
http://arhelp.grapecity.com/webhelp/AR10/index.html#Requirements.html

Crystal Reports XI compatibility with Windows 2012

I have a Crystal Reports application that is hosted in IIS on a windows 2003 32 bit Server. The Crystal reports version in use is Crystal Reports XI Release 2 SP 2.
We are migrating our applications to Windows 2012 64 Bit Servers. I am not sure if this version will work support on 2012 server.
Can anyone please tell me if it will work on 2012? If not, is there any workaround?
While it's not supported, you may have luck with updating your Crystal to service pack 6.
See this page for links/details on doing so:
https://blogs.sap.com/2011/06/07/where-did-all-the-crystal-reports-xi-r1-and-r2-fixes-go/
We faced two scenarios using Windows 2012 64 bit Server and Crystal Reports 10.2.0.
In the first one, everything is working fine until now.
In a second one, I was working fine too, except when someone would try to save the report as an Excel file. It would crash the IIS ASP.Net process. Something on KERNEL32.dll, but I don't have the full message in English to post.
We tried to format the server and reinstall Windows 2012 Server, but it was useless.
We researched about it and all the references and possible solutions ended up at an orientation to install Crystal Reports 13.0.12.
We installed the newer version and everything is working fine.
Please note the the version numbers are a bit confusing. I always check the version number in windows "programs and resources".

Appcrash on SetDataSource of Crystal Report

I'm using Visual Studio 10 with Crystal Reports for .Net installed. My development environment is a 64 bit pc with Windows 8 on. Everything works fine on my development pc but when I install the app on the client pc I get an Appcrash windows error on the SetDataSource of the reportclass. The only info on the crash is the KernelBase.dll is the fault module. When I look at Windows Event viewer it says there was a filenotfoundexception, but doesnt give the name of the file it is looking for.
The client pc is a 32 bit windows 7 pc. I installed the latest 32 bit runtime files on it.
Can you please help me to figure out what the problem is?
Thanks
Bit late, but for those who encounter this common problem. yourApp.exe.config contains this line
`<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>
change it to
<startup useLegacyV2RuntimeActivationPolicy="true"><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>
and problem is solved
I know this thread is old, but I ran into a similar problem (appcrash in kernelbase.dll) when upgrading my project to VS 2017 with Crystal Reports. Got the crash on the SetDataSource call. Added the line to my app.config file and the problem was solved. Hope this can help someone else as this solution really helped me!

Crystal reports database connection issues

Failed to load database information. Details: The database DLL crdb_ado.dll could not be loaded. Error in File (filename) Failed to load database information.
I am receiving this error when i try to run a crystal report from my page. on the server I have installed the CRRedist2008_x86 and the dll file is in the business objects folder, but for some reason it is still not loading. I also checked to make sure I have the msvcp60.dll which is also needed but still am unable to run the report.
The server is running Windows Server 2008, has Visual Studio 2005 installed on it (not sure if that makes any difference). The application ran fine on my local machine, but after uploading it to the server, it's not wanting to play nice.
Any suggestions/help is appreciated.
Thank You
You should get Dependency Walker and open the crdb_ado.dll to confirm all the required files are there. Although checking for msvcp60.dll is generally the right idea, I've found that people are often looking for the wrong version of those files OR that other required DLLs are also missing.
Also, be sure the redist you are using matches the version of Crystal Reports you have referenced in your project. There is a difference between using, say Crystal Reports 2008 on top of Visual Studio 2005,, versus using the BUNDLED Crystal Reports that comes with Visual Studio 2005 (Or 2008, or 2010 for that matter.).
In fact, sometimes people don't realize that their .NET projects are referencing the "comes with Visual Studio" edition of Crystal Reports because they happen to have Crystal Reports version <whatever> installed on their PC.
That said, if you are pretty confident your redist of CRRedist2008_x86 matches what you are using, I'd focus on Dependency Walker to see if it is indicating a missing required file for the crdb_ado.dll.