title: Using SQL Server CE in Windows Service
body: <p>I am trying to use SQL Server CE in windows service on Windows 2008.</p>
  
  <p>Whenever I try to open connection to SQL Server CE database I get an error </p>
  
  <blockquote>
    <p>Database File not found</p>
  </blockquote>
  
  <p>I am amazed because the database file is present there no issue with that part... any ideas?</p>
  
  <blockquote>
    <p>SQL Server Compact encountered problems when opening the database.<br>
    [ Internal Error Number = 25039, Internal Error String = Access to the database file is not allowed. [,,,File name,,] ]</p>
  </blockquote>