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的服务器并按照安装指南中的说法进行操作。但得到上述错误。帮我解决这个问题
答案 0 :(得分:0)
您需要将应用程序池更改为以.NET 4.0身份运行。您可以在错误中看到当前配置了.NET framework 2.0:
版本信息:Microsoft .NET Framework版本:2.0.50727.4927; ASP.NET版本:2.0.50727.4927