How to fix IIS 10.0 Detailed Error = 404.19 - Not Found shown when posted link on Facebook/META

Dave M 5 Reputation points
2024-08-15T21:22:16.56+00:00

When I post my website link on facebook.

It displays this error: IIS 10.0 Detailed Error = 404.19 - Not Found

Anyone know how to fix this?

Windows for business | Windows Server | User experience | Other
{count} vote

2 answers

Sort by: Most helpful
  1. S.Sengupta 24,636 Reputation points MVP
    2024-08-16T00:19:57.5466667+00:00

    Use the Facebook Debugger tool to see how Facebook views your page: https://developers.facebook.com/tools/debug/

    Ensure your firewall isn't blocking Facebook's IP ranges.

    If your web.config includes restrictions on certain file types, you may need to adjust them to allow the resource Facebook is trying to access.

    0 comments No comments

  2. Auri A. Rahimzadeh 31 Reputation points
    2025-04-21T11:07:15.8566667+00:00

    I received a response from DiscountASP.net. I just had to add the following to the web.config to fix the IIS config:

    <system.webServer> 
      <security>
        <requestFiltering>
          <filteringRules>
             <remove name="facebookexternalhit" />  
          </filteringRules>
        </requestFiltering>  
      </security>  
    </system.webServer>
    

    The first time I tried this it did not work. However, I emailed support and they explained THEY had to fix it "at the root." So, fwiw I bet this works, but in a shared hosting environment, you may need to put it in the server's web.config, possibly replacing the rule name to what's appropriate for your hosting provider.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.