473,395 Members | 1,568 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,395 software developers and data experts.

Web.config explosion attempting custom section.

ARGH! Any ideas why this might be happening? The code I'm using comes
straight from the example in the VB.NET Help System. All I did was tweak the
name= stuff to match my application.

Server Error in '/ImageMaker' Application.
----------------------------------------------------------------------------
----

Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

Parser Error Message: Exception creating section handler.

Source Error:
Line 3: <configSections>
Line 4: <sectionGroup name="imagemaker">
Line 5: <section name="settings"
type="System.Configuration.NameValueSectionHandler ,System" />
Line 6: </sectionGroup>
Line 7: </configSections>
Source File: c:\inetpub\wwwroot\ImageMaker\web.config Line: 5

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'System' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = System
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/ImageMaker
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: System
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/imagemaker/cb080e7b/cad84567/System.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/imagemaker/cb080e7b/cad84567/System/System.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/ImageMaker/bin/System.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/ImageMaker/bin/System/System.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/imagemaker/cb080e7b/cad84567/System.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/imagemaker/cb080e7b/cad84567/System/System.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/ImageMaker/bin/System.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/ImageMaker/bin/System/System.EXE.

----------------------------------------------------------------------------
----

Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573
Nov 17 '05 #1
2 1842
I had the same issue. Fixed it by using fully qualified name for type, like
this:

<section name="..." type="System.Configuration.NameValueFileSectionHan dler,
System, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089" />

You can copy a working type from machine.config (the one above is from 1.1
framework, I would think 1.0 has a different version and/or public key
token).

Jerry

"James Coe" <st***********@hotmail.com> wrote in message
news:%2***************@TK2MSFTNGP10.phx.gbl...
ARGH! Any ideas why this might be happening? The code I'm using comes
straight from the example in the VB.NET Help System. All I did was tweak the name= stuff to match my application.

Server Error in '/ImageMaker' Application.
-------------------------------------------------------------------------- -- ----

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

Parser Error Message: Exception creating section handler.

Source Error:
Line 3: <configSections>
Line 4: <sectionGroup name="imagemaker">
Line 5: <section name="settings"
type="System.Configuration.NameValueSectionHandler ,System" />
Line 6: </sectionGroup>
Line 7: </configSections>
Source File: c:\inetpub\wwwroot\ImageMaker\web.config Line: 5

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'System' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = System
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/ImageMaker
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: System
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/imagemaker/cb080e7b/cad84567/System.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/imagemaker/cb080e7b/cad84567/System/System.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/ImageMaker/bin/System.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/ImageMaker/bin/System/System.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/imagemaker/cb080e7b/cad84567/System.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/imagemaker/cb080e7b/cad84567/System/System.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/ImageMaker/bin/System.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/ImageMaker/bin/System/System.EXE.

-------------------------------------------------------------------------- -- ----

Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

Nov 17 '05 #2
Thank you, this did the trick.

James.

"Jerry III" <je******@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
I had the same issue. Fixed it by using fully qualified name for type, like this:

<section name="..." type="System.Configuration.NameValueFileSectionHan dler, System, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089" />

You can copy a working type from machine.config (the one above is from 1.1
framework, I would think 1.0 has a different version and/or public key
token).

Jerry

"James Coe" <st***********@hotmail.com> wrote in message
news:%2***************@TK2MSFTNGP10.phx.gbl...
ARGH! Any ideas why this might be happening? The code I'm using comes
straight from the example in the VB.NET Help System. All I did was tweak

the
name= stuff to match my application.

Server Error in '/ImageMaker' Application.


--------------------------------------------------------------------------
--
----

Configuration Error
Description: An error occurred during the processing of a configuration

file
required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Exception creating section handler.

Source Error:
Line 3: <configSections>
Line 4: <sectionGroup name="imagemaker">
Line 5: <section name="settings"
type="System.Configuration.NameValueSectionHandler ,System" />
Line 6: </sectionGroup>
Line 7: </configSections>
Source File: c:\inetpub\wwwroot\ImageMaker\web.config Line: 5

Assembly Load Trace: The following information can be helpful to determine why the assembly 'System' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = System
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/ImageMaker
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: System
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/imagemaker/cb080e7b/cad84567/System.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/imagemaker/cb080e7b/cad84567/System/System.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/ImageMaker/bin/System.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/ImageMaker/bin/System/System.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/imagemaker/cb080e7b/cad84567/System.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/imagemaker/cb080e7b/cad84567/System/System.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/ImageMaker/bin/System.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/ImageMaker/bin/System/System.EXE.



--------------------------------------------------------------------------
--
----

Version Information: Microsoft .NET Framework Version:1.1.4322.573;

ASP.NET
Version:1.1.4322.573


Nov 17 '05 #3

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

Similar topics

4
by: Guinness Mann | last post by:
I'm working in VS2003.NET, with C#. I use app.config to store the connection string to my SQL Server. This works fine. Lately I've been taking work home where the connection string is...
3
by: Craig | last post by:
I've developed an single sign on web application that we'd like to use with all the applications we're developing. The application's connection string is stored in web.config. I've gotten some...
0
by: Søren Lund | last post by:
Hello, I have implemented a custom config section handler by implementing the IConfigurationSectionHandler interface. I have registered this handler in web.config and everything works fine ......
0
by: Adam Getchell | last post by:
I'm attempting to write a custom Authentication module using http://www.15seconds.com/Issue/020417.htm I looked at http://support.microsoft.com/default.aspx?scid=kb;EN-US;307996, but it doesn't...
4
by: Stuart Ferguson | last post by:
I was wondering if anyone could explain to me the differences between a standard XML file and the Web.Config file for storing application settings. Stuart *** Sent via Developersdex...
1
by: Robert | last post by:
I have a server where the main web application (root) is now migrated to 2.0. It's web.config has a line where it adds the system.data.oracleclient in the configuration and assembiles section. ...
6
by: Tabi | last post by:
Hi, I want to create a custom section in my web.config that can hold my custom values. I created a section in web.config as written below. <configSections> <section name="myCustomSection"...
2
by: Luke Dalessandro | last post by:
I have an application with the following layout /root/ /root/Default.aspx /root/web.config /root/child/ /root/child/web.config web.config has a custom configuration section "testSection"...
1
by: Wayne Sepega | last post by:
I have a web.config in the root of my website, in the web.config I have defined an HTTPModule that is to be loaded into any application under the website. Also defined in the web config is a custom...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.