http://www.haogongju.net/art/2492332
<httpHandlers>
<add verb="*" path="*.gif" type="System.Web.StaticFileHandler"/>
<add verb="*" path="*.jpg" type="System.Web.StaticFileHandler"/>
<add verb="*" path="*.js" type="System.Web.StaticFileHandler"/>
<add verb="*" path="*.css" type="System.Web.StaticFileHandler"/>
<add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="True" />
<add verb="*" path="*.html" type="URLRewriter.RewriterFactoryHandler, URLRewriter"/>
<add verb="*" path="*"type="URLRewriter.RewriterFactoryHandler,URLRewriter" />
</httpHandlers>
我是按照这个执行的,可以解决问题