Ok, im trying to implement a custom section in app.config.. here is the app.config file:

[Highlight=VB]
<?xml version="1.0" encoding="utf-8" ?>
<configuration>

<configSections>
<section name="ftpSettings"
type="FtpSettings.FtpSettingsSectionHandler,
FtpSettings" />
</configSections>

<ftpSettings mode="on">
<remoteHost value="127.0.0.1" />
<remotePath value="." />
<remoteUser value="anonymous" />
<remotePassword value="test@test.com" />
<remotePort value="21" />
</ftpSettings>
</configuration>

I get arror at:

Dim settings As FtpSettings = ConfigurationSettings.GetConfig("ftpSettings")

the exception says

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

Additional information: Could not create FtpSettings.FtpSettingsSectionHandler,
FtpSettings

"

I have the class defined as:
Public Class FtpSettingsSectionHandler : Implements IConfigurationSectionHandler



what can the problem be?

Kind regards
henrik