Unable to access data. Please contact your system administrator or customer support...

Problem

You receive this error message when attempting to run a third-party control, such as a Crystal Reports report or an Infragistics chart:

Unable to access data. Please contact your system administrator or customer support ...

Incorrect data source

The data source in your application’s Crystal Reports RPT file is incorrect.  When you deploy your application to production, make sure to alter the data source for any Crystal Reports report files included in your application.  Make these changes in the .RPT file created by Crystal Reports.  If you don’t update the data source for your Crystal Reports files, they may still refer to data sources present in your development machine even after you deploy your application to the production machine.  As a result, your Crystal Reports files cannot access your production database and will throw error messages such as “Unable to access data.”

Missing third-party control DLLs

Make sure the third-party control DLLs are located in the same location on both your Development and Production machines.  For example, when configuring an Infragistics Webchart Control, you are prompted for Designer the location of the required DLLs. This is done so Iron Speed can copy those files to your application ‘Bin’ directory and once that is done, the files must be in the same location for the development and production machines.  No other path adjustments are needed.

Folder access permissions needed

This error may be caused by one or more folders used by the third-party control not having sufficient read or write permissions.  In particular, make sure folders have ‘Write’ permissions.

See Also

Part VII:  Troubleshooting Applications

Application Will Not Run

Application Runs But No Data is Displayed

Application Error Messages