1 Reply Latest reply: Dec 10, 2011 6:09 AM by Don Williams RSS

Cannot find KeycodeV2.dll, or invalid keycode

Rama Devarasetty
Currently Being Moderated

Hi,

 

First of all i appreciate your great help.

 

We are getting following error.

Cannot find KeycodeV2.dll, or invalid keycode

 

Current server details:

We have crystal reports version 9.1.0.0 installed in Windows Server 2003 R2 Standard Edition and being used this in our visual studio project which is in framework 1.1. The crystal reports in the project are working good.

 

 

Migrating to new server, here are the details:

Windows 2008 Server Standard Edition and .NET framework 4.0.

We just upgraded the asp.net project from framework 1.1 to 4.0 and moved the code to the new server. We didn't do any crystal report installation in the new server.

When we try to run the reports, we are getting following 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.

 

Source Error:

 

 

Line 23:    

Line 24:     Public Sub New()

Line 25:         MyBase.New

Line 26:     End Sub

Line 27:    

 

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

 

Any help highly appreciated.

 

Thanks in advance

 

Edited by: rdevarasetty on Dec 8, 2011 8:48 PM

  • Re: Cannot find KeycodeV2.dll, or invalid keycode
    Don Williams
    Currently Being Moderated

    Moved to .NET SDK forum

     

    Search here, lots of info on what is supported. CR 9 is not supported in VS 2010, set your project back to 2.0 framework and install the C++ runtime files for VS 2005 Security pack. That may help you.

     

    Only versions of CR are CR XI R2 SP 6 and CR 2008 SP 2 and above on Windows 2008 Server. And I believe CR 9 only supports IIS 6 so set your App Pool to Legacy Mode.

     

    Don

Actions