ورود

View Full Version : تنظیم هاست برای ورژن دات نت 4.0.21006



abasfar
دوشنبه 14 دی 1388, 23:21 عصر
سلام ببخشید من سایت اپلود کر دم این ارور را داد چی کار کنم


Server Error in '/abasfar' 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 'targetFrameworkMoniker'. Note that attribute names are case-sensitive.

Source Error:

Line 14: </appSettings>
Line 15: <system.web>
Line 16: <compilation debug="true" strict="false" explicit="true" targetFrameworkMoniker=".NETFramework,Version=v4.0">
Line 17: <assemblies>
Line 18: <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>


Source File: C:\MemberSites\MemberSites_AspSPider_Net\abasfar\w ebroot\web.config Line: 16

Version Information: Microsoft .NET Framework Version:4.0.21006; ASP.NET Version:4.0.21006.1
لطفا کمک کنید

rasoul2023
سه شنبه 15 دی 1388, 00:58 صبح
شما از VS 2010 استفاده میکنید ؟ روی سرور Framework نصب نیست باید با مسئول سرور تماس بگیرید و بگید که نصبش کنه . یا اینکه اگه نصب باشه در کنترل پنل البته پلسک در قسمت ASP.NET CONFIGORATION ورژن 4 را انتخاب کنید ولی احتمالا نصب نیست .

abasfar
سه شنبه 15 دی 1388, 15:05 عصر
ممنون از جواب تون ولی به من خطا داده گفته این خط او اضافه کن

<compilation debug="true" strict="false" explicit="true" targetFrameworkMoniker=".NETFramework,Version=v4.0 ">
به خاطر اینکه من vs2008 n3.5 استفاده میکردم