• پایان فعالیت بخشهای انجمن: امکان ایجاد موضوع یا نوشته جدید برای عموم کاربران غیرفعال شده است

مشکل با وب کانفیگ

actros

کاربر قدیمی پرشین تولز
کاربر قدیمی پرشین تولز
تاریخ عضویت
29 اکتبر 2006
نوشته‌ها
3,662
لایک‌ها
3,474
محل سکونت
Tehran
سلام دوستان.
موقع کامپایل پروژه هایی که بیش از یه web.connfig داره این ارور رو بهم میده (ویندوز سرور2008+ Visual Studio 2008 +SQL 2005
Server Error in '/VB' 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 24: ASP.NET to identify an incoming user.
Line 25: -->
Line 26: <authentication mode="Windows"/>
Line 27: <!--
Line 28: The <customErrors> section enables configuration


Source File: D:\Barname Nevisi\Web App\70-528\Ch02_code\VB\addeventhandlers\web.config Line: 26

Version Information: Microsoft .NET Framework Version:2.0.50727.1434; ASP.NET Version:2.0.50727.1434​


علت ارور رو اینطور بان بیان میکنه که تو IIS پروژه ات به عنوان Application معرفی نشده. در صورتیکه قبلش رفتم تو IIS و رایت کلیک کردم و Convert to application رو زدم و پروژه تبدیل به Apllication شد.ولی قبل از تبدیل و در صفحه ای که باید convrt کنی test رو زدم و دیدم جلوی authorization ام علامت اخطار زرد داده و این متن رو جلوش نوشته:​


Authorization cannot verify accsess to path(D:\programming\webapp\70-528\ch02_code)​

توضیح:​

The server is configured to use pass-through authentication with a built-in account to access the specified
physical path. However, IIS Manager cannot verify whether the built-in account has access. Make sure that
the application pool identity has Read access to the physical path. If this server is joined to a domain,
and the application pool identity is NetworkService or LocalSystem, verify that <domain>\<computer_name>$ has
Read access to the physical path. Then test these settings again.

کسی میدونه مشکل کجاست.​
 

actros

کاربر قدیمی پرشین تولز
کاربر قدیمی پرشین تولز
تاریخ عضویت
29 اکتبر 2006
نوشته‌ها
3,662
لایک‌ها
3,474
محل سکونت
Tehran
Windows رو تبدیل به Forms کنید

این برنامه و برنامه های مشابه روی سیستمهای دیگه کار میکنن. ولی رو سیستم من ارور میدن.
Windows authentication باید باشه . رو Form بذاری جواب نمیگیری.
authentication Mode ساب فولدرها Form هستند و بیرونی Windows.
 

Graveworm

Registered User
تاریخ عضویت
23 می 2005
نوشته‌ها
1,071
لایک‌ها
12
محل سکونت
Tehran
اون فلدری که تو ارور گفته شده رو به یوزر هایی که گفته اکسس بدید، یا ساده ترین راه اینکه به everyone اکسس بدید
 
بالا