开发者

Problem with bin Deploying ASP.NET MVC 3

开发者 https://www.devze.com 2023-03-24 15:16 出处:网络
I have problem with deploying my website to a server (which is not mine). I have one application that is running on this server and it is working (mvc 3, EF4). It was some time ago so I don´t know ex

I have problem with deploying my website to a server (which is not mine). I have one application that is running on this server and it is working (mvc 3, EF4). It was some time ago so I don´t know exactly what I changed to run it on that server but I think it was just adding referencies to 开发者_如何学运维bin folder. Now when I am trying on same server run my second app I did what is here: http://midnightprogrammer.net/post/Bin-Deploy-ASPNET-MVC-3-Application-With-SQL-CE-40-Entity-Framework.aspx and It says problem with: "Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive." and the problem is on this line:

<compilation debug="true" targetFramework="4.0">

I tried use google but every help that I found was with changing IIS but I am not administrator.

Thanks for help


Simply take out the targetFramework="4.0" bit as per What happens if I don't specify targetFramework="4.0"?

It could be fixed in this patch as per KB 2468871, "Update for the .NET Framework 4", issue 9.

0

精彩评论

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