-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Problem loading configuration file
PostPosted: Thu Oct 20, 2005 9:32 am 
Beginner
Beginner

Joined: Thu Oct 20, 2005 9:26 am
Posts: 27
Location: Barcelona
Hi,

I get this exception when I try to instantiate the Configuration-class:

An unhandled exception of type 'System.Configuration.ConfigurationException' occurred in system.dll

Additional information: Could not create System.Configuration.NameValueSectionHandler, System,
Version=1.0.5000.0,Culture=neutral, PublicKeyToken=b77a5c561934e089

I work with Visual Studio and I have two projects.
The GUI-project is the startup where the App.config file is located, and the Business-project is where I try to instantiate the Configuration class.
Anyone got an idea why this doesn't work?

Thanks,
David


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 20, 2005 10:15 am 
Beginner
Beginner

Joined: Thu Oct 20, 2005 9:26 am
Posts: 27
Location: Barcelona
I found the solution:
I had split the configuration file section tag in two lines accidentially and that was why it gave an error.

/David


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.