?
Solved

IIS 6.0  web.config error

Posted on 2006-11-13
3
Medium Priority
?
863 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 375 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
Strategic internal linking is often considered an SEO power technique, especially for content marketing. Do you need to hire an SEO agency to optimize you internal linking? No, this article will help you understand the basics of internal linking and…
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…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Suggested Courses
Course of the Month14 days, 20 hours left to enroll

840 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