title: Facebook app with asp.net
body: <p>I am trying to get my first hello world application on facebook using asp.net with facebook toolkit.</p>
  
  <p>I am hosting my files on www.aspspider.info/jasminm89/ using it as a canvasurl <br />
  and link to my facebook app is <a href="http://apps.facebook.com/mytesterapp/" rel="nofollow">http://apps.facebook.com/mytesterapp/</a></p>
  
  <p>At that location i have: default.html page with the h1 tag with plain text.
  When I visit my app on facbook I get message:</p>
  
  <blockquote>
    <p>The page cannot be displayed</p>
    
    <p>The page you are looking for cannot be displayed because an invalid
    method (HTTP verb) was used to attempt access. Please try the
    following:</p>
    
    <p>Contact the Web site administrator if you believe that this request
    should be allowed. Make sure that the Web site address displayed in
    the address bar of your browser is spelled and formatted correctly.
    HTTP Error 405 - The HTTP verb used to access this page is not
    allowed. Internet Information Services (IIS)</p>
    
    <p>Technical Information (for support personnel)</p>
    
    <p>Go to Microsoft Product Support Services and perform a title search
    for the words HTTP and 405. Open IIS Help, which is accessible in IIS
    Manager (inetmgr), and search for topics titled Setting Application
    Mappings, Securing Your Site with Web Site Permissions, and About
    Custom Error Messages.</p>
  </blockquote>
  
  <p>here  source code from facebook, where it loads my page:</p>
  
  <pre><code>&lt;form action="http://aspspider.info/jasminm89/" 
  method="post" target="iframe_canvas" 
  id="canvas_iframe_post_4e513da6b75410144827584" 
  onsubmit="return Event.__inlineSubmit(this,event)"&gt;&lt;input 
  type="hidden" autocomplete="off" name="signed_request"
  value="xxx....."&gt;&lt;/form&gt;
  </code></pre>
  
  <p>One point here.
  I setup my account on 000webhost.com and by default there is default.php created,
  I copy the link to my facebook and it loads the page, it worked as well with plain index.html.</p>
  
  <p><strong>final</strong>
  This error is because with IIS we can't use static html pages to be called in this way
  I now upload plain .aspx page with some text and it worked.</p>