PDA

View Full Version : دلیل خطای Unrecognized attribute 'targetFramework چیست؟



behrouz110
چهارشنبه 28 دی 1390, 20:31 عصر
با عرض سلام خدمت مهندسین گرامی
من یه سایت طراحی کردم با VS2008 شرکتی که هاست رو ازش گرفتم ، سرورهاشو از 2003 به 2008 ارتقاء داد و از اون وقت به بعد این اررو رو سایت میده و نمیدونم چه کارش کنم.ممنون میشم راهنماییم کنید.با سپاس فراوان
Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive.


متن کامل اررور :
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 12: <system.web>Line 13: <customErrors mode="Off"/>Line 14: <compilation debug="true" targetFramework="4.0">Line 15: <assemblies>Line 16: <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
Source File: C:\HostingSpaces\secom.ir\secom.ir\wwwroot\web.con fig Line: 14


Version Information: Microsoft .NET Framework Version:2.0.50727.5448; ASP.NET Version:2.0.50727.5420

hossein_va
پنج شنبه 29 دی 1390, 11:07 صبح
با سلام.
برو تو پنل سایتت و فریم ورک را که 3.5 است به 4 تغییر بده.موفق باشی