PDA

View Full Version : مشکل در uplode



crazy_1892
دوشنبه 11 مهر 1390, 00:54 صبح
سلام دوستان من برای اولین با هست دارم سایت آپلود می کنم

بعد از آپلود این خطا را میده مشکل کجاست

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: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:

Line 57: ASP.NET to identify an incoming user. Line 58: --> Line 59: <authentication mode="Forms"/> Line 60: <!-- Line 61: The <customErrors> section enables configuration
می خواستم ببنید من conection string را درست تغییر دادم


<connectionStrings>
<add name="myConnectionString" connectionString="Data Source=localhost;Initial Catalog=mydb;User ID=user;password:pass;;Integrated Security=True" providerName="System.Data.SqlClient"/>
</connectionStrings>

بانک اطلاعاتی توسط sql server r2 اکسپورت کردم روی هاست

mehran_sh_t
دوشنبه 11 مهر 1390, 09:30 صبح
در مورد خطا نمی دونم، اگر احتمال میدید برای connection string باشه، به نظر درست میاد، اگر اشتباهی باشه، برای datasource هستش، اون رو به local تغییر بدید، یا ip وبسایت.
مال من هم چیزی مشابه همینه، فقط ip دادم.
حداقل در اینصورت از connection string مطمئنید!!