Wrox Programmer Forums
|
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 November 15th, 2007, 12:33 PM
Registered User
 
Join Date: Nov 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default web.config errors

hi,

im trying to run my web site and i keep having this problem in web.config:Message
could not find schema information for the element 'store' and 7 others,the same.
plus, when i attempt to open any web form related to the store, i get this message:
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:


Line 44: protected static StoreElement Settings
Line 45: {
Line 46: get { return Globals.Settings.Store; }
Line 47: }
Line 48:


Source File: c:\Inetpub\wwwroot\Mike\App_Code\BLL\Store\BaseSto re.cs Line: 46

any help would be appreciated.


 
Old November 16th, 2007, 04:38 AM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 143
Thanks: 0
Thanked 1 Time in 1 Post
Default

Did you add the Store to the Configsection, and then the web.config?

The globals.Settings reads out the values from the ConfigSettings, which in turn point to the settings in the web.config.

HTH.

Peter

http://entropia-online.blogspot.com/





Similar Threads
Thread Thread Starter Forum Replies Last Post
web.config vs. app.config darlo Visual Studio 2005 11 August 20th, 2008 07:23 AM
web.config rrkano .NET Framework 2.0 1 June 23rd, 2008 02:50 PM
Web Config SteveP55419 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 January 3rd, 2007 04:19 PM
Web Config C# akshay144 VS.NET 2002/2003 0 November 10th, 2006 10:21 AM
Web.Config tranzformerz ASP.NET 1.0 and 1.1 Basics 1 August 29th, 2005 05:59 PM





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