views:

133

answers:

1

hi i am a beginner with sql server 2008, i was trying to add a file to a filegroup so that i an create a table which uses filestream, but i keep getting an errors.

here is the code that i am trying:

ALTER DATABASE dbtry1

ADD FILEGROUP dbtry1_fg_filestream CONTAINS FILESTREAM

GO

ALTER DATABASE dbtry1

ADD FILE

(

NAME= 'dbtry1_filestream',

FILENAME = 'E:\Projects\fs.ndf'

)

TO FILEGROUP dbtry1_fg_filestream

GO

the errors:

Msg 5134, Level 16, State 2, Line 1

The path that is specified by 'E:\Projects\fs.ndf' cannot be used for FILESTREAM files because it is not on a supported file system.

Msg 5009, Level 16, State 14, Line 1

One or more files listed in the statement could not be found or could not be initialized.

Please help!

A: 

it is not on a supported file system.

  • Is it local NTFS?
  • Compressed and not using 4k clusters?

More info here

Edit:

After comment.. no, you can't use FAT 32. Why do you still have this? You are limited to 4GB file size and I'm sure FILESTREAM would hit this quickly.

gbn
no its FAT32! cant i use FAT32???i cant change my drives!
Sneha
No, NTFS only...
gbn
FAT32? Last thing I saw that used that by default was Windows ME...or a USB flash drive.
CodeByMoonlight