title: 'System.web.HttpException Resource cannot be found' error in first time using visual studio 2017 for Mac
body: <p>I have used visual studio in windows before but this is my very first using IOS and I am getting error in the first time running of my asp.net file. I have checked all the possible dependancies but nothing is wrong. My Globel.asax file doesn't seems to be problem but I am not sure about my web.confing. Here is the error page that I am getting; </p>
  
  <blockquote>
    <p>System.Web.HttpException</p>
    
    <p>The resource cannot be found.</p>
    
    <p>Description: HTTP 404.The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.</p>
    
    <p>Details: Requested URL: /</p>
    
    <p>Exception stack trace:</p>
    
    <p>at System.Web.StaticFileHandler.ProcessRequest (System.Web.HttpContext context) [0x00094] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/System.Web/System.Web/StaticFileHandler.cs:77 
      at System.Web.DefaultHttpHandler.BeginProcessRequest (System.Web.HttpContext context, System.AsyncCallback callback, System.Object state) [0x0007f] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/System.Web/System.Web/DefaultHttpHandler.cs:101 
      at System.Web.HttpApplication+d__225.MoveNext () [0x008d4] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/System.Web/System.Web/HttpApplication.cs:1335 
      at System.Web.HttpApplication.Tick () [0x00000] in /Users/builder/data/lanes/4992/mono-mac-sdk/external/bockbuild/builds/mono-x64/mcs/class/System.Web/System.Web/HttpApplication.cs:927 </p>
  </blockquote>
  
  <p>This is my aspx file and haven't code for cs file yet.</p>
  
  <pre><code>`&lt;%@ Page Language="C#" Inherits="fyp_codes.Login" %&gt;
   &lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head runat="server"&gt;
  &lt;title&gt;&lt;/title&gt;
  &lt;body&gt;
  &lt;form id="form1" runat="server"&gt;
          &lt;div class="formclass"&gt;
              &lt;asp:Image runat="server" imageURL="~/images/PlantManager.jfif" width="200px"/&gt;
              &lt;asp:Image ImageAlign="Middle" runat="server" imageURL="~/images/quote.jfif" height="128px" /&gt;
              &lt;asp:Image runat="server" imageURL="~/images/TeamLogo.jfif" width="126px"/&gt;
  
  
              &lt;div style="text-align:right"&gt;
                  &lt;a href="aboutus.html" class="text-muted" target="_blank"&gt;About Plant Manager&lt;/a&gt;
                  &lt;!–– href replace to other pages, blank: open in new tab ––&gt;
  
              &lt;/div&gt;
  
  
              &lt;asp:label&gt; &lt;b&gt; Username &lt;/b&gt; &lt;/asp:label&gt;
              &lt;asp:TextBox id="TxtName" CssClass="input" placeholder="Enter Username" runat="server"/&gt;
  
              &lt;asp:label&gt; &lt;b&gt; Password &lt;/b&gt; &lt;/asp:label&gt;
              &lt;asp:TextBox id="TxtPsw" CssClass="input" placeholder="Enter Password" runat="server"/&gt;
  
              &lt;input type="checkbox" checked="checked" /&gt; Remember me
  
              &lt;asp:Hyperlink id="MyHyperLinkControl" NavigateUrl="http://google.com" runat="server"&gt;Forget password? &lt;/asp:Hyperlink&gt;
  
              &lt;asp:Button id="button1" runat="server" Text="Login" OnClick="button1Clicked" /&gt;
  
          &lt;/div&gt;
  
  &lt;/form&gt;
  </code></pre>
  
  <p>
  </p>
  
  <p>Web.config:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;!--
  Web.config file for fyp_codes.
  
  The settings that can be used in this file are documented at 
  http://www.mono-project.com/Config_system.web and 
  http://msdn2.microsoft.com/en-us/library/b5ysx397.aspx
  --&gt;
  &lt;configuration&gt;
    &lt;system.web&gt;
      &lt;compilation debug="true" targetFramework="4.5"&gt;
        &lt;assemblies /&gt;
      &lt;/compilation&gt;
      &lt;httpRuntime targetFramework="4.5" /&gt;
    &lt;/system.web&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>Please Help if you have any idea. Thank you in advance!</p>