473,386 Members | 1,790 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Webconfig Error

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
Nov 17 '05 #1
1 1505
Your webapplication folder, where you have Web.Config file must be virtual
folder.
"Omundu" <to**********@yahoo.com> wrote in message
news:02****************************@phx.gbl...
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

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Cantekin Guneser | last post by:
when i used <location> tag as follow; </system.web> <location path="members" allowOverride="false"> <system.web> <authentication mode="Forms"> <forms loginUrl="./default.aspx"></forms>...
6
by: Buz Waitz | last post by:
I have prepared a site on one machine, but when I move the site to the machine I wish to use as a host, I have problems. If I use a default.htm file, I have no trouble accessing the site. However,...
2
by: Jim Heavey | last post by:
I am trying to figure out how to "deal" with placing the connection string into the webconfig file when the connection string contains " and '. Here is my connection string... //...
1
by: brian | last post by:
I have a webconfig file in my root directory in IIS with session state set for 100 minutes. All login information is stored in session variables for the site. I have a page that is used by our...
0
by: David Bartosik - MS MVP | last post by:
I have a web service consumer in asp.net with the web config file set with a custom error page and the remote only setting. Most the time if an error occurs the custom error page is displayed. ...
1
by: rapaka.srinivas | last post by:
Hi i am having a problem with dynamic webconfig.What i am doing exactly is i am calling a fucntion in app_start event that will fetch connection string from my system registry and updates my...
0
by: jambalapamba | last post by:
Hi I am trying to acess my webconfig file in aspx page .I know we can acess in code behind using ConfigurationManager.ConnectionStrings.ConnectionString; but i want to acess in aspx...
4
by: Plasmodium | last post by:
We have an ASP.NET app. This app has objects defined in some dlls that the main app on the system uses. If we copy the dlls to the bin directory that the asp app runs out of, it works fine. We...
2
by: pavanip | last post by:
I placed my asp.net code in my server and i placed my database stuff in web hosting server.I created a virtual directory in web hosting server to access my files from my server.I have written the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.