Note that there are some explanatory texts on larger screens.

plurals
  1. POError when creating DB with a Filestream
    primarykey
    data
    text
    <p>I'm executing the following sql on a windows 7 os with sql server 2012 express.</p> <pre><code>CREATE DATABASE Archive ON PRIMARY ( NAME = Arch1, FILENAME = 'c:\data\archdat1.mdf'), FILEGROUP FileStreamGroup1 CONTAINS FILESTREAM ( NAME = Arch3, FILENAME = 'c:\data\filestream1') LOG ON ( NAME = Archlog1, FILENAME = 'c:\data\archlog1.ldf') GO </code></pre> <p>I receive this error:</p> <p>Msg 5120, Level 16, State 106, Line 1 Unable to open the physical file "c:\data\filestream1". Operating system error 259: "259(No more data is available.)".</p> <p>This is what I've done before I got here:</p> <ul> <li>Enabled the service to allow filestream from "sql server configuration manager". </li> <li>Enabled the instance to allow a filestream.</li> <li>Gave full control on the 'c:\data\' folder to the "NT Service\MSSQL$SQLEXPRESS2012" account running the sql server service </li> </ul> <p>I'm at a complete loss at this point and any help would be much appreciated.</p> <p><strong>UPDATE 1</strong></p> <p>I'm installing sql server express on a new windows 7 install to see if this fixes anything.</p> <p><strong>UPDATE 2</strong></p> <p>Tried running the same sql on a windows xp box with sql server 2008 installed and received this error:</p> <p>Unable to open the physical file "c:\data\filestream1". Operating system error -2147024891: "0x80070005(Access is denied.)".</p> <p><strong>UPDATE 3</strong></p> <p>Install on a clean windows 7 machine gives me the exact same error:</p> <p>Msg 5120, Level 16, State 106, Line 1 Unable to open the physical file "c:\data\filestream1". Operating system error 259: "259(No more data is available.)".</p> <p><strong>UPDATE 4</strong></p> <p>I was able to get this to work on the windows xp box by changing the "Log on as" to Local System.</p> <p><strong>UPDATE 5</strong></p> <p>I tried doing the same thing (changing the "Log on as" to Local System) on the windows 7 box and am still getting the same error.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload