I figured out my problem. In the connection properties, I was using the credentials supplied by the user of the report. I changed that to the credentials stored on the report server and put in a system account with the appropriate permission for running reports.
I also checked the box, Use as Windows credentials when connecting to data source.