G
Guest
When I use IIS to browse some samples which written by ASP.NET.I met with
errors as following:
/////////////////////////////////////////////////////
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 37: 它为æˆå‘˜ç«™ç‚¹æä¾›å•ç‹¬ç™»å½•å’Œæ ¸å¿ƒé…置文件æœåŠ¡ã€‚
Line 38: -->
Line 39: <authentication mode="Windows"/>
Line 40: <!-- 授æƒ
Line 41: æ¤èŠ‚设置应用程åºçš„授æƒç–略。å¯ä»¥å…许或拒ç»ä¸åŒçš„用户或角色访问
Source File:
E:\SystemRoot\Project\DotNet\Src\Web\ASPBBS\CodeResource\web.config Line:
39
errors as following:
/////////////////////////////////////////////////////
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 37: 它为æˆå‘˜ç«™ç‚¹æä¾›å•ç‹¬ç™»å½•å’Œæ ¸å¿ƒé…置文件æœåŠ¡ã€‚
Line 38: -->
Line 39: <authentication mode="Windows"/>
Line 40: <!-- 授æƒ
Line 41: æ¤èŠ‚设置应用程åºçš„授æƒç–略。å¯ä»¥å…许或拒ç»ä¸åŒçš„用户或角色访问
Source File:
E:\SystemRoot\Project\DotNet\Src\Web\ASPBBS\CodeResource\web.config Line:
39