I used the query in the below way but error was still there:
SELECT ID, [Create Date], [File Count] FROM #tblTemp
Finaly I had to remove spaces from column. I used FOR XML RAW and found that space was replaced with 0x0020 and column was renamed as Create_x0020_Date and parser was getting. Therefore, I replaced spaces and used FOR XML PATH.
Last Visit: 31-Dec-99 19:00 Last Update: 3-Mar-15 12:36