title: how to connect .mdf in the App_ folder file in web hosting (ASPNET)
body: <p>I am new in ASP DOT NET .</p>
  
  <p>I created a website in ASP DOT NET.</p>
  
  <p>I uploaded my *.MDF file in the App_Data folder in my web hosting .</p>
  
  <p>There is an App_Data folder in my http docs .</p>
  
  <p>I uploaded a file called trdagingcalls.mdf in the App_Data folder.</p>
  
  <p>I am using Grid view in my website to display the data stored in trdagingcalls.mdf file,</p>
  
  <p>My connection string</p>
  
  <pre><code>&lt;add name="ConnectionString" connectionString ="data source=.\SQLEXPRESS;database=trdagingcalls.mdf;Integrated Security=SSPI"/&gt;
  </code></pre>
  
  <p></p>
  
  <p>I am getting an error the error is</p>
  
  <p>A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)</p>
  
  <p>Please check this link you will get idea </p>
  
  <p><a href="http://www.mcxnsecalls.com/insert-calls.aspx" rel="nofollow">http://www.mcxnsecalls.com/insert-calls.aspx</a></p>
  
  <p>I want my website to read data from App_Data folder contain in the http docs</p>
  
  <p>Can any one pls say mw where i am going wrong.</p>
  
  <p>There Would be a great appreciation if someone could help me.</p>
  
  <p>Thanks In Advance.</p>