title: Server.MapPath - Not allowed to load local resource error
body: <p>I use <code>Server.MapPath</code> to access some images on server. And I got the right path but can't open it.
  The error I got is:</p>
  
  <pre><code>Not allowed to load local resource: d:/Project/MyProject/WebUI/Uploads/User_18234/leopard.jpg
  </code></pre>
  
  <p>I suppose that this will work on server. But I need it on localhost to test. Is there any solution for this?</p>
  
  <pre><code>...
  userId = GetUserId();
  string path = Server.MapPath("Uploads/User_" + userId + "/");
  model.Name = path + model.Name + "_Original." + model.Extension;
  ...
  </code></pre>