473,804 Members | 3,804 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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="DropDownL istTableSetting s"
type="EC3Librar y.Configuration .XmlConfigurato r,
EC3Library.Conf iguration"/>
</configSections>

<DropDownListTa bleSettings
type="EC3Librar y.Configuration .DropDownListTa bleSettings,
EC3Library.Conf iguration">
<DropDownListTa bles>
<DropDownListTa ble CacheKey = "ItemListAgency " CacheDuration = "100"
DataTextField = "AgencyCode OEC" DataValueField =
"AgencyDivision Seqid" TableName = "AgencyDivision "/>
<DropDownListTa ble CacheKey = "ItemListAgency 1" CacheDuration =
"100" DataTextField = "AgencyCode OEC" DataValueField =
"AgencyDivision Seqid" TableName = "AgencyDivision "/>
<DropDownListTa ble CacheKey = "ItemListAgency 2" CacheDuration =
"100" DataTextField = "AgencyCode OEC" DataValueField =
"AgencyDivision Seqid" TableName = "AgencyDivision "/>
<DropDownListTa ble CacheKey = "ItemListAgency 3" CacheDuration =
"100" DataTextField = "AgencyCode OEC" DataValueField =
"AgencyDivision Seqid" TableName = "AgencyDivision "/>
</DropDownListTab les>
</DropDownListTab leSettings>
The error message when called from a page.

Parser Error Message: Exception creating section handler.
Source Error:
Line 5: <section
Line 6: name="DropDownL istTableSetting s"
Line 7: type="EC3Librar y.Configuration .XmlConfigurato r,
EC3Library.Conf iguration"/>
Line 8: </configSections>
Line 9:
Source File: c:\inetpub\wwwr oot\EC3\web.con fig Line: 7

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

=== Pre-bind state information ===
LOG: DisplayName = EC3Library.Conf iguration
(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.Conf iguration

Feb 2 '06 #1
0 1133

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

Similar topics

0
776
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 exception block from the Global Assembly Cache. Here is the entry in the Web.Config dealing with the Exception Block. Any ideas <configSections><section name="exceptionManagement"...
8
1737
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 ?? Thanks for your time.
19
3231
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 and Everyone, with Full Control to see if it's a permissions problem. The project is hosted in a Windows 2003 Server and developed from PCs in a domain, developing with Visual Studio 2005 Beta 1. -- Regards,
6
4056
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 instantiating a particular class in my project but the dialog doesn't tell me what code in the class is causing the problem (and it a large class). How can I get the IDE to take me to the offending line of code? If I put this line in my...
4
1772
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... See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.Web.HttpException: Could not access 'CDO.Message' object. --->
4
2045
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 like this: Try TryToDoIt() Catch e as Exception LogTheError(e)
0
1708
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 exception of type 'System.Security.SecurityException' occurred in mscorlib.dll Additional information: Request for the permission of type System.Security.Permissions.RegistryPermission, mscorlib, Version=1.0.5000.0, Culture=neutral,...
1
2501
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, but with the default publishing to the Event Log. We have an error handler Intranet_Exception_Processing.Vb in the app's Component folder with the ExceptionManager.Publish(ex) call. Here is the code generating the error: ExceptionManager.VB...
5
1321
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 continue if the dll cannot be loaded. I am including the dll i made by Using namespace; See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text **************...
0
9576
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10310
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10074
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9138
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7613
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6847
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4291
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3809
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2983
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.