We have a SSRS subscription which emails a report in CSV format to our client. When there is no data, client expects the file to just show the header:
colume1,colume2,colume3,colume4
However, the file is showing an extra line with comma, suggesting a data row with empty string fields:
colume1,colume2,colume3,colume4
,,,
This screws up client's file parsing. Is there any way to remove the extra line of ",,," in the end? We already made an adjustment in the configuration file to specify "ExcelMode" as False, because CSV rendering also adds an extra line feed by default when there is data.
The version we have is 2008 R2.