Why would an aspx file return 404 (“The page cannot be found”)

前端 未结 13 1566
日久生厌
日久生厌 2020-12-24 01:42

Why when I access an aspx (e.g., http://www.example.com/foo.aspx - not the real site) through IE6 would I get a 404 Error (i.e., \"The page cannot be found\") in IIS6

<
13条回答
  •  时光说笑
    2020-12-24 02:25

    I just happened to find another culprit for this issue. My foo.aspx page referenced a particular master page that had a <%@ Register %> directive to a user control that did not exist. Removing the reference to the non-existent user control caused my foo.aspx to load instead of 404.

提交回复
热议问题