Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 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 October 14th, 2006, 09:23 AM
Authorized User
 
Join Date: Oct 2006
Location: , , .
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problems with web.config file !!!!!!!!

Hello !

I'm trying to follow chapter two (setting up master, config and themes). My Web.config file looks short and simple
as follows:
--------------------------------------------------------------------
<?xml version="1.0"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

 <system.web>
   <pages theme ="TemplateMonster" masterPageFile="~/Template.master" />
  </system.web>
</configuration>
--------------------------------------------------------------------

However I keep getting the message from visual studio saying
Could not find schema information for the element ‘http://schemas.microsoft.com/.NetCon...nfiguration’

does anyone have any idea why i may be getting this message ???

many thanks ahead for any help!

--fluffy

 
Old October 14th, 2006, 09:29 AM
Authorized User
 
Join Date: Jul 2006
Location: , KS, USA.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to jsantamaria
Default

try this:

<pages theme ="TemplateMonster" masterPageFile="~/Template.master"></pages>



Jose Santa-Maria

Computers can never replace human stupidity!
 
Old October 14th, 2006, 10:02 AM
Authorized User
 
Join Date: Oct 2006
Location: , , .
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, but acutally I replaced the
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

line with just <configuration>. And it seems to have solved
the problem for now. Actually, when u crate a web.config file, by
default it only gives u <configuration> tag, without the xmlns
attribute..Moreover, the path to .NetConfiguration/v2.0 is NOT
EVEN in intellisense!!! I wonder why do books include this line....
weird!!??!

--fluffy





Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting of web config file epkgupta General .NET 0 July 9th, 2008 09:32 AM
web.config problems tjordan43 BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 October 23rd, 2007 02:56 AM
Problem with Web.Config file srinivas ADO.NET 3 December 6th, 2004 02:27 PM
web.config file apry BOOK: Beginning ASP.NET 1.0 1 May 27th, 2004 06:39 AM





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