Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old October 22nd, 2007, 08:56 PM
Registered User
 
Join Date: Oct 2007
Location: Atlanta, GA, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default web.config problems

Hello,
I'm new to this site and forum. I'm currently working with beginning ASP.NET 2.0 and having some problems in Chapter06. I'm getting an config error that I don't understand. I'm not sure if my local server (IIS) is in conflict with the VWD server. Don't quite get it. Here is a copy of it:

"Error 1 C:\All_Chapters\Chapter06\Begin\Chapter06\Default. aspx: ASP.NET runtime error: 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. (C:\All_Chapters\Chapter06\Begin\chapter06\web.con fig line 31) C:\All_Chapters\Chapter06\Begin\Chapter06\Default. aspx 1 1 C:\...\Begin\"

Could someone please help me with this. I would appreciate.
Reply With Quote
  #2 (permalink)  
Old October 23rd, 2007, 02:56 AM
joefawcett's Avatar
Wrox Author
Points: 9,712, Level: 42
Points: 9,712, Level: 42 Points: 9,712, Level: 42 Points: 9,712, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,066
Thanks: 1
Thanked 36 Times in 35 Posts
Default

As the error states that often happens if you haven't created an application. Right-click the folder in IIS and choose 'properties'.
Go to the home tab and look in the bottom section to see if it's an application, if not create one.

--

Joe (Microsoft MVP - XML)
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
web.config vs. app.config darlo Visual Studio 2005 11 August 20th, 2008 07:23 AM
web.config sonny1 ASP.NET 2.0 Basics 1 October 20th, 2007 01:40 PM
Problems with web.config file !!!!!!!! _fluffy_ BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 October 14th, 2006 10:02 AM
MySQL Config Problems socoolbrewster MySQL 2 September 1st, 2005 06:09 PM
Microsoft IIS webserver config problems taraj ASP.NET 1.0 and 1.1 Basics 3 September 20th, 2004 03:42 AM



All times are GMT -4. The time now is 12:49 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.