Wrox Programmer Forums
|
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
 
Old December 27th, 2008, 10:23 AM
Authorized User
 
Join Date: Dec 2008
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
Default Problem with Chapter 03 (Asp.net+C#)

HI,
you all.I am getting some problem while trying the try outs for chapter 03.
In the first try out of chapter03 when I am trying to run the site by pressing Ctrl+F5
I am getting this error in the error list:

"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
."
I have saved the chapters in the following path: J:\BegASPNET2\Chapters\Begin\

The error is showing for line 41 in the following web.config:
J:\BegASPNET2\Chapters\Begin\Chapter03\WroxUnited\ web.config
I have installed Microsoft Visual studio 2005.
Can any one tell me please what wrong I am doing?
Thanks in advance and Wish all of you a very very Happy New Year :)http://p2p.wrox.com/images/icons/icon7.gifhttp://p2p.wrox.com/images/icons/icon7.gifhttp://p2p.wrox.com/images/icons/icon7.gif
 
Old December 27th, 2008, 02:08 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

You're probably opening the wrong folder in VWD.

You usually get this error when you try to open a folder like:

C:\SomeFolder\Chapters

in VWD and then browse to a Chapter sub folder like Chapter1. E.g. you see something like:

http://localhost:123/Chapters/Chapter1

in your browser.

Instead, open

C:\SomeFolder\Chapters\Chapter1

in VWD and then browse to:

http://localhost:123/Chapter1

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old January 1st, 2009, 09:40 AM
Authorized User
 
Join Date: Dec 2008
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
Default Thanks

Thanks very much Imar.
Regards,
Subhasis.





Similar Threads
Thread Thread Starter Forum Replies Last Post
A caution for users at Chapter 5, Ex. 03 Prism BOOK: Ivor Horton's Beginning Visual C++ 2005 1 April 14th, 2008 02:32 AM
Database Problem /Chapter 03 Wrox United Example dynamicarray BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 3 February 12th, 2007 09:24 AM
chapter 03 ..i am getting error messages realiest BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 July 17th, 2006 03:01 PM
chapter 03 ..i am getting error messages realiest BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 July 7th, 2006 08:17 AM
Outlook '03 automation from Access '03 error Derek_05 Access VBA 2 February 3rd, 2006 06:09 AM





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