1215648 - Err Msg: "...free license could not be obtained in the time allocated" in .NET

SAP Knowledge Base Article - Public

1215648 - Err Msg: "...free license could not be obtained in the time allocated" in .NET

Symptom

An application is created in Visual Studio .NET 2002. This .NET application uses Crystal Reports for Visual Studio .NET as the reporting development tool.

When Crystal Reports 9 Developer / Advanced is installed, the CR.NET components are updated from version 9.1 to 9.2.

When the application is run, the following error message appears the first time the report document object is used:

"Crystal Reports Job failed because a free license could not be obtained in the time allocated"

How do you resolve this error message?

====================

NOTE:

This error message can also occur when downgrading applications from version 9.2 to 9.1

====================

Resolution

Installing Crystal Reports 9 Developer / Advanced upgrades the Crystal Reports .NET components (such as CrystalDecisions.Windows.Forms) from version 9.1 to 9.2.

The error occurs because the version 9.1 components are still being referenced in the project. The project needs to reference only the version 9.2 components.

====================

NOTE:

To check the version of the Crystal Reports .NET components referenced in the project, go to the Solution Explorer, and expand the References folder. Right-click the components and select 'Properties' to view the version.

====================

To update the references, click the 'Project' menu in the VS.NET IDE, and then click 'Add Reference"'. In the 'Add Reference' box, add the equivalent Crystal 9.2 components from the following folder:

C:\Program Files\Common Files\Crystal Decisions\2.0\Managed

Once all 9.2 components are added, remove the Crystal 9.1 components. The application now runs successfully.

====================

NOTES:

" Crystal Reports .NET components are only available in the Developer and Advanced editions of Crystal Reports 9.

" If you are downgrading your application, then you will need to remove the 9.2 components and add the Crystal 9.1 assemblies from the following folder:

For Visual Studio 2002

C:\Program Files\Common Files\Crystal Decisions\1.0\Managed

For Visual Studio 2003

C:\Program Files\Common Files\Crystal Decisions\1.1\Managed

====================

Keywords

DOTNET VS.NET JOB FAILED LICENSE COULD NOT BE OBTAINED Crystal Reports for Visual Studio Licensing CR.NET Components , c2012601 , KBA , BI-RA-CR , Crystal Reports designer or BusinessViews Manager , Problem

Product

SAP Crystal Reports, version for Visual Studio .NET 2005 ; SAP Crystal Reports, version for Visual Studio .NET 2008 ; SAP Crystal Reports, version for Visual Studio .NET 9.1