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

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

<section name="ftpSettings"
FtpSettings" />

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

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,


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

what can the problem be?

Kind regards