ASP.NET Newbie

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
 
J

Juan T. Llibre

Using the IIS Manager, create an IIS Application
which points to the directory where your files are located in.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

I got the error <pages enableEventValidation="true"/> in some mach 6
software engineer in beijing 0
Ajax calls web service in wcf(windows service) 7
Visual Basic for Applications 12
Mr GU 0
aaa 0
Class 0
GUI 3

Members online

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,705
Latest member
Stefkari24

Latest Threads

Top