I am using CR 2008 sp 4 using ASP.Net Viewer and programmatically setting the datasource.
The report has the verify on first refresh (and Verify Stored Procedures ... etc.) unchecked, however when the report is moved to the production environment it runs very slowly. Further investigation via some network tracing shows that CR is attempting to contact the database which the report was originally developed on (the development database) even though the datasource is being changed programmatically. I have proved this by adding a tnsnames entry (on the prod machine) that matches the development server name that points to the production server and the performance problem goes away.
So my question is, which setting must be configured to stop CR attempting to contact the original datasource.
Many Thanks