SAP Knowledge Base Article - Public

1605763 - Deployed VS2010 application using the WPF viewer throws an error: System.IO.FileNotFoundException

Symptom

  • VS2010 application deployed to WIN XP
  • Running a Crystal report results in the error:

Application: my_app.exe Framework Version: v4.0.30319 Description: The process terminated due to an unhandled exception. Exception Details: System.IO.FileNotFoundException stack: at CrystalDecisions.Shared.SharedUtils.GetEffectiveCulture () at CrystalDecisions.CrystalReports.Engine.CREngineRes.GetString (System.String) at CrystalDecisions.CrystalReports.Engine.ReportDocument.Initialize () at CrystalDecisions.CrystalReports . Engine.ReportDocument .. ctor () at CrystalDecisions.CrystalReports.Engine.ReportClass .. ctor () at ViewModels.Reports.HalterStammblattReport .. ctor () at Frontend.HalterControl.drucken () at ViewModels.ViewModelBase `3 [[System . __Canon, mscorlib, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = b77a5c561934e089], [System.__Canon, mscorlib, Version = 4.0.0.0, Culture = neutral, PublicKeyToken = b77a5c561934e089], [System.__Canon, mscorlib, Version = 4.0.0.0, Culture = neutral...

Environment

  • VS2010
  • CRVS2010

Cause

  • The application was upgraded from Beta CRVS2010
  • To deploy the Beta application the following application config file was used to target the Crystal Report 2008 Runtime SP3

Resolution

  • Remove the application config file
  • Use runtime designed for CRVS2010:

MSM

MSI 32 bit

MSI 64 bit

Keywords

CR2010 2010 CR4VS2010 CR4VS VS2010 NET2010 crystal reports for visual studio 2010 crforvs 13 , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , How To

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio