Routing HTTP Error 404.0 0x80070002

后端 未结 6 1075
耶瑟儿~
耶瑟儿~ 2020-12-30 08:32

I have created routing rules in my ASP.NET application and on my Dev machine at IIS7 everything works fine. When I deploy solution to prod server which has also IIS7 I get e

6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-30 09:16

    The problem for me was a new server that System.Web.Routing was of version 3.5 while web.config requested version 4.0.0.0. The resolution was

    %WINDIR%\Framework\v4.0.30319\aspnet_regiis -i

    %WINDIR%\Framework64\v4.0.30319\aspnet_regiis -i

提交回复
热议问题