There is probably an easy answer for this, but when I added DateTime.Now.ToString() to my fileName it adds an extra \\ for every \\ I have so C:\\Temp
DateTime.Now.ToString()
C:\\Temp
It is actually the forward slashes that are illegal in filename. Replace the forward slashes with something legal and try again.