Symptom
- Application compiled with framework 4.0 works as expected in the development environment
- Application passes ADO .NET Datasets to the reports and thus the crdbadoplus.dll database driver
- Application uses an app.config file to configure mixed assembly mode as crdbadoplus.dll requires framework 2.0
- When the application is deployed and run, it terminates with no error
- Event logs report the following;
ApplicationTest1 has encountered an error and needs to close
Cause
- The app.config file which is saved into the root of the application on the development system that was being deployed
- When an application is compiled a file called ApplicationTest.exe.config is created and saved into the Release folder
Resolution
- Deploy the ApplicationTest.exe.config, not the app.config file
See Also
Keywords
CR2010 2010 CR4VS2010 CR4VS VS2010 NET2010 Crystal Reports for .NET Framework 4.0 crforvs 13 invalid operation exception , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , How To
Product
SAP Crystal Reports, developer version for Microsoft Visual Studio