可能重複:
unrecognized attribute ‘targetframework’SocialAuth.NET不工作
我試圖使用SocialAuth.NET從Gmail和雅虎聯繫人提取物爲我的web應用程序,但是當我運行WebformDemo發生以下錯誤
'/ Demo'應用程序中的服務器錯誤。
配置錯誤
說明:該請求提供服務所需的 配置文件的處理過程中發生了錯誤。請查看下面的 特定錯誤詳細信息,並適當修改您的配置文件 。
解析器錯誤消息:無法識別的屬性'targetFramework'。注意 屬性名稱區分大小寫。
Source Error: Line 76: </authentication>--> Line 77: <!--<authentication mode="None"/>--> Line 78: <compilation debug="true" targetFramework="4.0"> Line 79: <assemblies> Line 80: <add assembly="Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
Source File: D:\test\SocialAuth-net-2.3\WebFormsDemo\web.config
Line: 78
Version Information: Microsoft .NET Framework Version:2.0.50727.3053;
ASP.NET Version:2.0.50727.3053
我使用Windows XP和Visual Studio 2010
任何幫助嗎?