Solved

IIS 6.0  web.config error

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
control when hamburger icon kicks in 7 31
Problem to Popup 2 74
This code tracks birthdays 3 59
bootstrap footer centering and columns alignement 3 20
Read about why website design really matters in today's demanding market.
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

911 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

24 Experts available now in Live!

Get 1:1 Help Now