Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB.Net 2005 Custom configuration section

Status
Not open for further replies.

Kalisto

Programmer
Feb 18, 2003
997
0
0
GB
Ive got the following in my Ap.Config
Code:
<configSections>
    <section name="messageQueueHandlers" 
    type="CustomQueueHandler, MyHandlers.CustomQueueHandler"/>
  </configSections>

and further on down in the same config file is the node that starts the custom section.

Ive added a new project to my solution with the Default Namespace set to MyHandlers.CustomQueueHandler and defined the code.

Added the Project Reference to my startup application

Yet when I attemot to execute
Code:
System.Configuration.ConfigurationManager.GetSection("messageQueueHandlers")

I get a "Cannot find assembly or file MyHandlers.CustomQueueHandler"

Ive checked, and the dll is created and is being stored in the bin folder of the application, so what am I doing wrong?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top