title: Accessing a SQL Server database from Visual Studio
body: <p>I am using Visual Basic 2010 to write a front end to a database I created in SQL Server 2008. The problem I am having is when trying to add the SQL Server database as a new data source, I get the error message: </p>
  
  <blockquote>
    <p>You don't have permission to open this file. Contact the file owner or an administrator to obtain permission</p>
  </blockquote>
  
  <p>So is this a permission I need to set up in SQL Server to allow the connection from VB? If so, can someone please tell me what this is? </p>
  
  <p>Really stuck with this, hoping to find an answer asap if possible.</p>