ASP.NET: WebResource.axd call 404 error: how to know which assembly/resource is missing or responsible?

后端 未结 4 600
[愿得一人]
[愿得一人] 2020-12-14 01:29

I get a 404 HTTP status error (not found) on a specific WebResource.axd call inside an ASP.NET 3.5 (AJAX) web application. I guess the erro

4条回答
  •  北荒
    北荒 (楼主)
    2020-12-14 02:25

    Is your project missing any references?

    Are there any references set to CopyLocal=False (common with Infragistics or GAC'ed refs) that dont make it to the destination?

    A utility like reflector or dependency walker will tell you if your main assembly is missing any dependencies that are not immediately obvious.

    Does the Application_Error handler in global.asax have a catch that is producing any error info (FileNotFoundExceptions)?

    Did you set custom errors to 'remote only' and browse the site from the local machine?

提交回复
热议问题