I've implemented a sample app like the one here. It is a really basic app just to get things started. Everything works fine in IIS on my local machine, I've got it running on my IIS Express as well, but now come the tricky part. I do want to host this on AppHarbor, but I get 404 error. I've started a discussion on the support forum of AppHarbor, and they have taken a screen shot of the error when they run it.
由于使用了 StaticFile 处理程序,路由似乎出了问题,但我只是猜测。有没有人有什么建议?
尝试添加
<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
</system.webServer>
到你的 web.config
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)