Wrox Programmer Forums
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 19th, 2004, 10:04 PM
Registered User
 
Join Date: Oct 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default web.config problem

Hi my friends,
        When I was tried to open ch7 in my localhost browser, I got the following error. Can anyone tell me what is wrong about the web.cfg. why can not I open it and how to fix it?

say "Thank you" first,


Steven
...........................................

Server Error in '/' Application.
--------------------------------------------------------------------------------

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 1: <configuration>
Line 2: <system.web>
Line 3: <authentication mode="Forms">
Line 4: <forms name=".WroxDemo" loginUrl="login.aspx"
Line 5: protection="All" timeout="60" />


Source File: C:\BegASPNET11\Ch17\web.config Line: 3


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032










Similar Threads
Thread Thread Starter Forum Replies Last Post
web.config problem in FileShare trieuanhl BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 November 2nd, 2008 09:48 AM
Web.Config problem darkestangel1980 ASP.NET 1.0 and 1.1 Basics 1 July 2nd, 2007 06:31 AM
Web.Config problem? toddw607 ASP.NET 2.0 Basics 15 April 2nd, 2007 03:32 PM
problem in web.config chandanbhakuni ADO.NET 2 September 22nd, 2006 07:11 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.