PDA

View Full Version : طریقه اپلود سایت



mohsenesm77
پنج شنبه 16 بهمن 1393, 10:22 صبح
سلام دوستان گرامی ببخشید من اولین باره دارم سایت asp.net رو اپلود میکنم و یه ارروری میده هرچی هم گشتم پیدا نکردم که چه تغیراتی باید بدم ارورش این هست
Server Error in '/' Application.Configuration ErrorDescription: 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 16: </roleManager>
Line 17: <authentication mode="Forms" />
Line 18: <compilation debug="true" targetFramework="4.0">
Line 19: <assemblies>
Line 20: <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />



Source File: d:\webspace\istgah\istgahmobile.com\www\web.config Line: 18


ممنون میشم کمک کنید

amir_T_2008
پنج شنبه 16 بهمن 1393, 10:57 صبح
بريد تو تنظيمات هاست و framework برابر 4.0 قرار بديد

mohsenesm77
پنج شنبه 16 بهمن 1393, 11:32 صبح
هرچی گشتم پیدا نکردم :لبخند:

mohsenesm77
پنج شنبه 16 بهمن 1393, 11:47 صبح
پیدا کردم ولی ارورش عوض شد

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

amir_T_2008
پنج شنبه 16 بهمن 1393, 12:28 عصر
داره از ارتباط با ديتابيس مشكل ميگيره يا ديتابيس اتچ نكرديد يا كانكشن استرينگ تو web.config با هاست ست نكرديد

mohsenesm77
شنبه 18 بهمن 1393, 06:14 صبح
مرسی از راهنماییت
میشه مشکل از این باشه که من تو دیتا بیسم از aspnet_regsql استفاده کردم؟