473,407 Members | 2,359 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Exception creating section handler (assembly could not be loaded)

I used an article "Creating a Flexible Configuration Section Handler
"(http://www.15seconds.com/issue/040504.htm). The Console application
works with app.config but with the web.config. The Namespace change and
inserting into a class library are the only differences in the code.

In the web config
<!-- Config section Group and Sections Declaration -->
<configSections>
<section
name="DropDownListTableSettings"
type="EC3Library.Configuration.XmlConfigurator,
EC3Library.Configuration"/>
</configSections>

<DropDownListTableSettings
type="EC3Library.Configuration.DropDownListTableSe ttings,
EC3Library.Configuration">
<DropDownListTables>
<DropDownListTable CacheKey = "ItemListAgency" CacheDuration = "100"
DataTextField = "AgencyCodeOEC" DataValueField =
"AgencyDivisionSeqid" TableName = "AgencyDivision"/>
<DropDownListTable CacheKey = "ItemListAgency1" CacheDuration =
"100" DataTextField = "AgencyCodeOEC" DataValueField =
"AgencyDivisionSeqid" TableName = "AgencyDivision"/>
<DropDownListTable CacheKey = "ItemListAgency2" CacheDuration =
"100" DataTextField = "AgencyCodeOEC" DataValueField =
"AgencyDivisionSeqid" TableName = "AgencyDivision"/>
<DropDownListTable CacheKey = "ItemListAgency3" CacheDuration =
"100" DataTextField = "AgencyCodeOEC" DataValueField =
"AgencyDivisionSeqid" TableName = "AgencyDivision"/>
</DropDownListTables>
</DropDownListTableSettings>
The error message when called from a page.

Parser Error Message: Exception creating section handler.
Source Error:
Line 5: <section
Line 6: name="DropDownListTableSettings"
Line 7: type="EC3Library.Configuration.XmlConfigurator,
EC3Library.Configuration"/>
Line 8: </configSections>
Line 9:
Source File: c:\inetpub\wwwroot\EC3\web.config Line: 7

Assembly Load Trace: The following information can be helpful to
determine why the assembly 'EC3Library.Configuration' could not be
loaded.

=== Pre-bind state information ===
LOG: DisplayName = EC3Library.Configuration
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/EC3
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===
LOG: Policy not being applied to reference at this time (private,
custom, partial, or location-based assembly bind).
LOG: Post-policy reference: EC3Library.Configuration

Feb 2 '06 #1
0 1110

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Frank | last post by:
I get the following error "System.Configuration.ConfigurationExceptio Message: Exception creating section handler. (c:\inetpub\wwwroot\EmailQueueWebService\web.config line 5)" when using the...
8
by: exBK | last post by:
Hi, I have an exception handler which captures the exception. Exception e = Server.GetLastError().InnerException; I want to add an identifying ID (such as Invoice No) to "e". How do I do that...
19
by: Diego F. | last post by:
I think I'll never come across that error. It happens when running code from a DLL that tries to write to disk. I added permissions in the project folder, the wwwroot and in IIS to NETWORK_SERVICE...
6
by: Steve Long | last post by:
Help, I'm running VS.NET 2003 and when I try to start my application, I get the "unhandled exception" dialog instead of the IDE highlighting the offending line of code. The problem appears to be...
4
by: Brian Henry | last post by:
I get the following exception only on one system (dev system) and not on any others... what could cause this?! I can access the SMTP server just fine in E-Mail applications on the machine... ...
4
by: Rob Richardson | last post by:
Greetings! I am working on an application that targets a Pocket PC running Windows CE and SQL Server CE. Almost all functions in the application use a Try block with a Catch block that looks...
0
by: pratika2002 | last post by:
Hi, I am having a windows service project which is built by someone else and I have to understand the fuctionality. While running the service I am getting the following exception. "An unhandled...
1
by: =?Utf-8?B?QnJldHQgT3NzbWFu?= | last post by:
I'm trying to set up a custome e-mail publisher for a web app using the Microsoft Exception Management Application Block for .NET sample app. Our app already uses the Exception Management Block,...
5
by: arggg | last post by:
I want to make my program so if the dll cannot be found the program will not continue to load. Right now it gives the option to either quit or to continue. I want to make it so the user cannot...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.