0
    Server Error in '/Bonobo.Git.Server' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.

Source Error:


Line 68:       </namespaces>
Line 69:     </pages>
Line 70:     <compilation debug="false" targetFramework="4.5" />
Line 71:   </system.web>
Line 72:   <system.webServer>


Source File: C:\inetpub\wwwroot\Bonobo.Git.Server\web.config    Line: 70

Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927   `

我尝试安装基于 bonobo git windows 的服务器,并按照他们在安装指南中所说的做了。但得到上述错误。帮我解决这个问题

4

1 回答 1

0

您需要更改应用程序池以作为 .NET 4.0 运行。您可以在错误中看到当前配置了 .NET 框架 2.0:

版本信息:Microsoft .NET Framework 版本:2.0.50727.4927;ASP.NET 版本:2.0.50727.4927

于 2015-03-10T19:27:10.253 回答