By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,663 Members | 1,337 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,663 IT Pros & Developers. It's quick & easy.

Unable To Access Custom ConfigSection in 1.1

P: n/a
Hi guys, having a weird problem here. I've declare a custom config section
in my web.config file with the following lines

<?xml version="1.0" encoding="utf-8" ?>

<section name="ClientCaps"
type="System.Configuration.DictionarySectionHandle r,System" />


<add key="MSIE" value="1"/>

<!-- Rest of the usual stuff in a Web.Config file -->

When I try to access the section in code with the following call :-
Dim nvc As Collections.Specialized.NameValueCollection
nvc =
CType(System.Configuration.ConfigurationSettings.G etConfig("ClientCaps"), _
I get a Exception Creating Section Handler error. According to the Assembly
load trace seems like it was looking for the System assembly everywhere but
the GAC!

The ASP.Net application is currently impersonating another windows user
account other than ASPNet.. does this have anything to do with it?

Nov 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.