I unzipped chapter11 files today to begin the exercise on p389 (adding content to FanClub pages).Step 1 says "run the site" but it won't. I get the following error:
Quote:
|
quote:"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."
|
I get the same error if I run the site in the End/Chapter11 folder.
As usual, I start by searching the VWD help files using Microsoft Document Explorer but couldn't see anything remotely helpful. Then tried Google and found an article at
http://geekswithblogs.net/ranganh/ar.../25/37609.aspx
However, neither of the suggestions seemed helpful.
At
http://www.velocityreviews.com/forum...plication.html, the following solution is provided:
Quote:
quote:It means that if you have an application, you should not configure the
MachineToApplication settings in web.config's in the subdirectories.
All you have to do is set the MachineToApplication settings in your
Application's root, and they will be inherited in the subdirectories.
|
Using Windows Search tool, I have not found any files in chapter11 folders containing "machine", so if I need to add this setting to the web.config in the root, what should it say?
The source of the error is shown as
Line 44: <authentication mode="Forms">
What does this mean?
I'm using VWD's built-in web server, Cassini, not IIS.
Richard
Rugeley, UK
WinXP Pro SP2
VBW Express + SQL Server 2005 Express