Webconfig Error

O

Omundu

I'm learning ASP.NET and have developed a project and
build it without any build error but when i browse the
startup page i receive the error below, i have configure
IIS accordingly and have administrative rights. I have
used the tool aspnet_regiis -r to map scripts but still
getting the error. What should i check?


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 30: "Passport" and "None"
Line 31: -->
Line 32: <authentication mode="Windows" />
Line 33:
Line 34: <!-- APPLICATION-LEVEL TRACE LOGGING


Source File:
C:\Inetpub\wwwroot\CurrencyConverter\web.config Line:
32
 
R

Rajeev Soni

Your webapplication folder, where you have Web.Config file must be virtual
folder.
 

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

Members online

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top