Solved

IIS 6.0  web.config error

Posted on 2006-11-13
3
848 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

856 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