Error to instanciate Globals.Settings.Articles

Topics: Developer Forum, User Forum
Mar 13, 2007 at 10:55 PM
Dear All

I am re-writing the code in the book and creating a website of my own, and I just finished Chapter 5. However after compiling and running the code, its giving me an error in this part:-

Line 43: protected static ArticlesElement Settings
Line 44: {
Line 45: get { return Globals.Settings.Articles; }
Line 46: }
Line 47:

Its telling me that Object Reference not set to an instance of an object.

I think I followed the code piece by piece, however I cannot seem to find where the error is.

I also downloaded the code for the book and its working fine on his example.

Can you please help me out?

Thanks

Johann