Re: Create DB for filestream failes

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



peleg (peleg@xxxxxxxxxxxxxxxxxxxxxxxxx) writes:
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-0
when i try to creatre the db :
...
Msg 5123, Level 16, State 2, Line 1 CREATE 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'.

Check the service account for SQL Server. There is a known issue where
using NetworkService as the service accounts does not work with Filestream.
Use a regular user account for the service account and you should be fine.

Use SQL Server Configuration Manager to change this.



--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.



Relevant Pages

  • RE: Upgrade from 2005 to 2008: Invalid Credentials
    ... it seems that this issue was related to NETWORK SERVICE account for SSIS service could not be validated on DC. ... Please first go to your Services pane, double click your SQL Server Integration Services, switch to the Log On tab to check if the service account is NETWORK SERVICE account. ... Install SQL Server 2008 from the Command Prompt ... Microsoft Online Community Support ...
    (microsoft.public.sqlserver.setup)
  • Re: Error 0x80070534 when changing service account
    ... The only solution that I have been able to find for this error is to RDP into the SQL Server using the new Service account you want the SQL server to run under. ... prefix, an error 0x80070056 "The specified network password is not correct." ...
    (microsoft.public.sqlserver.security)
  • Re: sql error on sbs2003
    ... admin privileges for your SQL Server service account. ... FCB::Open: Operating system error 5occurred while ...
    (microsoft.public.windows.server.sbs)
  • Re: SPN Requirement
    ... The service account for SQL Server needs to be a domain ... account to allow Write Public Information rights but I'd ... The SQL Network Interface library could not register the Service Principal ... Name for the SQL Server service. ...
    (microsoft.public.sqlserver.security)
  • Re: Question about "Distribution clean up: distribution" Job
    ... I granted the SQL Server Service Account "Full Control" over ... the Snapshot Folder and the job has been running successfully ever since. ... Then I went into the job step and copied the command it was ...
    (microsoft.public.sqlserver.replication)