我們偶爾發現此錯誤。有誰知道它可能是什麼?ScriptResources錯誤:這是無效的腳本資源請求
我們的錯誤日誌給URL得到這個奇怪的網址爲這個錯誤:
和錯誤是:
Error : This is an invalid script resource request.
,我們也得到了stacktrace:
System.Web.HttpException:這是一個無效的腳本資源請求。 在System.Web.Handlers.ScriptResourceHandler.Throw404() 在System.Web.Handlers.ScriptResourceHandler.ProcessRequest(HttpContext的上下文) 在System.Web.Handlers.ScriptResourceHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext的上下文) 在System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() 在System.Web.HttpApplication.ExecuteStep(IExecutionStep一步,布爾& completedSynchronously)
什麼可能呢?如何解決?
這裏是我發現有用的資源:http://blogs.telerik.com/aspnet-ajax/posts/07-03-27 /debugging-asp-net-2-0-web-resources-decrypting-the-url-and-getting-the-resource-name.aspx。在文章結尾處有一個指向獨立頁面的鏈接。您將其添加到您的項目並單擊Visual Studio中的「瀏覽...」。您粘貼d = ...查詢字符串,它會告訴您查詢字符串引用了什麼。 – MrBoJangles 2014-02-04 22:41:43
是檢查你的日誌 - 最有可能是谷歌機器人 – 2014-05-04 00:56:28