Solved

IIS 6.0  web.config error

Posted on 2006-11-13
3
849 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
"Go Fund Me" type plugin 5 43
PHP Installer 5 47
asp Google Map 2 64
warning code: class php incomplete message 6 36
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
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 …
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…

733 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