PC Review


Reply
Thread Tools Rate Thread

configSections - .Net Bug - Please Help

 
 
Jaco De Villiers
Guest
Posts: n/a
 
      22nd Jul 2003
Hi,
I have added the following group and section:
<configSections>
<section name="sampleSection"

type="System.Configuration.SingleTagSectionHandler" />
<sectionGroup name="tilos.sdk">
<section name="tilos.data"
type="System.Configuration.NameValueSectionHandler,System"
/>
</sectionGroup>
</configSections>

<tilos.sdk>
<tilos.data>
<add key="Configured Environments"
value="EnvironmentList.aspx" />
</tilos.data>
</tilos.sdk>

When I debug my web application I get "Exception creating
section handler". It seems that the application does not
find the System.Dll (Standard Reference). All the paths
attempted are incorrect and does not include the framework
path. See Error detail below:


=== Pre-bind state information ===
LOG: DisplayName = System
(Partial)
LOG: Appbase = file:///C:/Source_Tilos_2_3/Tilos.SDK
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/Tempor
ary ASP.NET Files/tilos.sdk/a3c073d2/199faa55/System.DLL.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Tempor
ary ASP.NET
Files/tilos.sdk/a3c073d2/199faa55/System/System.DLL.
LOG: Attempting download of new URL
file:///C:/Source_Tilos_2_3/Tilos.SDK/bin/System.DLL.
LOG: Attempting download of new URL
file:///C:/Source_Tilos_2_3/Tilos.SDK/bin/System/System.DLL
..
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Tempor
ary ASP.NET Files/tilos.sdk/a3c073d2/199faa55/System.EXE.
LOG: Attempting download of new URL
file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Tempor
ary ASP.NET
Files/tilos.sdk/a3c073d2/199faa55/System/System.EXE.
LOG: Attempting download of new URL
file:///C:/Source_Tilos_2_3/Tilos.SDK/bin/System.EXE.
LOG: Attempting download of new URL
file:///C:/Source_Tilos_2_3/Tilos.SDK/bin/System/System.EXE
..



 
Reply With Quote
 
 
 
 
Richard Grimes [MVP]
Guest
Posts: n/a
 
      5th Sep 2003
You need to give the *complete* name of the system DLL. 'System' is just the
DOS file name part of it (the short name), you need to supply the version,
culture and public key token:

type="System.Configuration.NameValueSectionHandler, System,
Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />

Richard
--
my email (E-Mail Removed) is encrypted with ROT13 (www.rot13.org)


"Jaco De Villiers" <(E-Mail Removed)> wrote in message
news:04b501c35045$75d5feb0$(E-Mail Removed)...
> Hi,
> I have added the following group and section:
> <configSections>
> <section name="sampleSection"
>
> type="System.Configuration.SingleTagSectionHandler" />
> <sectionGroup name="tilos.sdk">
> <section name="tilos.data"
> type="System.Configuration.NameValueSectionHandler,System"
> />
> </sectionGroup>
> </configSections>
>
> <tilos.sdk>
> <tilos.data>
> <add key="Configured Environments"
> value="EnvironmentList.aspx" />
> </tilos.data>
> </tilos.sdk>
>
> When I debug my web application I get "Exception creating
> section handler". It seems that the application does not
> find the System.Dll (Standard Reference). All the paths
> attempted are incorrect and does not include the framework
> path. See Error detail below:
>
>
> === Pre-bind state information ===
> LOG: DisplayName = System
> (Partial)
> LOG: Appbase = file:///C:/Source_Tilos_2_3/Tilos.SDK
> 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/Tempor
> ary ASP.NET Files/tilos.sdk/a3c073d2/199faa55/System.DLL.
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Tempor
> ary ASP.NET
> Files/tilos.sdk/a3c073d2/199faa55/System/System.DLL.
> LOG: Attempting download of new URL
> file:///C:/Source_Tilos_2_3/Tilos.SDK/bin/System.DLL.
> LOG: Attempting download of new URL
> file:///C:/Source_Tilos_2_3/Tilos.SDK/bin/System/System.DLL
> .
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Tempor
> ary ASP.NET Files/tilos.sdk/a3c073d2/199faa55/System.EXE.
> LOG: Attempting download of new URL
> file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Tempor
> ary ASP.NET
> Files/tilos.sdk/a3c073d2/199faa55/System/System.EXE.
> LOG: Attempting download of new URL
> file:///C:/Source_Tilos_2_3/Tilos.SDK/bin/System.EXE.
> LOG: Attempting download of new URL
> file:///C:/Source_Tilos_2_3/Tilos.SDK/bin/System/System.EXE
> .
>
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
configSections MCM Microsoft Dot NET 3 25th Aug 2008 03:38 AM
configSections V Microsoft ASP .NET 6 19th Jun 2006 08:16 AM
error in configSections =?Utf-8?B?SmVmZnJleSBIb3JuYnk=?= Microsoft C# .NET 0 1st Jun 2006 12:47 AM
ConfigSections in ASP.Net 2.0 Stephen Woolhead Microsoft ASP .NET 3 15th Aug 2004 08:06 AM
configSections - .Net Bug - Please Help Jaco de Villiers Microsoft ASP .NET 1 6th Aug 2003 11:43 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:35 AM.