PDA

View Full Version : webconfig



dalaho
دوشنبه 20 تیر 1384, 14:29 عصر
من یک در هنگام اجرا با این پیغام مواجه می شوم
[code]
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 36: "Passport" and "None"
Line 37: -->
Line 38: <authentication mode="Windows" />
Line 39:
Line 40: <!-- APPLICATION-LEVEL TRACE LOGGING


Source File: c:\inetpub\wwwroot\hrdware\web.config Line: 38
[code/]

Kamran.K
دوشنبه 20 تیر 1384, 18:04 عصر
سلام.
یکی از دلایل رخ دادن چنین خطایی، داشتن دو فرم Login هست. اگر اینطور هست تا راهنمایی کنم.

dalaho
سه شنبه 21 تیر 1384, 09:00 صبح
خیر من تنها یک فرم login دارم

Kamran.K
سه شنبه 21 تیر 1384, 22:21 عصر
در iis سعی کنید یک virtual directory واسه برنامه بسازید.

AspNet
سه شنبه 21 تیر 1384, 22:26 عصر
در iis روی فولدری که برنامه ات در اون قرار داره راست کلیک کن و properties رو انتخاب کن و از اونجا دکمه ی create رو بزن تا یه virtual directory براش درست بشه

dalaho
چهارشنبه 22 تیر 1384, 08:14 صبح
مرسی لطف کردید