廣告:
錯誤信息: 這是一個無效的 Webresource 請求。提示webresource.axd文件 404錯誤
。
堆疊內(nèi)容: 在 System.Web.Handlers.AssemblyResourceLoader.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
在 System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
解決辦法:
設(shè)置嵌入的資源:
AssemblyInfo.cs 添加 :
[assembly: System.Web.UI.WebResource("Mvcb2b.Scripts.class.js", "application/x-javascript")]
廣告: