Resolving the problem:
Changing the processing to Limited Local processing from Database Only Processing
Steps:
For Situation # 1 (Report Studio):
1.Open the report in Report Studio
2.Select the query
3.Under Properties --> Query, change Processing to Limited Local
4.Save the report
For Situation # 2 (Framework Manager):
Switch to Limited Local processing on the data source in the Framework Manager Model and re-test. Be aware that this may cause the additional errors mentioned in the Error messages section for Situation #2 above. If this occurs:
Verify that the key values used in the join are not of the data type RAW, which is not supported by Framework Manager. This means Framework Manager is not able to perform the join after loading the data for local processing.
Use the cast function to cast the RAW data type to a data type which is supported by Framework Manager