The filename, directory name, or volume label syntax is incorrect - Error

Added by Stefano A. over 10 years ago

Hi all,
i have a big problem: when i try to install redmine 0.8.4 on my server i retrieve this error:

rake db:migrate RAILS_ENV="production" 
The filename, directory name, or volume label syntax is incorrect

i'm running the free RC build 7100 of windows server 2008 with the latest updates.

Rails version: 2.1.2
Gems version: 1.3.1
Ruby version: ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]

Replies (13)

RE: The filename, directory name, or volume label syntax is incorrect - Error - Added by Andrew Leaf over 10 years ago

Hello Stefano,

Where are you running it from in your system? Are there any spaces or non-alphanumeric characters in the path? If so, these might cause issues.

Cheers,

Andrew

RE: The filename, directory name, or volume label syntax is incorrect - Error - Added by Stefano A. over 10 years ago

i'm running windows server 2008 r2 (it's different from windows server 2008) and the path where redmine is located is:

C:\inetpub\wwwroot\redmine

RE: The filename, directory name, or volume label syntax is incorrect - Error - Added by Stefano A. over 10 years ago

64 bit... windows server 2008 r2 is only 64 bit :-) and i tried to put redmine in another folder but i have this error too... help me!

RE: The filename, directory name, or volume label syntax is incorrect - Error - Added by Andrew Leaf over 10 years ago

What SQL Database are you using? MSSQL, MySQL? Do you have Cygwin installed, or are you running from the MS Command Prompt?

RE: The filename, directory name, or volume label syntax is incorrect - Error - Added by Stefano A. over 10 years ago

i'm using mysql server that is running perfectly and i'm using the cmd pront of windows... I don't know Cygwin...

RE: The filename, directory name, or volume label syntax is incorrect - Error - Added by Andrew Leaf over 10 years ago

You might want to give this a try, to run the MS Command Prompt in 32-bit Mode - it's worth a shot, especially, since there does not appear to be a Win64 version of Ruby 1.8.6.

http://www.tipandtrick.net/2008/how-to-open-and-run-32-bit-command-prompt-in-64-bit-x64-windows/

Unfortunately, I don't have access to a 2008 R2 box to try it on.

Cheers,

Andrew

RE: The filename, directory name, or volume label syntax is incorrect - Error - Added by Andrew Leaf over 10 years ago

Actually, I did some more digging, and I think the issue you have may be addressed in this topic.

http://www.redmine.org/boards/2/topics/4392

Cheers,

Andrew

RE: The filename, directory name, or volume label syntax is incorrect - Error - Added by Stefano A. over 10 years ago

i tried to run the command under ms dos pront 32 bit with no results GRR... it's impossible, it must works! i'm using mysql 5.1, can be this the problem?

RE: The filename, directory name, or volume label syntax is incorrect - Error - Added by Andrew Leaf over 10 years ago

After reading the above mentioned post, I would try mysql 5.0.

Good luck.

Andrew

RE: The filename, directory name, or volume label syntax is incorrect - Error - Added by Stefano A. over 10 years ago

mm but i think it isn't a mysql problem... i will try...

RE: The filename, directory name, or volume label syntax is incorrect - Error - Added by Corrado Polentes about 10 years ago

Dal nome sei un italiano in lista. Potresti scrivermi all'indirizzo email che trovi cercando il mio nome cognome su google per metterci in contatto? ciaociao corrado

RE: The filename, directory name, or volume label syntax is incorrect - Error - Added by Stefano A. about 10 years ago

ciao, ho risolto con una nuova versione di windows server 2008...

(1-13/13)