ورود

View Full Version : وجود خطا در iis 8



aida20
چهارشنبه 11 دی 1392, 20:54 عصر
کسی می تونه راجع به خطای iis کمک کنه؟ سایتم توی ویژوال استادیو اجرا نمیشه؟!!
یعنی بعضی سایت ها اجرا می شن بعضی ها هم خطا دارند؟

اینم کد خطا:
Error 1 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. g:\asp\New folder\MvcApp\Web.config 25

روی خطا که کلیک می کنم میره اینجا:
<authentication mode="Forms">
<forms loginUrl="~/Account/LogOn" timeout="2880" />
</authentication>

114696

aida20
چهارشنبه 11 دی 1392, 20:59 عصر
نمیدونم چی کار کنم هر چقدر هم iis رو دستکاری میکنم درست نمیشه....:ناراحت:

aida20
چهارشنبه 11 دی 1392, 21:05 عصر
Virtual Directory هم می خوام درست کنم erorr میده؟114698

aida20
چهارشنبه 11 دی 1392, 21:10 عصر
یعنی چی؟
114700

alireza_s_84
چهارشنبه 11 دی 1392, 21:18 عصر
کسی می تونه راجع به خطای iis کمک کنه؟ سایتم توی ویژوال استادیو اجرا نمیشه؟!!
یعنی بعضی سایت ها اجرا می شن بعضی ها هم خطا دارند؟

اینم کد خطا:
Error 1 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. g:\asp\New folder\MvcApp\Web.config 25

روی خطا که کلیک می کنم میره اینجا:
<authentication mode="Forms">
<forms loginUrl="~/Account/LogOn" timeout="2880" />
</authentication>

114696

داشتن چندین فایل Web.Config در پروژه که برخی سکشن های اون فقط باید در فایل Web.Config ریشه باشه
چک کنید ببینید چندتا فایل وب کانفیگ دارین