Skip to Content

This error is thrown if you double-click a crystal report in the Visual Studio Solution Explorer.

The error is caused by a failure in the solution project file (extension csproj).   


Close your solution and the use the “Find in Files” option in Visual studio on your project folder. Search for .rpt

Below is an example;


<EmbeddedResource Include=Resources\mycrystalReport.rpt>

      <Generator>CrystalDecisions.VSDesigner.CodeGen.ReportCodeGenerator</Generator>

      <LastGenOutput>DHAReport.cs</LastGenOutput>

      <SubType>Designer</SubType>      <==== Wrong entry

    </EmbeddedResource>



Remove the Subtype node and store the cproj file.


Open your solution and now you can open the Crystal Report directly by double-clicking the report in the solution explorer.


To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply