Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8
This is the forum to discuss the Wrox book Beginning ASP.NET 2.0 by Chris Hart, John Kauffman, David Sussman, Chris Ullman; ISBN: 9780764588501
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 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
  #1 (permalink)  
Old January 22nd, 2006, 01:51 AM
Jeshon
Guest
 
Posts: n/a
Default Chapter 3 Sitemap Path Control try it out

Hi,

I am getting the configuration error when trying to launch the Default.aspx after using the sitemappath control. I have copy and pasted the error message below. Please help me to make the necessary changes to make it work correctly. Thank you very much.

Error Message:
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 39: Set forms authentication and define the login page
Line 40: -->
Line 41: <authentication mode="Forms">
Line 42: <forms loginUrl="Default.aspx" />
Line 43: </authentication>


Source File: D:\downloads\ASP_20_codes\Begin\Chapter03\wroxunit ed\web.config Line: 41

  #2 (permalink)  
Old January 27th, 2006, 12:44 PM
Wrox Author
 
Join Date: Jun 2004
Location: Liskeard, Cornwall, United Kingdom.
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
    This is an IIS configuration error. Basically the application hasn't been correctly figured as virtual directory or some part of it. I'd suggest checking out Appendix B which describes how to configure IIS and these two threads:

http://p2p.wrox.com/topic.asp?TOPIC_ID=38426

and

http://p2p.wrox.com/topic.asp?TOPIC_ID=37465

which go into a lot more detail on some of the issues you might encounter. I'm in the process of rewriting this appendix for the C# version of the book in light of all the issues that have since arisen. I will make it available online for people to download here too, as it's basically a "cross-language" appendix anyway.

Chris

Chris Ullman
Programmer/Technical Author
http://www.cuasp.co.uk


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help with path for loading Pics (app.path) Tabbasum Beginning VB 6 2 November 15th, 2007 04:57 AM
Master Page Control/Web.Sitemap Questions kwilliams ASP.NET 2.0 Professional 2 January 14th, 2007 09:32 PM
using app.path in database path and filename kd8con VB Databases Basics 2 October 25th, 2006 11:45 AM
chapter 3 sitemap try it out diango BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 January 16th, 2006 11:40 AM
Convert logical path to absolute path zoostar J2EE 1 April 15th, 2005 10:36 AM





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