PDA

View Full Version : سوال: اجرای سایت برروی IIs در سرور 2008



s_mohamadi
یک شنبه 07 خرداد 1391, 14:49 عصر
سلام
بنده یک شبکه داخلی دارم که می خواهم سایت که با ASP نوشته شده است را برروی آن آپلود کنم.
IIS را نصب کردم و وب سایت جدید در آن ایجاد کردم . ولی زمانی که در مرورگر آدرس صفحه اصلی را وارد می کنم خطای زیر داده می شود.
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:
<system.web> Line 16: <compilation debug="true" targetFramework ="4.0" />

Source File: C:\inetpub\wwwroot\GHospital\GHospital\web.config Line: 16

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

فریم ورک 4 را نصب کردم ولی مشکل حل نشد.
در ضمن می شه تنظیمات کلی در Web.config برای اتصال به سرور و IIS را بگید .خیلی ممنون می شم . واقعا حیاتیه.