i am tryng to create a Db from this article :http://www.databasejournal.com/features/mssql/article.php/3802241/Working-with-FILESTREAM-using-VB-NET.htm?comment=16043-0when i try to creatre the db :CREATE DATABASE testDB ONPRIMARY ( NAME = testDB_data, FILENAME = 'D:\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\testDB_data.mdf'),FILEGROUP TestFileStreamGroup CONTAINS FILESTREAM ( NAME = testDB_fs, FILENAME = 'D:\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\filestream')LOG ON ( NAME = testDB_log, FILENAME = 'D:\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\testDB_log.ldf')GO
(after i change the path and give file stream permissions with :EXEC sp_configure filestream_access_level, 2)i get this error :quote:
Msg 5123, Level 16, State 2, Line 1CREATE FILE encountered operating system error 5(failed to retrieve text for this error. Reason: 1815) while attempting to open or create the physical file 'd:\Program Files\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQL\filestream1'.