Solved

IIS 6.0  web.config error

Posted on 2006-11-13
3
842 Views
Last Modified: 2012-06-27
I got the following error when my asp.net during a logon aspx page.  Initially it works fine, but now it's gave the following error.  Do I need to refresh something since it did worked when I first launched it and if I wait a long while then it will work again?  Is there something locking up?

=====================================================================
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 44:            by Microsoft that offers a single logon and core profile services for member sites.
Line 45:     -->
Line 46:     <authentication mode="None"/>
Line 47:
Line 48:       <!--  AUTHORIZATION


Source File: C:\Inetpub\wwwroot\Inventory\web.config    Line: 46
0
Comment
Question by:vchitta
3 Comments
 
LVL 6

Expert Comment

by:DonKyles
ID: 17935342
I think attribute mode inside<authencication> is not correct, try this

<authentication mode="Forms">
      <forms loginUrl="Login.aspx" name=".ASPXFORMSAUTH" defaultUrl="~/Default.aspx" timeout="30" path="/"/>
</authentication>
<authorization>
      <deny users="?"/>
      <allow users="*"/>
</authorization>
0
 
LVL 6

Accepted Solution

by:
bigphuckinglizard earned 125 total points
ID: 17937129
open the iis mmc, open the tree to the folder your login page is and right click and choose properties. in the application settings click "create" and then optionally change the name. click ok. should work now.
0
 

Author Comment

by:vchitta
ID: 17938271
work now.  Thanks
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now