سلام خسته نباشید دوستان
من همه کارارو کردم
و میخوام الان سایت و دیتابیسو روی هاست بیارم بالا
منتها یه ارور در رابطه با فریم ورک میده
نمیدونم مشکلش چیه
میشه خواهش کنم کمک کنید ؟
این فایل وب کانفیگم
<?xml version="1.0"?> <!-- For more information on how to configure your ASP.NET application, please visit http://go.microsoft.com/fwlink/?LinkId=169433 --> <configuration> <system.web> <customErrors mode="Off"/> </system.web> <appSettings> <add key="validationSettings:UnobtrusiveValidationMode" value="none"/> </appSettings> <connectionStrings> <add name="partoramghatreConnectionString" connectionString="server=79.175.164.235;Initial Catalog=ramghatrehdb;User ID=ramghatrehuserdb;Password=****" providerName="System.Data.SqlClient" /> <add name="Partoramghatreh.Properties.Settings.connectionString" connectionString="server=79.175.164.235;Initial Catalog=ramghatrehdb;User ID=ramghatrehuserdb;Password=****" /> </connectionStrings> <system.web> <compilation targetFramework="4.5" /> <httpRuntime targetFramework="4.5" /> </system.web> </configuration>
اینم اروری که میده
Server Error in '/' 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: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Source File: d:\www\ramghatreh\ramghatreh.com\wwwroot\web.config Line: 27 Version Information: Microsoft .NET Framework Version:2.0.50727.5485; ASP.NET Version:2.0.50727.5491
خواهش میکنم کمک کنید
مشکل از DotNet نصب شده روی سرور هست که ورژن پروژه شما همخوانی نداره
با پشتیبانی هاست تماس بگیرید راهنماییتون میکنند که Target رو تغییر بدید
از طریق پنل مدیریت باید اینکار رو انجام بدید
توی قسمت تنظیمات سایت در plesk ، دات نت فریم ورک رو روی 4 تنظیم نمایید .
سلام مهندس مداینی و مهدی عزیز مرسی از راهنمایی خوبتون منم استفاده کردم
هیچ کاربری تا کنون از این پست تشکر نکرده است
با ما تماس بگیرید تا در این مسیر همراهتان باشیم :)