سلام دوستان.
موقع کامپایل پروژه هایی که بیش از یه web.connfig داره این ارور رو بهم میده (ویندوز سرور2008+ Visual Studio 2008 +SQL 2005
موقع کامپایل پروژه هایی که بیش از یه 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
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.
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.
کسی میدونه مشکل کجاست.