2009-12-13 25 views
2

任何人都有这个错误的线索吗?这在我的ASP.NET MVC应用程序中经常出现。这个错误让我疯狂! (WebResource.axd处理程序必须注册...)

alt text http://img138.imageshack.us/img138/7360/errord.jpg

+0

你尝试注册WebResource.axd处理? – 2009-12-13 04:49:11

+0

你是否检查过这个http://blog.fredrikhaglund.se/blog/2007/09/27/the-mysterious-problem-with-webresourceaxd/ – Xinus 2009-12-13 04:54:19

+0

好吧,这似乎是一个解决方案。我们来试试吧。 http://blog.fredrikhaglund.se/blog/2008/08/26/solution-to-webresourceaxd-exception/ – Kayes 2009-12-13 09:07:54

回答

0

确保您已经添加在你的web.config的HttpHandlers的这行,之前任何其他行:

<add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="True"/>