 |
| 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 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
|
|
|

November 11th, 2004, 03:07 AM
|
|
Registered User
|
|
Join Date: Nov 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

November 11th, 2004, 03:14 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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.
|

March 19th, 2006, 05:49 PM
|
|
Registered User
|
|
Join Date: Mar 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

November 16th, 2007, 08:34 PM
|
|
Registered User
|
|
Join Date: May 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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...
|

November 16th, 2007, 08:41 PM
|
|
Wrox Author
|
|
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
|
|
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
================================================== =========
|

November 17th, 2007, 05:47 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
|
|
|

November 17th, 2007, 06:06 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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.
|

November 17th, 2007, 06:51 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
|
|
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)
|

November 17th, 2007, 06:54 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
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.
|

November 20th, 2007, 01:28 PM
|
|
Registered User
|
|
Join Date: May 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|
 |