[Mono-list] System.Configuration.DictionarySectionHandler missing?
neil.young
neil.young at freenet.de
Wed Jun 18 15:38:07 EDT 2008
Hi group,
I've downloaded and installed the latest Mono 1.9 under Windows in order to
prepare a port of a .net console to Linux. Moma did tell me, that everything
is fine with my assembly. My assembly uses a config file with custom
sections (in short terms something like this):
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections >
<section name="AKAClient"
type="System.Configuration.DictionarySectionHandler" />
</configSections>
<AKAClient>
<add key="OP" value="00000000000000000000000000000000" />
</AKAClient>
</configuration>
While launching the application I'm catching
C:\>mono --trace=ALL gba.exe
EXCEPTION handling: ConfigurationErrorsException
EXCEPTION handling: Exception
AKAProvider: Config Error. Exception is:
System.Configuration.ConfigurationErrorsException: Type
'System.Configuration.DictionarySectionHandler' not found. () ()
at System.Configuration.InternalConfigurationHost.GetConfigType
(System.StringtypeName, Boolean throwOnError) [0x00000]
at System.Configuration.ConfigInfo.CreateInstance () [0x00000]
at System.Configuration.SectionInfo.CreateInstance () [0x00000]
at System.Configuration.Configuration.GetSectionInstance
(System.Configuration
.SectionInfo config, Boolean createDefaultInstance) [0x00000]
at System.Configuration.ConfigurationSectionCollection.get_Item
(System.String
name) [0x00000]
at System.Configuration.Configuration.GetSection (System.String path)
[0x00000
]
at
System.Configuration.ClientConfigurationSystem.System.Configuration.Interna
l.IInternalConfigSystem.GetSection (System.String configKey) [0x00000]
at System.Configuration.ConfigurationManager.GetSection (System.String
section
Name) [0x00000]
at GBA.AKA.AKAAuthenticationProvider.AuthConfigure (ProxyMode Mode, S
ystem.String ConfigSection) [0x00000]
Does anybody know, why this might happen?
Regards
--
View this message in context: http://www.nabble.com/System.Configuration.DictionarySectionHandler-missing--tp17990152p17990152.html
Sent from the Mono - General mailing list archive at Nabble.com.
More information about the Mono-list
mailing list