WebPage:版本TFS问题 [英] WebPage:Versions TFS problem

查看:149
本文介绍了WebPage:版本TFS问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的,我们从2008年开始将服务器升级到Server 2012,并使所有站点都能正常运行。今天早上我去了新服务器上安装Team Foundation Server,它没有通过预先检查配置应用程序层。



然后我注意到我们的几个网站已经不见了下。错误是它无法删除webPage版本,在谷歌搜索此问题后我发现我需要将关键字WebPages:Version value = 2.0.0.0添加到appsettings。



1)任何人都可以清楚为什么突然需要这个,这是服务器2012 IIS 8+的要求吗?因为这不是以前服务器上不存在密钥的问题



2)在服务器2012 IIS 8+上安装TFS是否与此有关更改??任何其他人遇到这个问题,因为以前的服务器上没有问题



非常感谢

困惑的Web开发人员

ok we'eve upgraded our server to Server 2012 from 2008, and made all sites live. This morning i went to install Team Foundation Server on the new server and it failed the pre-checks for configuring application tier.

I then noticed several of our websites had gone down. The error was that it could not dertmine the webPage version, after googling this issue i found i needed to add the key "WebPages:Version value=2.0.0.0" to the appsettings.

1) Could anyone clear up why this was suddenly being required, is this a server 2012 IIS 8+ requirement? as this wasn't ever an issue of the key not being there on previous server

2) Does installing TFS on server 2012 IIS 8+ have anything to do with this change?? Any one else come across this problem, as again no issues on previous server

Many Thanks
Confused Web Developer

推荐答案

您将.NET Framewrok更新为4.5(2012年默认值)时发生了什么。现在,您的旧配置文件没有WebPage版本信息(使用VS 2012或之前创建的项目的情况)。现在您的应用程序将尝试选择默认(4.5)框架但无法使用,因此您必须明确定义您想要的版本...
What happened that you updated you .NET Framewrok to 4.5 (default on 2012). Now your older config file has no WebPage version info (that the case on project created with VS 2012 or before). now your application will try to choose the default (4.5) framework but unable to work with, so you have to explicitly define what version do you want...


这篇关于WebPage:版本TFS问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆