Our database server had run out of disk space, after freeing up some disk space any query run in sql server management studio, with the results sent to grid view, resulted i
All you need to do is to open command prompt and type: mkdir %temp% and press Enter.
mkdir %temp%
Simple as that. No logout/login required.