Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Wrox Announcements and Feedback > Wrox Book Feedback
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Wrox Book Feedback A forum to submit feedback on Wrox books if other forums on P2P have been unable to address your book-specific needs. IF YOU ARE LOOKING FOR CODE DO NOT ASK "Where can I find the code for this book?" That question is answered here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Wrox Book Feedback 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 Search this Thread Display Modes
  #1 (permalink)  
Old November 11th, 2004, 03:07 AM
Registered User
 
Join Date: Nov 2004
Location: wuhan, 430079, China.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default what is wrong? I'am a beginner of asp.net.

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 23: "Forms", "Passport" and "None"
Line 24: -->
Line 25: <authentication mode="Windows" />
Line 26:
Line 27:


Source File: c:\inetpub\wwwroot\Code Download\BegECom\Chapter02\WroxJokeShop\web.config Line: 25


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

Reply With Quote
  #2 (permalink)  
Old November 11th, 2004, 03:14 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

I think the error message says it all (thanks to those verbose ASP.NET error messages):
Quote:
quote:This error can be caused by a virtual directory not being configured as an application in IIS.
You probably forgot to change the folder WroxJokeShop into a Virtual Directory.

TO make the change, open up the IIS manager, locate your server and then the folder WroxJokeShop, open it's Properties and then click the Create button to change the folder into a VD.

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Reply With Quote
  #3 (permalink)  
Old March 19th, 2006, 05:49 PM
Registered User
 
Join Date: Mar 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I hawe same problem, and i did create VD in IIS but it still doesn't work. My error says:

Error 1 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. E:\ZABAVA\KNJIGE - SAMIR\Begining ASP.NET.2.0\Begin\Chapter03\Samples\Web.Config 26

What is wrong with this?

Thnx! G.
Reply With Quote
  #4 (permalink)  
Old November 16th, 2007, 08:34 PM
Registered User
 
Join Date: May 2006
Location: Tallahassee, FL, .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Pardon me, but what is an IIS Manager? I installed IIS using the complex instructions in Appendix B of "ASP.NET 2.0 with C#", but still don't know what IIS Manager is. I am getting the MachineToApplication error described above. Thanks for any help...

Reply With Quote
  #5 (permalink)  
Old November 16th, 2007, 08:41 PM
Wrox Author
Points: 13,255, Level: 49
Points: 13,255, Level: 49 Points: 13,255, Level: 49 Points: 13,255, Level: 49
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Oct 2005
Location: Ohio, USA
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

IIS Manager is the IIS Snap-in for the MMC. Plainly put, it is how you administer IIS. You can bring up the console by going to Start --> Run --> Inetmgr

hth.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor :.
Wrox Books 24 x 7
================================================== =========
Reply With Quote
  #6 (permalink)  
Old November 17th, 2007, 05:47 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

If you are running XP you can get the IIS 6.0 manager here: http://www.microsoft.com/downloads/d...displaylang=en

--

Joe (Microsoft MVP - XML)
Reply With Quote
  #7 (permalink)  
Old November 17th, 2007, 06:06 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Hi Joe,

As far as I know, that Manager allows you to manage an IIS 6 web server (on server 2003) from a Windows XP machine (that normally runs IIS 5.1)

I think what reblev needs is indeed a local instance of IIS and its own manager. If IIS is installed, typing inetmgr as Dough pointed out should do the trick. Otherwise, reblev needs to install IIS through the Add / Remove Software part of Windows.

Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
Reply With Quote
  #8 (permalink)  
Old November 17th, 2007, 06:51 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Yes it does, but it also allows easier management of multiple web sites on a local instance of IIS 5. And if you're going to migrate sites to IIS 6 on a server it's easier to have just one manager.

Of course everyone will be on IIS 7 soon and need a completely new manager :)

--

Joe (Microsoft MVP - XML)
Reply With Quote
  #9 (permalink)  
Old November 17th, 2007, 06:54 AM
Imar's Avatar
Wrox Author
Points: 72,055, Level: 100
Points: 72,055, Level: 100 Points: 72,055, Level: 100 Points: 72,055, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,086
Thanks: 80
Thanked 1,587 Times in 1,563 Posts
Default

Does it? Because you get the ability to easily create new web sites and stop / start one of them? If that's the case: interesting. Never tried that.

Imar

---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
Reply With Quote
  #10 (permalink)  
Old November 20th, 2007, 01:28 PM
Registered User
 
Join Date: May 2006
Location: Tallahassee, FL, .
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for your help, Joe & Imar.

I did create the VD for Chapter 3/WroxUnited folder, but I am still getting this message, the same as PIAS did for Chapter 3. My project in VWD is for c://websites/begin/Chapter3. Plus I am getting other errors such as "file '~/site.master' was not found", "could not find 'mainContent' in the current master page or pages", "element 'news' is not a known element. This can occur if there is a compilation error in the Web site". The default.aspx page for Chapter 3 is not able to display in the browser, either.

I am not getting any such errors for the main WroxUnited project in c://websites/wroxunited, and this default.aspx page is displaying fine in the browser.

Signed, clueless

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Beginner to ASP .net 2.0 help chuckd ASP.NET 2.0 Basics 0 September 1st, 2006 11:31 PM
asp.net beginner LAKESIDE Classic ASP Databases 0 January 2nd, 2006 11:28 AM
A beginner in ASP.Net need help hoailing22 ASP.NET 1.0 and 1.1 Basics 4 May 11th, 2005 12:56 AM
ASP.NET beginner Anup Gavate ASP.NET 1.0 and 1.1 Basics 1 April 21st, 2005 12:49 PM
why? i'am a beginner .thank you? dqfverygood Wrox Book Feedback 1 November 11th, 2004 03:28 AM



All times are GMT -4. The time now is 02:42 AM.


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