title: asp.net web form C# Streamreader can't find the text file
body: <p>Trying to make a silly web form that keeps some small information in a text file inside a "data" folder. The code is:</p>
  
  <pre><code>StreamReader sr = new StreamReader(Server.MapPath("data/FeatureList.txt"));
  String FileText = sr.ReadToEnd().ToString();
  sr.Close();
  </code></pre>
  
  <p>Getting an exception:
      Could not find file 'C:\Users\Tom\Documents\Visual Studio 2013\WebSites\WebSite2\data\FeatureList.txt'.</p>
  
  <p>And, naturally, the file is there right in the specified folder.</p>
  
  <p>Perhaps I have a permission error and IIS can't read the folder or file? Maybe I need to tell Visual Studio 2013 something about this folder? I haven't played with one of these asp.net programs in a while, not since... Well, a couple years ago I made a web page that reads text files and adds captions to displayed photos. </p>