 |
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
 | This is the forum to discuss the Wrox book ASP.NET 2.0 Instant Results by Imar Spaanjaars, Paul Wilton, Shawn Livermore; ISBN: 9780471749516 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 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
|
|
|
|
|

June 28th, 2006, 09:01 PM
|
|
Registered User
|
|
Join Date: Jun 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Could not run samples
I tried 2 chapters - 4 and 7, and got the same type of error:
Message 1 Could not find schema information for the element 'http://schemas.microsoft.com/.NetConfiguration/v2.0:configuration'. C:\Web\SurveyEngine\web.config 11 2 C:\Web\SurveyEngine
Any ideas?
|
|

June 29th, 2006, 12:30 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi there,
This sounds like you forgot to configure IIS to use ASP.NET 2.
To do this, open up the IIS Manager, locate your site or virtual directory, right click it and choose Properties. On the ASP.NET 2 tab, make sure that V2 is selected....
HtH,
Imar
|
|

August 10th, 2007, 02:19 PM
|
|
Registered User
|
|
Join Date: Aug 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Help!
I got this error too:
Could not find schema information for the element 'http://schemas.microsoft.com/.NetConfiguration/v2.0:configuration'.
The answer seems pertinent, that the IIS is not using .net v2, but I see no IIS Manager anywhere in order to change that. I am using XP Professional. I am sure IIS is on this machine somewhere but I know fo no "IIS Manager" front end.
HELP! I am most frust-er-ated.
thanks
lynn
|
|

August 10th, 2007, 03:08 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi there,
Click Start, then Run and then enter inetmgr and hit enter. That should bring up the IIS Manager.
Alternatively, you should find a link to it on the Administrative Tools item of the Control Panel.
Hope this helps,
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
|
|

August 11th, 2007, 09:51 AM
|
|
Registered User
|
|
Join Date: Aug 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Imar
I have read through some of your posts, and you have been very helpful to others, and thanks for your response to this. Hopefully my questions aren't too dumb! :)
I tried what you said - I had already looked at the admin tools and it isn't there! I then tried inetmgr as you suggested, from Run, and it says it can't be found. This is most confusing to me since I have a web app that I am trying to develop and it does actually run, at least in debug mode within the development environment. FYI I am using the MS Visual Web Developer 2005 Express - freeware, as that is what my current budget will allow. :)
When my web app is running, I see this on my taskbar:
asp.net development server - port 2565
So maybe it doesn't use IIS? But I thought a local IIS was installed with XP Pro? Certainly I have the .Net framework. I see this in my admin tools window: Microsoft .NET Framework 2.0 Configuration
confused.
Any help appreciated. I am out of my depth here. I have been a programmer in past but am out of touch.
|
|

August 11th, 2007, 10:00 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Hi sarka,
IIS does indeed come with Windows XP, but it's not installed by default. When inetmgr gives you a "not found" message, there's a fair chance it's not installed. To fix that you need to do two things: install IIS and then reconfigure the .NET Framework so it registers itself with IIS.
1. Open the Add/Remove programs section of the control panel and choose Add / Remove Windows Components. From the dialog that follow, install IIS. You may need to reboot.
2. Open up a command prompt and navigate to:
%windir%\Microsoft.NET\Framework\v2.0.50727
Type the following command at the command prompt:
aspnet_regiis.exe -i
Wait a bit while the tool registers ASP.NET with IIS
From here, things should work as expected when it comes to IIS.
Cheers,
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
|
|

August 11th, 2007, 10:48 AM
|
|
Registered User
|
|
Join Date: Aug 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Imar
I did what you said and the original error disappeared. Thank you! But...now I see this:
Could not find schema information for the element 'theBeerHouse'
Below is a snippet from the pertinent web.config
<?xml version="1.0"?>
<configuration >
<configSections>
<section name="theBeerHouse" type="MB.TheBeerHouse.TheBeerHouseSection, __code"/>
</configSections>
<theBeerHouse defaultConnectionStringName="LocalSqlServer">
<contactForm mailTo=" [email protected]"/>
<articles pageSize="10" />
<polls archiveIsPublic="true" votingLockByIP="false" />
<newsletters fromEmail=" [email protected]" fromDisplayName="TheBeerHouse" />
<forums threadsPageSize="8" hotThreadPosts="10" bronzePosterPosts="10" silverPosterPosts="20" goldPosterPosts="50" />
<store sandboxMode="true" businessEmail=" [email protected]" />
</theBeerHouse>
<connectionStrings>
...
|
|

August 11th, 2007, 10:51 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
I don't know much about the beerhouse or its setup, so I suggest you post this in the book's forum.
Looks like the run-time can't find the assembly or code files for the application that defines MB.TheBeerHouse.TheBeerHouseSection
Cheers,
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
|
|

August 11th, 2007, 11:06 AM
|
|
Registered User
|
|
Join Date: Aug 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Imar
Will do and thanks for your help to this point - you got me started. BTW I do have MS VS 2005 installed but I can't get past this error? While I have your attention... you seem knowledgeable so maybe you know about this:
"The application for ...is not installed." I don't know what it thinks is not installed? This error occurs for several web apps that I can open and run just fine in the freeware Web Developer app but I understand it is limited and I am better in VS 2005.
I wouldn't be such a pest if I knew where to go for some better general overview info. Somehow you never see these install / compatibility issues covered in books.
Anyway thanks for everything!
|
|

August 11th, 2007, 11:15 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
The error can come from different sources. For example, when you try to open a .csproj file (C# project) without C# support installed, you get this error.
Maybe you're opening a project that uses the Web Application Project? if that's the case, make sure you install Service Pack 1 for VS 2005 as that also installs WAP.
If that doesn't help, I don't know the solution. In "The application for ...is not" the reason for ... is crucial to determine what is not installed.
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
|
Similar Threads
|
| Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| Code Samples |
qjay |
BOOK: Professional Microsoft Robotics Studio ISBN: 978-0-470-14107-6 |
17 |
July 13th, 2009 04:10 AM |
| Need samples |
mindserve |
VB.NET 2002/2003 Basics |
0 |
August 5th, 2007 08:24 AM |
| Can't get any of the samples to run... |
cwerth |
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 |
7 |
June 16th, 2006 07:26 PM |
| Samples? |
dugi |
Wrox Book Feedback |
1 |
November 5th, 2003 11:02 AM |
|
 |