Distance calculation error

Discussion created by alhazrad on Feb 3, 2011
Latest reply on Dec 7, 2011 by manmade1234

I am trying to calculate straight line distances from a raster layer but i keep getting errors.
In the spatial analyst toolbox, i clicked Spatial analyst>Distance>straight line.

When i click ok i get an error message:

ERROR 010328: Syntax error at near symbol NEW-LINE
ERROR 010267: Syntax error in parsing grid expression

I've been have been having this error for a week or so and i don't see a way out.
Some people suggested to me that i had to remove spacings from file directories but that didn't help me solve the issue.

Please, any tip would be welcome.

Thank you