开发者

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

开发者 https://www.devze.com 2023-01-31 16:36 出处:网络
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 ICont

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

精彩评论

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

关注公众号