开发者

The controller for path '...' was not found or does not implement IController

I am trying to publish my MVC2 app to a IIS7. Running locally works fine, but once I publish, I'm getting an error "The controller for path '/mycontroller' was not found or does not implement IController"

Is there some magic t开发者_Python百科hat I missed on published?


It turns out that IIS's folders were set up incorrectly. The tip for me was that there was a prefix in the path displayed in there error. (It really wasn't just /mycontroller')

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜