SAP Knowledge Base Article - Public

1912533 - Error: This document could not be opened

Symptom

  • Opening a report in design view of the Visual Studio .NET IDE causes the error:

C:\Users\JGRIFF~1\AppData\Local\Temp\{<GUID>}.rpt
This document could not be opened.

 

 Untitled.png

Environment

  • SAP Crystal Reports, developer version for Microsoft Visual Studio
  • Microsoft Visual Studio (2010 / 2012)

Reproducing the Issue

  1. Add a report to the CR Designer for Visual Studio .NET
  2. The report must have two parameters of the same name:

 

Untitled.png

Cause

  • A report cannot have two parameters of the same name
  • Only Crystal Reports for Visual Studio 2005 allowed for this

Resolution

Remove the unused parameter

Keywords

param crvs cr4vs net design , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Problem

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio