I have a custom FetchXML based report that needs to work on different CRM 2011 deployments/servers. The report works fine in my testing environment. However, it fails once I deploy the solution on one of the servers. The issue is the connection string and possibly access rights. I did try both a "Use shared data source reference" and "Embedded connection - Microsoft Dynamics CRM Fetch". However, in both settings I need to define the "Connection String" which obviously changes depending on the server it's deployed on. How can I modify the connection string on the server where the solution is deployed? Even better, is there a way the string can be automatically pulled from the solution during the deployment process?
The second issue might be credentials. Based on some trials I did, I believe I have to choose "Do not use credentials". In this case access rights are checked against the user that is currently logged in. Is this correct?